GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Oh oh.. I wanna ask a business question.... 301 (https://gfy.com/showthread.php?t=938367)

'mo 11-13-2009 04:56 AM

Oh oh.. I wanna ask a business question.... 301
 
301 redirects...

I am moving a site over from an old CMS to a new one, all the links have new URLS. I am going to have to redirect on a page by page basis. Is 301 my best way to go? I want to do a .htaccess redirect on them, whats the proper code to do that for a page by page basis?

Vick! 11-13-2009 05:55 AM

yeah, 301 is the best way to do.

If you want to go by page by page basis, you can use this code:

Code:

redirect 301 /old/old123.html http://www.domain.com/new321.htm
Please note that old path is relative, and the new path is absolute.

Vick! 11-13-2009 05:57 AM

You should also make a 404 page with search box or something like sitemap, in case surfer lands on a page which isn't found.

'mo 11-13-2009 01:08 PM

Thanks Vick!


All times are GMT -7. The time now is 04:23 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123