Jump to content

.htaccess rewriterule function problem


yami007

Recommended Posts

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

 

Link to comment
https://forums.phpfreaks.com/topic/147897-htaccess-rewriterule-function-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.