Forum Moderators: coopster
url/detail-6.php works when detail.php?id=$c
but when I try and “change” the folder a la
url/detail/6.php
it wont stand for it. In that it wont find anything.
I hope the above makes sense, after reading it, it seems mighty confusing.
Cheers
rewriteRule folder\/detail-([0-9]+)\.php http:\/\/localhost\/folder\/detail.php?c=$1 [L]
works but
rewriteRule folder\/detail/([0-9]+)\.php http:\/\/localhost\/folder\/detail.php?c=$1 [L]
in the php the two respective urls are
detail-$var.php
and
detail/$var.php
The folders in the location are fine.
I am struggling as to why this wont work, but I must be missing something. It is not critical, just not the exact way I would like it.
Cheers