vikaspa Posted December 9, 2013 Share Posted December 9, 2013 Dear All Can I display display url http://www.mywebsite.com/abcd.php?id=1 as http://www.mywebsite.com/abcd.php/1 or http://www.mywebsite.com/contact.php as http://www.mywebsite.com/contact pls help Link to comment https://forums.phpfreaks.com/topic/284659-display-url-abcdphpid1-as-abcdphp1/ Share on other sites More sharing options...
MDCode Posted December 9, 2013 Share Posted December 9, 2013 Yes, using apache. Link to comment https://forums.phpfreaks.com/topic/284659-display-url-abcdphpid1-as-abcdphp1/#findComment-1461821 Share on other sites More sharing options...
Ch0cu3r Posted December 9, 2013 Share Posted December 9, 2013 Yes, using apache. with mod_rewite module. Link to comment https://forums.phpfreaks.com/topic/284659-display-url-abcdphpid1-as-abcdphp1/#findComment-1461824 Share on other sites More sharing options...
jack2119 Posted December 9, 2013 Share Posted December 9, 2013 Hi, I have used the following code on a .htaccess file and it seems to do the trick for me: RewriteEngine On RewriteRule ^index$ index.php [NC,L] Hope this helps, Jack Link to comment https://forums.phpfreaks.com/topic/284659-display-url-abcdphpid1-as-abcdphp1/#findComment-1461881 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.