Mod_rewrite Troubles

Ricky

Registered
I really hope someone can help me with this. I'm using SPGM to generate thousands of pages for a CD product and I need help with having Apache rewrite the URLs that it generates so they can be saved back using PageSucker.

Here is the .htaccess file I'm using...
Code:
RewriteEngine on

# Rule for http://localhost/kitty_roach2/index.php?spgmFilters=
RewriteRule ^animations/ index.php?spgmFilters= [NC,L]
# Rule for http://localhost/kitty_roach2/index.php?spgmGal=angels&spgmFilters=
RewriteRule ^animations/([0-9a-zA-Z_\-/]+)/ index.php?spgmGal=$1&spgmFilters= [NC,L]
# Rule for http://localhost/kitty_roach2/index.php?spgmGal=children/activities&spgmPage=2&spgmFilters=
RewriteRule ^animations/([0-9a-zA-Z_\-/]+)/([0-9]+).html index.php?spgmGal=$1&spgmPage=$2&spgmFilters= [NC,L]
# Rule for http://localhost/kitty_roach2/index.php?spgmGal=children/activities&spgmPic=31&spgmFilters=#pic
RewriteRule ^animations/([0-9a-zA-Z_\-/]+)/([0-9]+).html#pic index.php?spgmGal=$1&spgmPic=$2&spgmFilters=#pic [NC,L]
Please help!
 
Back
Top