I want to use static HTML for a landing page on a WordPress site. For example:
example.com
- WordPress already running in root folderlandingPage.example.com
- I purchased this static landing page using ThemeForest
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Sign up to join this communityI want to use static HTML for a landing page on a WordPress site. For example:
example.com
- WordPress already running in root folderlandingPage.example.com
- I purchased this static landing page using
ThemeForestJust name the landing page file index.html
and place it (and any assets) in the root directory, then add this to your .htaccess
(assuming you're using Apache):
DirectoryIndex index.html index.php
When accessing http://example.com
, Apache will serve index.html
. WordPress will scoop up all other requests with it's rewrite rules.
(example.com)
domainlandingpage
After creating sub domain it will add landingPage
folder in the root of your hosting filemanager. place the template there and it will be accessed through landingPage.example.com
Source with screenshots: http://www.templatemonster.com/blog/integrate-static-html-wordpress/