Forum Moderators: phranque

Message Too Old, No Replies

Changing URLs today

It is the big day

         

ganderla

3:44 pm on Dec 16, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I am ready to change my URL today, the new site is set up and ready. I need to do a perm 301, but all the files are .html now and were .shtml

So if someone goes to www.myoldsite.com/neat_file.shtml

with this in my .htaccess on my old site

RewriteEngine On
RewriteRule .* ht*tp://www.mynewsite.com/ [R=301,L]
(star only there for linking)

the should be redirected to *http://www.mynewsite.com

Have I covered everything?
Thank you

ganderla

4:12 pm on Dec 16, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Or, I could set up a perm 301 on each page of the old site to correspond to the new site. Would this be better?

ganderla

5:39 pm on Dec 16, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



bump, anyone?

nakulgoyal

5:46 am on Dec 20, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I think it should work!

ganderla

6:54 am on Dec 20, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thank you, it seems to be working fine, except I want the SE's to find me and index me faster.

closed

3:27 am on Dec 22, 2003 (gmt 0)

10+ Year Member



If the only difference between the pages in your old site and your new site is the use of a different file extension, this would probably work better for you:

RewriteEngine On
RewriteRule (.*)\.shtml$ ht*tp://www.mynewsite.com/$1.html [R=301,L]

That way, they're redirected to the equivalent page on the new site instead of being dropped off at your new site's main page.

If you want the robots to find you faster, you should work on getting links to your new site.

ganderla

3:50 am on Dec 22, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thank you, I have gotten quite a few PR5&6 links already to the new site. It should not be too long.

ganderla

3:58 am on Dec 22, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks again Closed,

I just made the change to my htaccess and it words great!

closed

4:05 am on Dec 22, 2003 (gmt 0)

10+ Year Member



You're welcome, ganderla. Glad it worked!

ganderla

6:49 pm on Jan 14, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks all for the advise, GBot has already indexed my entire site and I did not lose any positions in the SERPS, I gained a few. I think I heard somewhere that ink bot does not follow 301's though.