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. Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.