Forum Moderators: phranque
and i wrote a mod_rewrite rule in .htaccess file, which is
RewriteEngine On
RewriteRule ^([a-z]+)/Category.php?page=1$ /Category.php?cateName=$1 [L]
and i also create a file called Category.php sit in public_html folder.
and then in the index.php file, i have a link like as following
<a href="country/Category.php?page=1"> click me </a>
but the problem is that it doesn't create a dynamic url for me when i click the above
link, it tell me it could not find the file.
Could anyone help me, please
But i want to ask you a question about the regular expression of the
([^&]+), what does it means?
if i write it, i will write like ([0-9]+]&([0-9]+)
but your one more simple.
Would you express what does the ([^&]+) means? Thanks