How can I redirect requests to /index to simply /
RewriteRule ^/index$ / [R=301,L]
Is giving me headaches and causing a bootloop? This is in a new wordpress install.
Any thoughts how I can achieve this?
How can I redirect requests to /index to simply /
RewriteRule ^/index$ / [R=301,L]
Is giving me headaches and causing a bootloop? This is in a new wordpress install.
Any thoughts how I can achieve this?
You must be logged in to post a comment.
You can use a rule like this in your root .htaccess:
Since you’ve tagged
WordPress
I must tell you to keep this rule right at top (just belowRewriteEngine On
line).