Home Apache mod_rewrite clashing with wordpress rule
Reply: 0

Apache mod_rewrite clashing with wordpress rule

user645 Published in May 24, 2018, 3:59 pm

I have a page outside of the Wordpress installing but located in the root directory at v1.html

I've tried a few different mod_rewrite rules but they all seem to clash with the WordPress .htaccess rules. How can I keep my wordpress installation in tact but also have /v1.html renamed to /v1 without 404ing

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]


    # END WordPress 
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.331213 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO