URL rewriting For WordPress – Integrating Non WordPress site with wordpress

We are unable to change the url rewriting to integrate an exsiting directory site into my wordpress site.

WordPress is fixing everything to their url pattern.

Read More

How can I help my programmer? Can someone give an advise?

Related posts

Leave a Reply

3 comments

  1. More details would be useful, but in all likelihood, add a do nothing and stop rule for your folder before the WP rules:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^folder - [L]
    
  2. We integrate WordPress with Ruby-on-Rails on ICanLocalize.

    This is done in the Apache config file. Use the Apache Alias command to indicate that a path comes from a different physical directory.

    Then, the URLs that match that path will never go to WordPress. They will be served from the other physical directory, where you can place anything.

  3. If you need to take a subdirectory out of the url-rewriting from wordpress, put an additional .htaccess file into that directory and switch the Rewrite-Engine off:

    RewriteEngine Off
    

    That directive overrides any settings of the wordpress .htaccess for that directory and it’s subdirectories.

    You find the longer version of my answer in a related question on wordpress answers with a slightly different .htaccess code.