Forum Moderators: phranque

Message Too Old, No Replies

Which is Best - 301 Redirect or Mod-Rewrite?

To 301 Redirect or to Mod-Rewrite, that is my question.

         

Propools

8:34 pm on Sep 21, 2007 (gmt 0)

10+ Year Member



We are moving from static to dynamic pages. Pages will have different names and be in a totally different location, but on the same site. Change of hierarcy. I've asked some questions before and gotten answers, which I very much appreciate.

I'm down to this: Should I do a 301 redirect for my old pages to my new ones or do a Mod-Rewrite from the old page to the news one?

I know this was talked about in another thread from a while ago, but this particular question wasn't answered. If it was, please send me the thread. ;)

jtara

2:23 am on Sep 22, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Should I do a 301 redirect for my old pages to my new ones or do a Mod-Rewrite from the old page to the news one?

It's not an either/or choice. Mod-Rewrite can be used to implement a 301 redirect. It isn't an alternative to a 301 redirect. It can also do other things as well.

Yes, you should do a 301 redirect. That way, search engines will know that the content has moved to a new location.

Propools

4:09 pm on Sep 22, 2007 (gmt 0)

10+ Year Member



jtara

Thanks for the insight. How can a mod_rewrite implement a 301?

jtara

4:33 pm on Sep 22, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



How can a mod_rewrite implement a 301?

[R=301]

Propools

4:36 pm on Sep 22, 2007 (gmt 0)

10+ Year Member



Cool, thanks. ;)

Propools

3:52 pm on Sep 24, 2007 (gmt 0)

10+ Year Member



Here's what I'm thinking of doing. 301 the URL's. Some of the URL's in the 301 will have Cart stuff, etc. in them.

Regarding those "awkward" URL's, I can do a mod_rewrite for them so they will display cleaner........right?

Then throught the new robots file let the SE's discover URL's too.
Right Approach or Wrong Approach?