Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 11-13-2009, 04:56 AM   #1
'mo
Confirmed User
 
'mo's Avatar
 
Join Date: Sep 2009
Posts: 356
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?
'mo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-13-2009, 05:55 AM   #2
Vick!
Confirmed User
 
Industry Role:
Join Date: Nov 2005
Location: 20 00'24.00" N, 75 09'00.00 W
Posts: 6,882
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.
__________________
Affordable Quality Web Hosting
Vick! is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-13-2009, 05:57 AM   #3
Vick!
Confirmed User
 
Industry Role:
Join Date: Nov 2005
Location: 20 00'24.00" N, 75 09'00.00 W
Posts: 6,882
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.
__________________
Affordable Quality Web Hosting
Vick! is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-13-2009, 01:08 PM   #4
'mo
Confirmed User
 
'mo's Avatar
 
Join Date: Sep 2009
Posts: 356
Thanks Vick!
'mo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.