Hi i am new to url rewrite so please help in this bug
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^([^/]*) chanel.php?user=$1 [L]
my above code shown about my .htaccess file .
my orginal url is www.abcd.com/chanel.php?user=ravi
i want to rewrit above url to www.abcd.com/ravi
but above .htaccess file redirect to index.php
so pleae help me in above bug
thanks in advance
RewriteRule ^([a-zA-Z0-9]+)$ chanel.php?user=$1
这将不允许标点符号,仅允许使用字母和数字。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.