Welcome to WebmasterWorld Guest from 34.204.173.45

Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

301 and Google - all in .htaccess or per page?

     
3:47 pm on Feb 15, 2008 (gmt 0)

Junior Member

10+ Year Member

joined:Oct 16, 2007
posts:53
votes: 0


Is it wiser to manually inscribe in the .HTAccess all the no longer used URLs OR is it ok to place a 301 per page?
3:59 pm on Feb 15, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
posts:37301
votes: 0


A lot will depend on how many pages you "retire" on a regular basis. I think the key understanding is that a 301 should point to a true replacement page, and not to the home page or some generic top level page.

I don't recommend trying to hold on tight to every removed url. Just let the url return a 404, unless you've had a lot of search traffic and/or backlinks for that url. And if that's the case - why change the url at all? Why not rewrite the content and use the same url if something has changed.

4:06 pm on Feb 15, 2008 (gmt 0)

Junior Member

10+ Year Member

joined:Oct 16, 2007
posts:53
votes: 0


We are changing from php (with cms) to a HTML site .....
4:07 pm on Feb 15, 2008 (gmt 0)

Junior Member

10+ Year Member

joined:Oct 16, 2007
posts:53
votes: 0


sorry the other way ... from a static html to a php site with cms which generates static hmtl pages
4:15 pm on Feb 15, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:May 26, 2000
posts:37301
votes: 0


You can keep the html extension and just parse the files with an html extension as php [webmasterworld.com]. It's much better not to change urls at all
4:19 pm on Feb 15, 2008 (gmt 0)

Junior Member

10+ Year Member

joined:Oct 16, 2007
posts:53
votes: 0


Very good idea !