adrian28uk Posted April 24, 2007 Share Posted April 24, 2007 I am trying to the following. When a user enters http://www.gnulinux.co.uk/news I would like it to take the user to http://www.gnulinux.co.uk/news.php RewriteEngine On Options +FollowSymlinks RewriteBase /news/ RewriteRule /http://www.gnulinux.co.uk/news.php I nearly getting it. Once I know how to do this I can apply it to other things. Link to comment https://forums.phpfreaks.com/topic/48479-mod-rewrite-help/ Share on other sites More sharing options...
veridicus Posted April 24, 2007 Share Posted April 24, 2007 You should be able to... RewriteBase / RewriteRule ^/news$ news.php (or something like that) from the base directory of your site. Link to comment https://forums.phpfreaks.com/topic/48479-mod-rewrite-help/#findComment-237108 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.