Custom app in one page on a WordPress website

Status
Not open for further replies.

693840

Banned - Inappropriate behavior
Joined
Aug 4, 2013
Messages
3,593
Reaction score
8,924
Hi all,

I have a client with a WordPress website. On one page he wants a custom web app, so I have to overrule WordPress to not load an error 404 on that URL but to show the web app.
So like:
- website.com (contains WP theme)
- website.com/contact (contains WP theme with contact form)
- website.com/app (contains custom app that has nothing to do with the WP theme)

Does anyone know how to achieve this?
 
Use subdomains so it will be app.website.com or just a redirect from website.com/app there are tons of other ways to do it but they will be more complex.
 
nginx or apache?
Apache

Use subdomains so it will be app.website.com or just a redirect from website.com/app there are tons of other ways to do it but they will be more complex.
It will actually be /shop, but we are building a separate Vue app for this instead of using something like woocommerce. I don't think shop.domain.com would fit here so I'm trying to make it /shop
 
Actually I already found a solution by using a custom page template. Thanks for everyone who tried to help.
Thread may be closed @MisterF @BassTrackerBoats
 
You could just make a folder in the site root called app/shop/whatever and make a separate new app there under a new database. You could use Vue like you have mentioned, or react for that app (and have an API in some other virtual host.. like api.mydomain.com). The main site should not be affected atall by this. If that's what you are asking. ;)
 
Status
Not open for further replies.
Back
Top