anyone good with robots.txt

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xanx
    Confirmed User
    • Apr 2002
    • 3711

    #1

    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
    Too lazy to set a custom title
    • Mar 2002
    • 17393

    #2
    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.

    Comment

    Working...