Placing a web app into WordPress directory

So I have a web app and a promotional website. Promotional website resides in the root of I would like the web app (cakePHP framework) to be accessible at

Just placing the app folder into the wp directory doesn't work.

What could be wrong? Any help is much appreciated.


You can modify the .htaccess file of your wordpress installation to pass through all requests to your /app/ folder without going through wordpress as follows:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

# Let all go through to app
RewriteCond %{REQUEST_URI} "/app/"
RewriteRule (.*) $1 [L]

# Normal Wordpress rewrites
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress
Tags: Wordpress

Similar questions

Placing SQL query results into one array
I have this PhP script: And what I was initially thinking was to use a foreach loop with the CURL Mailchimp API to send each email to my endpoint, kind of a one off. BUT - I know that the foreach might not loop process and it's not very clean. I think the BETTER solution would be to have every result put into an array then send THAT array in the cu...
Move wordpress from home web server to web server hosting account
I've installed and tested Wordpress configurations on my home server which I use as my test server. Is it possible to upload everything, including Wordpress, from my home web server to my hosting account so it will work instantly there? Of course I need to change the database name, password, but that's about it. thanks!
wordpress duplicator renaming web.config to web.config.orig
I am using WordPress 4.6.2, with Duplicator plugin 1.1.16. my OS is Windows server 2012 - IIS 8.5. i have custom IIS rules for each website there different web.config files for each website every time i get a WP package for deployment, in the middle of the WP installation process (using the package that was created by the duplicator plugin) the exi...
Iframe failure when embedding Google Scholar web in other web using Wordpress
I have my own personal portfolio ( and I would like to include in some of my pages an iframe with other webs. For instance, when I try to embed this website ( in the iframe it works nice: However, when I try to embed my personal Google Scholar page (
Moved a WordPress install from an old directory into root directory
I have a Wordpress site that was installed in a /wordpress/ folder, so when you try to access the website it will look like The problem is recently I decided to move it to the root directory so that the site can be accessed by just going to the So what I did first is download SQL dump, then d...
Is there any way to connect a new Wordpress site with a RoR web app and to manage its legacy database from the Wordpress site without data migration?
I currently have a Ruby on Rails web application and an existing database made by previous team project. What I need to do is to migrate that website to Wordpress. I've developed something in Wordpress with the help of Custom Content Type plugin and it creates some custom posts correctly. Now, the problem is how to migrate the database with all dat...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.