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
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-19-2011, 10:44 AM   #1
Mutt
Too lazy to set a custom title
 
Mutt's Avatar
 
Industry Role:
Join Date: Sep 2002
Posts: 34,431
301/302 Redirect Question

I'm overhauling an old TGP site, new CMS/script, same content, which means all the current URL's on this site that are in the search engines will be replaced with new URL's - from an SEO perspective what's the best way of handling this to minimize SEO losses?

thanks
__________________
I moved my sites to Vacares Hosting. I've saved money, my hair is thicker, lost some weight too! Thanks Sly!
Mutt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-19-2011, 03:24 PM   #2
Tempest
Too lazy to set a custom title
 
Industry Role:
Join Date: May 2004
Location: West Coast, Canada.
Posts: 10,217
I typically end up using something like this.

Code:
RedirectMatch permanent ^/somepath/(.+) http://www.domain.com/newpath/$1
Tempest is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-19-2011, 03:47 PM   #3
Barry-xlovecam
It's 42
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
Quote:
Originally Posted by Tempest View Post
I typically end up using something like this.

Code:
RedirectMatch permanent ^/somepath/(.+) http://www.domain.com/newpath/$1
+1
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-19-2011, 03:50 PM   #4
AzteK
Confirmed User
 
AzteK's Avatar
 
Industry Role:
Join Date: Feb 2001
Location: Northern Cali, USA
Posts: 3,439
Quote:
Originally Posted by Tempest View Post
I typically end up using something like this.

Code:
RedirectMatch permanent ^/somepath/(.+) http://www.domain.com/newpath/$1
you don't need?

redirectMatch 301 ^/somepath/(.+) http://www.domain.com/newpath/$1
__________________
WANTED: Buying Blog Posts and Links
AzteK is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-19-2011, 04:03 PM   #5
raymor
Confirmed User
 
Join Date: Oct 2002
Posts: 3,745
seomoz says to use a 301 permanent, not a 302 temporary:

http://www.seomoz.org/learn-seo/redirection

That's handy because as I understand it, yours really is a permanent change and in general it's best to actually follow that standards, for various reasons.

Last edited by raymor; 11-19-2011 at 04:04 PM..
raymor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-19-2011, 04:12 PM   #6
Mutt
Too lazy to set a custom title
 
Mutt's Avatar
 
Industry Role:
Join Date: Sep 2002
Posts: 34,431
Quote:
Originally Posted by Tempest View Post
I typically end up using something like this.

Code:
RedirectMatch permanent ^/somepath/(.+) http://www.domain.com/newpath/$1
not to sound dumber than I am but what goes in where it says '/somepath/' ?

i'm using the same domain, all old gallery URL's will be gone, so want all the old gallery URL's that are in search engines to just redirect to the main page of the domain.
__________________
I moved my sites to Vacares Hosting. I've saved money, my hair is thicker, lost some weight too! Thanks Sly!
Mutt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-19-2011, 04:18 PM   #7
stocktrader23
Let's do some business.
 
stocktrader23's Avatar
 
Industry Role:
Join Date: Jan 2003
Location: The dirty south.
Posts: 18,781
Quote:
Originally Posted by Mutt View Post
not to sound dumber than I am but what goes in where it says '/somepath/' ?

i'm using the same domain, all old gallery URL's will be gone, so want all the old gallery URL's that are in search engines to just redirect to the main page of the domain.
Well that one is easy but you really don't want to do that if you are trying to keep your SE listings. They should redirect to the new url for the old content.
__________________


Hands Free Adult - Join Once, Earn For Life

"I try to make a habit of bouncing my eyes up to the face of a beautiful woman, and often repeat “not mine” in my head or even verbally. She’s not mine. God has her set aside. She’s not mine. She’s His little girl, and she needs me to fight for her by keeping my eyes where they should be."
stocktrader23 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-19-2011, 04:19 PM   #8
Mutt
Too lazy to set a custom title
 
Mutt's Avatar
 
Industry Role:
Join Date: Sep 2002
Posts: 34,431
Quote:
Originally Posted by Tempest View Post
I typically end up using something like this.

Code:
RedirectMatch permanent ^/somepath/(.+) http://www.domain.com/newpath/$1
RedirectMatch 301 /seo/(.*) http://www.seomoz.org/$1

what's the '^' for in yours?
__________________
I moved my sites to Vacares Hosting. I've saved money, my hair is thicker, lost some weight too! Thanks Sly!
Mutt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-19-2011, 05:19 PM   #9
Tempest
Too lazy to set a custom title
 
