prakash Posted June 25, 2007 Share Posted June 25, 2007 I have following code in my .htaccess for SEF URLs for www.fashionsansar.com so please let me know is this correct. Options FollowSymLinks SymLinksIfOwnerMatch RewriteEngine on ################################################################################################# ## Rewrite index urls ################################################################################################# RewriteRule index-([0-9]*)\.html$ index.php?page$1 [NC] ################################################################################################# ## Rewrite image_view urls ################################################################################################# RewriteRule fas_fusk/image_view([0-9]*)\.html fas_fusk/image_view.php?id=$1 [NC] ################################################################################################# ## Rewrite tag_search urls ################################################################################################# RewriteRule fas_fusk/tag_search([0-9]*)-page-([0-9]*)\.html fas_fusk/tag_search.php?q=$1&page=$2 [NC] but it's not working. .htaccess SEF URLs is already running without any problem on another website on same host. Link to comment https://forums.phpfreaks.com/topic/57086-is-this-correct/ Share on other sites More sharing options...
hackerkts Posted June 30, 2007 Share Posted June 30, 2007 Try this, .htaccess RewriteEngine on RewriteRule ^index-([0-9]+).html index.php?page=$1 RewriteRule ^fas_fusk/image_view([0-9]+).html fas_fusk/image_view.php?id=$1 RewriteRule ^fas_fusk/tag_search([0-9]+)-page-([0-9]+).html fas_fusk/tag_search.php?q=$1&page=$2 Link to comment https://forums.phpfreaks.com/topic/57086-is-this-correct/#findComment-286455 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.