yosii Posted December 18, 2010 Share Posted December 18, 2010 hi i have this code RewriteEngine on RewriteRule (.*)/(.*) pages.php?act=$1&page=$2 i just want that if i open this www.xxx.com/111/222 i want that $act =111 $page =222 that work good , but i have problem i have image to this site www.xxx.com/images and that folder don't work how can i do that the folder images will not be in the .htaccess thank! Link to comment https://forums.phpfreaks.com/topic/222099-help-with-htaccess-please/ Share on other sites More sharing options...
strago Posted January 22, 2011 Share Posted January 22, 2011 You need something unique in the URL, like domain.com/pages/ Options +FollowSymLinks +Indexes RewriteEngine on RewriteBase / RewriteRule ^pages/([^.]+)/([^.]+)$ pages.php?act=$1&page=$2 Link to comment https://forums.phpfreaks.com/topic/222099-help-with-htaccess-please/#findComment-1163461 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.