Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 784527
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T20:43:39+00:00 2026-05-14T20:43:39+00:00

I need to setup 301 redirects for my old URL’s which have quiet high

  • 0

I need to setup 301 redirects for my old URL’s which have quiet high PR’s.

Indexed URL’s are in this format:

www.mysite.com/search/find?category[id]=7-Farming

and want to redirect them, using 301, to:

www.mysite.com/categories/find/farming

In the 1st URL 7 is the id of the farming category, in the 2nd URL “farming” is a permalink.

I think I need to parse the id from the first URL, lookup using AR the farming category to get its permalink then redirect somehow…..just not really sure what the best / cleanest way to do this is.

Any advice would be very much appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T20:43:40+00:00Added an answer on May 14, 2026 at 8:43 pm

    When you make a redirect_to in a controller it sends a 301 to the user browsers.

    Just do as you said, grab the category and use a redirect_to.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to setup hundreds of short redirect URLs which follow this format: http://mysite.com/shorturl
I need to setup some 301 permanent redirects in the web.config of an ASP.NET
Any suggestions, I have about 300 pages which need to be setup with a
I need to setup ActiveMQ with MySQL which i follow this article http://note19.com/2007/06/23/configure-activemq-with-mysql/ I
I need to setup a custom action within WiX 3.0. I have the following
I have an ANT build that I need to setup so on deployment of
I usually work with PHP but need to setup this JSP with a server
This is a quicky, what do I need to setup a different timzone in
I need to setup LookAndFeel Files in JDK 1.6. I have two files: napkinlaf-swingset2.jar
I need to setup an Apache 2 server with SSL. I have my *.key

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.