springo Posted January 17, 2010 Share Posted January 17, 2010 Hi, I have made the following .htaccess code to rewrites links from ./whatever to ./index.php?p=whatever RewriteEngine On RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d RewriteRule (.*) index.php?p=$1 [QSA,L] (it's all there is in the .htaccess file) It's working on my computer (on XAMPP) but when I upload it to the server it doesn't. Do you know what could be the problem? Thanks. Link to comment https://forums.phpfreaks.com/topic/188805-mod_rewrite-not-working/ Share on other sites More sharing options...
wildteen88 Posted January 17, 2010 Share Posted January 17, 2010 Does your host allow mod_rewrite or the use of .htaccess files? You'll want to contact with your host about this. Link to comment https://forums.phpfreaks.com/topic/188805-mod_rewrite-not-working/#findComment-996783 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.