PhotoPost mod_rewrite question

Discussion in 'vBulletin' started by Golfboards, Jul 23, 2006.

  1. #1
    Hi all,

    I have a question regarding PhotoPost for vBulletin that I'd appreciate any feedback on. I've tried for hours to get mod_rewrite working to get spider friendly URL's and I just can't get it working... I used what I thought to be the correct mod_rewrite code, that didn't work.. then I used an online mod_rewrite generator, that didn't work.. so: can anyone please tell me how I would rewrite these URLs? I realize that PhotoPost (photopost.com) has built-in spider friendly URLs but they aren't really "friendly". What I am looking for is a rewrite for:

    http://www.sitename.com/forums/photopost/showphoto.php?photo=1187&limit=recent

    http://www.sitename.com/forums/photopost/showgallery.php?cat=502

    Preferably I'd even like to be able to replace that 502 in the URL above with the actual name of the category. Can that be done in .htaccess as well? Any help is appreciated! If you need more information I'd be happy to provide. Usually I just google these things and get the answers/help I need but this time I'm coming up short. Thanks in advance!
     
    Golfboards, Jul 23, 2006 IP
  2. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #2
    What do you want the new URLs to look like?
     
    Nintendo, Jul 24, 2006 IP
  3. Golfboards

    Golfboards Peon

    Messages:
    122
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Anything is better than the way it is now, but something like this should work:

    http://www.sitename.com/forums/photopost/photo362.html
    http://www.sitename.com/forums/photopost/gallery502.html

    Ideally I'd like to be able to convert that 362 and 502 into the actual names of the galleries and photos but that's a question for the PhotoPost people because I can't get their variables to pass on anywhere... so for now something like above would be most helpful. Thanks!
     
    Golfboards, Jul 24, 2006 IP
  4. Golfboards

    Golfboards Peon

    Messages:
    122
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Got it all figured out, thanks!
     
    Golfboards, Jul 29, 2006 IP
  5. ramprage

    ramprage Guest

    Messages:
    204
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hey please let me know, I want to do that on my forums as well
     
    ramprage, Aug 1, 2006 IP
  6. Golfboards

    Golfboards Peon

    Messages:
    122
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I think I PM'd you about this but I'm not sure so I'll reply here as well. It was a real mess, had to re-code a TON of stuff to make it work. In retrospect, the man hours it took to do it probably aren't worth the end result...but time will tell once Google picks up the new pages, we'll see what happens.
     
    Golfboards, Aug 10, 2006 IP