• So I am trying to navigate to a separate, static page outside of my WordPress installation directory: https://localhost:8080/home/apps. This is not a registered ‘Page’ in the WordPress system, I am trying to keep it separate (let me know if this is a bad idea).

    Inside this directory is a single file, index.php, which contains this code:

    <?php
    //Apps.php
    //define('WP_USE_THEMES', true);
    require('../blog/wp-blog-header.php');
    ?>
    
    <?php get_header(); ?>

    The header and the images load fine, but Firebug is returning this error (even though the page seemingly loads fine): “NetworkError: 404 Not Found – https://localhost:8080/home/apps/&#8221;

    Some clues as to what may be going wrong:
    1) My WordPress Address URL (https://localhost:8080/home/blog) and Site Address URL (https://localhost:8080/home) are different in the ‘General Settings’ section of the admin panel.
    2) In my header, I have wp_title('|',1,'right'); which is returning “Page not found” on my error page, but that may be expected since my new page is not a WordPress page.

    Any comments are appreciated, I’m currently looking into architectural workarounds for this problem (I may just end up keeping everything within the WordPress system)

  • The topic ‘NetworkError: 404 Not Found on static page’ is closed to new replies.