WordPress URL 重写
[quote]
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
[/quote]
wokanhao URL 重写
[quote]
<Directory "D:/wamp/www/bro">
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^my\.hostname\.com$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /bro/admin.php/$1 [L]
RewriteCond %{REQUEST_URI} !^/bro/index\.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /bro/index.php/$1 [L]
</Directory>
[/quote]
[quote]
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
[/quote]
wokanhao URL 重写
[quote]
<Directory "D:/wamp/www/bro">
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^my\.hostname\.com$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /bro/admin.php/$1 [L]
RewriteCond %{REQUEST_URI} !^/bro/index\.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /bro/index.php/$1 [L]
</Directory>
[/quote]