Forum Moderators: phranque

Message Too Old, No Replies

301 Redirect help

Help me figure out this rewrite rule

         

alexelisenko

8:28 pm on Feb 22, 2010 (gmt 0)

10+ Year Member



Hi all!

I have a rewrite rule I need to impliment in .htaccess and I was hoping to get some help getting it right.

I have rewrite rules setup for one of my pages as so:

Article-xx -> articles.php?id=xx

I want to permenantly change the url for Article to Read

I know I need a 301 redirect but how can I do so if I already have a rule in place?

I just want to make sure that all my old links will still work.

Thanks.

g1smd

8:55 pm on Feb 22, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



There have been several threads posted to in the last week with a lot of information on this topic, including one today.

The whole three-step process has also been described in detail in several of those threads.

alexelisenko

10:02 pm on Feb 22, 2010 (gmt 0)

10+ Year Member



could you point me to the thread with this info?

Thanks.

jdMorgan

3:07 am on Feb 23, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Redirect requests for URL "article-xx" to URL "read-xx".

Change your internal rewrite so that it rewrites requests for URL "read-xx" to filepath/query /articles.php?id=xx.

Jim