Existing website, integrated wordpress, htaccess conflicts
I created a PHP website, and now I’m trying to integrate WordPress into it. I’m not interested in moving my website to wordpress entirely.
I installed wordpress in a folder called “articole”, created a custom child theme of twentytwelve, tested it, everything is working and displaying fine in the blog.
I have a mode_rewrite for this website, so any menu link is in the form foo-bar/ which maps into foo_bar.php.
Now, I want to display on an existing page a few articles from the blog. I created a new page, let’s call it bla_bla.php, and on this page everything works fine.
The problem appears when I added the wordpress code to an existing page that is mapped to a URL rewrite (foo-bar). When loading this url (www.example.com/foo-bar), in gets redirected to http://www.example.com/articole (where I store my wordpress blog). There is no way to go directly to the desired page. Even if I type http://www.example.com/foo_bar.php, it doesn’t work.
From what I can make up, the problem is probably a conflict between the .htaccess of wordpress, and the .htaccess of the website.
What can I do to fix this?
- The topic ‘Existing website, integrated wordpress, htaccess conflicts’ is closed to new replies.