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 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. 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 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 Link to comment https://forums.phpfreaks.com/topic/133530-changin-urls/#findComment-694532 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.