WordPress.org

Ready to get started?Download WordPress

Forums

WordPress CMS Subdomain 404 error (1 post)

  1. davebeck
    Member
    Posted 6 years ago #

    Hi

    We are currently using WordPress as a simple content management system, using the blogging capabilities as the news section and the pages as the "static pages".

    As part of what we are doing we decided to build a customised job board and place it on a subdomain. Some of the necessary information pages had been inserted as a page in WordPress and are now called through the subdomain using the following code:

    /* Short and sweet */
    define('WP_USE_THEMES', false);
    require('/home/*****/public_html/wp-blog-header.php');
    query_posts('page_id=44');

    Then we called content using:

    if ( have_posts() ) : while ( have_posts() ) : the_post();
    the_content();
    endwhile; else:
    endif;

    Here is a sample page http://jobs.feroscare.com.au/application-kit/.

    Now everything works correctly accept we are receiving a 404 response header, which is resulting in spasmodic display of the page in Internet Explorer (it works fine in Firefox).

    If anybody has any ideas we would be ecstatic if you could help.

    Regards Dave

Topic Closed

This topic has been closed to new replies.

About this Topic