我想使用的财产以后如 http://www.example.com/domain.com而不是 http://www.example.com/index.php?url= domain.com 。
我怎么能做到这一点使用的.htaccess?
更新:我终于理解了它。 :)
RewriteEngine叙述上
的RewriteCond%{} REQUEST_FILENAME!-f
重写规则^(。+)$的index.php?URL = $ 1
http://www.pagerankcheckertool.com/facebook.com
解决方案 RewriteEngine叙述上
重写规则^(。+)$的index.php?URL = $ 1
i want to use somthing like http://www.example.com/domain.com instead of http://www.example.com/index.php?url=domain.com.
how can I do this using .htaccess?
update: i finally figured it out. :)
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.+)$ index.php?url=$1
http://www.pagerankcheckertool.com/facebook.com
解决方案RewriteEngine on
RewriteRule ^(.+)$ index.php?url=$1