我有一個WP頁面的URL,http://mydomain.com/home/。我想用htaccess的重定向到http://mydomain.com/。WordPress的重寫:重定向頁面首頁
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^home/$ index.php [L] #This is my attempt to redirect; not working.
RewriteRule . /index.php [L]
</IfModule>