beboo002 Posted September 21, 2007 Share Posted September 21, 2007 hello all how to make new rule in url rewrite http://localhost/outsourcing/index.php to http://outsourcing and http://localhost/outsourcing/index.php?sub_cat_id=94 to http://outsourcing/animation and plz send link of website for best urlrewrite tutorial Quote Link to comment https://forums.phpfreaks.com/topic/70140-url-rewrite/ Share on other sites More sharing options...
marcus Posted September 21, 2007 Share Posted September 21, 2007 That would be modrewrite. .htaccess RewriteEngine On RewriteRule ^outsourcing/index.php?sub_cat_id=94$ outsourcing/animation suttin along those lines. Quote Link to comment https://forums.phpfreaks.com/topic/70140-url-rewrite/#findComment-352257 Share on other sites More sharing options...
beboo002 Posted September 21, 2007 Author Share Posted September 21, 2007 thanks for reply its not working Options +FollowSymLinks RewriteEngine on RewriteRule ^outsourcing/index.php?sub_cat_id=94$ outsourcing/animation also use this RedirectMatch permanent ^outsourcing/index.php?sub_cat_id=94$ outsourcing/animation but both are not working Quote Link to comment https://forums.phpfreaks.com/topic/70140-url-rewrite/#findComment-352269 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.