I am trying to rewrite some dynamic url's for a site that I manage because the url that gets generated looks something like this:
index.php?page=rhinovations&content=Slideshow&type=bathroom&view=slide&album=2
and below is my mod rewrite statements in the .htaccess file:
But for whatever reason it's not rewriting the url. I have checked the server logs and don't see any error message that would indicate a problem. The page still displays as if the rewrite is not happening.
Any ideas on what the issue might be? Any help would be greatly appreciated!!
Thank you,
Paul
index.php?page=rhinovations&content=Slideshow&type=bathroom&view=slide&album=2
and below is my mod rewrite statements in the .htaccess file:
Code:
Options +FollowSymLinks
RewriteEngine on
RewriteRule .+\.(js|css|gif|jpe?g|bmp)$ - [NC,L]
RewriteRule ([^/]+)/([^/]+)/([^/]+)/([^/]+)(?:/(.+))? /index.php?page=$1&content=$2&type=$3&view=$4&album=$5 [L]
But for whatever reason it's not rewriting the url. I have checked the server logs and don't see any error message that would indicate a problem. The page still displays as if the rewrite is not happening.
Any ideas on what the issue might be? Any help would be greatly appreciated!!
Thank you,
Paul