Industry Role:
Join Date: May 2004
Location: West Coast, Canada.
Posts: 10,217
Quote:
Originally Posted by Mutt View Post
not to sound dumber than I am but what goes in where it says '/somepath/' ?
Code:
RedirectMatch permanent ^/?galleries/(.+) http://www.domain.com/newgalleries/$1

OR something like this

RedirectMatch permanent ^/?galleries/gal01.html http://www.domain.com/newgalleries/gal01/
RedirectMatch permanent ^/?galleries/gal02.html http://www.domain.com/newgalleries/gal02/

Quote:
Originally Posted by Mutt View Post
i'm using the same domain, all old gallery URL's will be gone, so want all the old gallery URL's that are in search engines to just redirect to the main page of the domain.
Eh? That's not what you asked for.. So are the pages still going to exist or are they gone for good? If you just want to redirect to the main page, I'd just do it as a 404. Maybe you could do a redirect to pass on any link juice that were going to the galleries, might be worth it.. On the other hand you might also transfer the anchor text which might not be good for the main page.. Once the SEs figure out that those pages no longer exist, they might just discount all those links anyway. IMO it would be better to just 404 them if you're just wanting to get rid of them.
Tempest is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-19-2011, 05:21 PM   #10
Tempest
Too lazy to set a custom title
 
Industry Role:
Join Date: May 2004
Location: West Coast, Canada.
Posts: 10,217
Quote:
Originally Posted by Mutt View Post
RedirectMatch 301 /seo/(.*) http://www.seomoz.org/$1

what's the '^' for in yours?
^ = "match at the start" i.e. match if the requested page/page starts with (in this case) "/"

Depending on your server setup, the paths/pages might or might not start with the "/"

So I usually do it like this (which I missed in my first post)

RedirectMatch permanent ^/?galleries/.........

The ? means that the "/" may or may not be there.
Tempest is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-19-2011, 05:27 PM   #11
Mutt
Too lazy to set a custom title
 
Mutt's Avatar
 
Industry Role:
Join Date: Sep 2002
Posts: 34,431
Quote:
Originally Posted by Tempest View Post
Code:
RedirectMatch permanent ^/?galleries/(.+) http://www.domain.com/newgalleries/$1

OR something like this

RedirectMatch permanent ^/?galleries/gal01.html http://www.domain.com/newgalleries/gal01/
RedirectMatch permanent ^/?galleries/gal02.html http://www.domain.com/newgalleries/gal02/



Eh? That's not what you asked for.. So are the pages still going to exist or are they gone for good? If you just want to redirect to the main page, I'd just do it as a 404. Maybe you could do a redirect to pass on any link juice that were going to the galleries, might be worth it.. On the other hand you might also transfer the anchor text which might not be good for the main page.. Once the SEs figure out that those pages no longer exist, they might just discount all those links anyway. IMO it would be better to just 404 them if you're just wanting to get rid of them.
they will be gone for good on the www.domain.com - what i was thinking is could i change my DNS so that what's on www.domain.com now appears on old.domain.com and i install my new CMS on www.domain.com - redirect all the old galleries with 301 to old.domain.com ?
__________________
I moved my sites to Vacares Hosting. I've saved money, my hair is thicker, lost some weight too! Thanks Sly!
Mutt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-19-2011, 05:38 PM   #12
Tempest
Too lazy to set a custom title
 
Industry Role:
Join Date: May 2004
Location: West Coast, Canada.
Posts: 10,217
Quote:
Originally Posted by Mutt View Post
they will be gone for good on the www.domain.com - what i was thinking is could i change my DNS so that what's on www.domain.com now appears on old.domain.com and i install my new CMS on www.domain.com - redirect all the old galleries with 301 to old.domain.com ?
IMO you're over thinking this... If a page(gallery) is being moved to a new location, then do a redirect... If it's being blown away for good, let it 404 and have your 404 go to the index page or some landing page... I wouldn't redirect to the main page... If you really want to do a redirect, do it to some landing page instead so you could then "filter" the traffic to some other location on your site.
Tempest is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-19-2011, 06:21 PM   #13
woj
<&(©¿©)&>
 
woj's Avatar
 
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
use 301, and I would get a professional to set it up, one wrong character in the redirect code and it could completely destroy your search engine rankings...

hit me up if you need a hand with it....
__________________
Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000
Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager
Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager
woj 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



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.