![]() |
mod_rewrite help needed
what is the lines that i have to use so the next url /a/b/c.html to be /x.php?id1=a&id2=b&id=c ??
also, where i have to add the mod_rewrite lines? in .httacces or in httpd.conf? thanks |
RewriteEngine On
RewriteRule /(a)/(b)/(c).html$ /x.php?id1=$1&id2=$2&id3=$3 [L] This can be either in .htaccess if your httpd.conf is setup to recognize it. If not, then you'll have to put this in your httpd.conf file somewhere. |
All times are GMT -7. The time now is 11:44 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123