Support » Networking WordPress » Existing website, integrated wordpress, htaccess conflicts

  • Hello,

    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 (, in gets redirected to (where I store my wordpress blog). There is no way to go directly to the desired page. Even if I type, 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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Why are you making a page named foo_bar.php in the first place?

    Is that ACTUALLY the page name in WP? Or are you instead talking about a physical file on the server?

    And if you think it’s .htaccess, please share with us what yours is 🙂

    Yes, I have a php file called foo_bar.php. It doesn’t have anything to do with wordpress. I just want to display in it the posts from a category from wordpress.

    Okay, so what’s your htaccess look like? 🙂

    Also … using a file to call posts from a category in MULTISITE is not as simple as single site and may not work at all (i.e. I don’t know anyone who’s made it work without using an RSS feed instead).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Existing website, integrated wordpress, htaccess conflicts’ is closed to new replies.