artgirl
06 Dec 2010, 12:49 PM
So I have a website that I am hosting with godaddy linux shared. I want to make my url SEO friendly but I have tried many ways in the .htaccess (using mod_rewrite) with no result.
I want an url like this:
http://www.mydomain.com/details.php?title=example&itemID=1
to look like:
http://www.mydomain.com/details/example/itemID/108
My .htaccess code looks like this:
Options +FollowSymLinks -MultiViews
RewriteEngine On
RewriteRule details/itemID/(.*)/ details.php?itemID=$1
Any ideas?
I want an url like this:
http://www.mydomain.com/details.php?title=example&itemID=1
to look like:
http://www.mydomain.com/details/example/itemID/108
My .htaccess code looks like this:
Options +FollowSymLinks -MultiViews
RewriteEngine On
RewriteRule details/itemID/(.*)/ details.php?itemID=$1
Any ideas?