Various ways to support a WordPress blog within a static site
-
I have a stand alone website that utilizes WordPress for a blog page. I did have this page within its own sub-folder titled ‘blog.’ I wanted to create a second WordPress page but found that creating a new sub-folder wouldnt work, as my new page would be a child page of the ‘blog’ page. I didnt want that.
Finally, I was able to move my WordPress site into the root of my site, but the blog page no longer shows while I have my static home page displayed. When I navigate to my blog page it’s just blank, like a template that I have created and the page title is ‘page not found.’ Is there any way to correct this? The only WordPress file I have in my root folder is this line of code:
require( dirname( __FILE__ ) . ‘/blog/wp-blog-header.php’ );Back in that blog sub-folder I have my index file and several templates that I learned to create along the way.
Also, I am not technically using a static home page as per my settings my front page displays my latest posts, but that page is just a template I created to serve as the home page.
To sum up everything, I would basically like to have a couple of different WordPress pages within my static site, without the static home page if possible (as it loads slower).
- The topic ‘Various ways to support a WordPress blog within a static site’ is closed to new replies.