• I have blog installed in https://www.site.com/blog

    On my domain index page https://www.site.com I have made it a static page and included some recent wordpress posts and post excerpts. To do this I placed this in the header:

    <?php require(‘./news/wp-blog-header.php’);?>

    It works great and the wordpress content is integrated seemlessly. ??

    However when I make an internal page (www.site.com/page1.php) using the same method the page 404s.

    If I take <?php require(‘./news/wp-blog-header.php’);?> out of the page then the page works (but obviously the wordpress content does not).

    What should I do to make it work?
    I have updated the link to the wp-blog-header.php in different ways but it does not work.

    Any Ideas?

  • The topic ‘Static Pages – Index works but other pages dont’ is closed to new replies.