How to install another cms in a sub-directory of Wordpress

I am trying to install shopping cart cms "x-cart" in a sub-directory "/store/" on my Wordpress site.

I have permalinks enabled and mod rewrite in htaccess... So when I try to access anything within "/store/" folder i am getting wordpress 404 :(

How do I exclude "/store/" folder in htaccess?

Here is my current one:

  # 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]
    </IfModule>

    # END WordPress

Thanks in advance!

Answers


If you have a folder called "store" you don't need to do anything. This line:

RewriteCond %{REQUEST_FILENAME} !-d 

Is saying that "If the request is from a real directory (-d) ignore this index.php stuff and go with it". So, just create /store and put a "index.html" to see if it isn't an issue with x-cart instead of wp


If you are creating multi WP website, you can consider using WP multisites feature which can be found herecodex.


You might find it easier to either install x-cart on a sub-domain (store.yoursite.com), or just put it in a folder at the same level as wordpress yoursite.com/store.


Need Your Help

OpenGL array of points animation

arrays opengl animation 3d 2d

I am trying to animate random point that i have created so they move across the screen and re-appear this is what i have done so far but does not work.the code is not the completed version of what ...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.