rishibala143 Posted December 3, 2010 Share Posted December 3, 2010 Hi I am new to php. I gone through Mod_Rewrite, everything works good but i have a doubt. By clicking the hyperlink the url is not changing My Original Url http://www.somesite.com/widgets.php?colour=blue After Mod-rewrite http://www.somesite.com/widgets/blue/ If i copy this and paste in address bar it works good. <a href="http://www.somesite.com/widgets.php?colour=blue">click here</a> But when i click this link : ( http://www.somesite.com/widgets.php?colour=blue ) this link only shown in the address bar. But i want this ( http://www.somesite.com/widgets/blue/) link to be shown in address bar. Should i want to change all the hyperlink to seo friendly or it will be automatically converted ? Please help !!! Quote Link to comment https://forums.phpfreaks.com/topic/220554-mod_rewrite-clicking-the-hyperlink-the-url-is-not-changing/ Share on other sites More sharing options...
trq Posted December 3, 2010 Share Posted December 3, 2010 Should i want to change all the hyperlink to seo friendly or it will be automatically converted ? You need to change the links yourself. mod_rewrite is only there to handle the new links, it doesn't convert anything. Quote Link to comment https://forums.phpfreaks.com/topic/220554-mod_rewrite-clicking-the-hyperlink-the-url-is-not-changing/#findComment-1142572 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.