aircooled57 Posted November 20, 2008 Share Posted November 20, 2008 hey everyone i would like to know how this effect is implemented say for example i have a site www.yoursite.com and i have the page links.php the url would be www.yoursite.com/links.php how would u change it so that it appeared as www.yoursite.com/links Quote Link to comment https://forums.phpfreaks.com/topic/133530-changin-urls/ Share on other sites More sharing options...
premiso Posted November 20, 2008 Share Posted November 20, 2008 mod_rewrite using .htaccess Do a google on mod_rewrite for examples and usage. Quote Link to comment https://forums.phpfreaks.com/topic/133530-changin-urls/#findComment-694526 Share on other sites More sharing options...
rhodesa Posted November 20, 2008 Share Posted November 20, 2008 most common way is the apache module mod_rewrite. there is a whole forum here on that: http://www.phpfreaks.com/forums/index.php/board,50.0.html Quote Link to comment https://forums.phpfreaks.com/topic/133530-changin-urls/#findComment-694527 Share on other sites More sharing options...
gevans Posted November 20, 2008 Share Posted November 20, 2008 You need to use a htaccess file Options +FollowSymLinks RewriteEngine On RewriteRule ^links$ links.php If you've never used htaccess files try the following link http://www.askapache.com/htaccess/apache-htaccess.html Quote Link to comment https://forums.phpfreaks.com/topic/133530-changin-urls/#findComment-694532 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.