Dani

Could you look into this if you had time, probably would not take that long for you.

For the higher level URL's to get into the gallery system, I have this in my .htaccess:

RewriteEngine On

RewriteRule ^index.html index.php [L,NC]
RewriteRule ^rantgirl([0-9]+).html$ index.php?rgom=$1 [L,NC]
RewriteRule ^rgom([0-9]+)-(.*).html$ browseimages.php?c=$1 [L,NC]

I am trying to mod_rewrite the indivudual pictures for each gallery. If i had the following URL's, how could I mod_rewrite them

http://www.sportsrant.com/gallery/showimage.php?i=1399&c=46

it is based off of the i=#### and the &c=##. the I being the picture number and the C valure being the album number.

I have donated to this site before and will do it again if you can help me out (even if You cannot figure this one out :cheesy: )

Regards,
Mike
Sportsrant.com

would something like this be even close:

RewriteRule ^showimage-([1-9][0-9]*)-rgom-([1-9][0-9]*).html  showimage.php?i=$1&c=$2

acutally i think that I am getting somewhere:

RewriteRule ^image([0-9]*)-rantgirl([0-9]*).html  showimage.php?i=$1&c=$2 [L,NC]

This URL works for it, i just want to make sure that I am getting somewhere

http://www.sportsrant.com/gallery/image1453-rantgirl44.html

Dani do you see any problems with that code so far

Mike

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.