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)
-   -   anyone good with robots.txt (https://gfy.com/showthread.php?t=860456)

xanx 10-08-2008 09:56 AM

anyone good with robots.txt
 
I want to strip out the session part of the url then 301 redirect it to the no session URL, for example

I have:

Code:

/gallery/browseimages.php?c=81&userid=
I need to tell robots somehow to drop that last portion

Code:

&userid=
and just index

Code:

/gallery/browseimages.php?c=81
Is this even possible?

rowan 10-08-2008 11:16 AM

I don't think it's possible to tell a crawler to rewrite URLs it's fetching, but 301'ing to the URL you want should work.

BTW does userid=affiliateid? If so you might want to carefully consider the ramifications of profiting from their SEO. :2 cents:


All times are GMT -7. The time now is 11:25 PM.

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