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 02-22-2013, 04:37 PM   #1
bean-aid
So Fucking Banned
 
Industry Role:
Join Date: Jun 2011
Location: the land of woke sleuths
Posts: 16,493
Anyone know how to do this redirect?

I have redirected a bunch of pages with success using this in htaccess:

RewriteEngine on
RewriteRule ^index.php/Section_([0-9]{3,4})$ http://www.website.com/section-$1/ [l]

However, most of indexed pages in the SE's are

http://www.website.com/?title=Section_109 (not just /Section_109)

and need the above URL to go to

http://www.website.com/section_109 as well.

Any ideas?
bean-aid is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-22-2013, 11:47 PM   #2
mechanicvirus
Confirmed User
 
mechanicvirus's Avatar
 
Industry Role:
Join Date: Feb 2005
Location: Southern California
Posts: 3,797
I think PBBC's programmer may be able to help you out.
mechanicvirus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-22-2013, 11:53 PM   #3
icymelon
Confirmed User
 
Industry Role:
Join Date: Dec 2007
Location: Las Vegas
Posts: 3,220
do301 passes link juice
__________________
Network Of Adult Blogs With Hardlink Rentals Available
icymelon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-22-2013, 11:57 PM   #4
bean-aid
So Fucking Banned
 
Industry Role:
Join Date: Jun 2011
Location: the land of woke sleuths
Posts: 16,493
Quote:
Originally Posted by mechanicvirus View Post
I think PBBC's programmer may be able to help you out.
Got it taken care of

What was happening was I had about 1K pages indexed all displaying the home page on this site. I've seen it happen before the site gets removed from the SE's if the home page is thought to duplicate, especially that many times. As quickly as 24 hours.

But host took care of the redirect in 2 hours... all good.

It was:

#RewriteRule ^/?title=/(.*) /$1 [L] to remove the ?title= from the URL's which then allowed the other redirect to work.
bean-aid is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-23-2013, 12:58 AM   #5
borked
Totally Borked
 
borked's Avatar
 
Industry Role:
Join Date: Feb 2005
Posts: 6,284
Make sure you use [L,R=301] to indicate a permanent rediret or the SEs wont update their index and penalise you for duplicate content :2cents
__________________

For coding work - hit me up on andy // borkedcoder // com
(consider figuring out the email as test #1)



All models are wrong, but some are useful. George E.P. Box. p202
borked 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.