yami007 Posted March 4, 2009 Share Posted March 4, 2009 i got 2 files on my website on the subdirectory /cheers here's the .htaccess <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / rewriterule ^yamis/([^-]+)-([^&]+)\.shtml$ /yami.php?did=$1&nam=$2 [L] </IfModule> when i get to the normal php link it's normal but when i get to the rewrited link cheers/yamis/7-roro.shtml it gets me an error which i dont understand The requested URL /yami.php was not found on this server. anyone to help please Quote Link to comment https://forums.phpfreaks.com/topic/147897-htaccess-rewriterule-function-problem/ 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.