• I have created my non-wordpress site online using a simple .htaccess setup for Easy URL’s in the public_html folder:

    RewriteEngine on
    RewriteRule ^([^/\.]+)/?$ index.php?Page=$1 [L]

    Then in another folder labeled “Blog” I installed a WordPress Blog.

    Is there a way to get the WordPress installation to work in this situation? What .htacces RewriteRule can I use to make the system see /Blog as a file?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I am not an htaccess expert, but what I’ve done in similar situations is backup the site htaccess file, then delete it, then install WordPress. Once I have WordPress up and running, I re-upload the site htaccess file, and I’ve never had conflicts at that point. Not sure if that will work in your situation or not though.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    The problem is you’re redirecting everything to index.php?Page=$1

    So domain.com/anythign goes to domain.com/index.php?Page=anything

    Which is great up until you want domain.com/BLOG to go to … domain.com/BLOG

    Try this:

    RewriteEngine on
    RewriteCond %{REQUEST_URI} !^/blog/
    RewriteRule ^([^/\.]+)/?$ index.php?Page=$1 [L]
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Site .htaccess Conflict with WordPress’ is closed to new replies.