• I’m building a WordPress front-end for a client.

    The bulk of the site is static pages (generated outside WordPress) to which we’ve added:

    <?php include('wp-blog-header.php'); ?>
    <?php get_header(); ?>

    at the top and
    <?php get_footer(); ?>
    at the bottom.

    I am using Headway Themes (have posted this in their forum too: http://support.headwaythemes.com/showthread.php?p=17332#post17332

    The issues I’m having are that these pages are outside WordPress and therefore are mapping to the 404 page layout and fall outside the SEO capabilities & breadcrumbs.

    Any recommendations on how to map these pages to a layout/structure that WordPress can use/understand?

    Thanks!
    –Jaime

    Oh, the site is temporarily at http://beezidreports.com/wordpress and “Top Items” is a custom menu item linking to one of the static pages.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Suppose the obvious question should be asked, “why not integrate the static pages as WordPress content if you want to build the whole site in WordPress?” That’s no more complex than resolving the issues you are encountering.

    Thread Starter fitJaime

    (@ssjaime)

    This project involves a membership component, and frankly I don’t want to re-invent the wheel, and have chosen to use a WordPress membership plugin!

    (Using the free version of S2Member, which works fine on these static pages)

    Is the idea to create/store/manipulate the static pages outside the wordpress system, but use the wordpress system to navigate the data?

    Thread Starter fitJaime

    (@ssjaime)

    Yes – that’s exactly what I’m trying to do.

    I was wondering about adding pages one for one.
    One wp page for each static page.
    The content of the wp page could be a shortcode something like
    [grabstatic url=”/folder/pagename.html”]

    Then the plugin could grab the static page with either a include or perhaps one of the http functions in wp.

    I am quite new to hacking wp, so I can’t say which of these options would be the fastest to code or the best for stable running.

    Just a thought. I think you should be able to grab the static pages from behind a .htaccess password protection scheme as well to prevent non-members from lurking your content.

    Just a thought.

    Thread Starter fitJaime

    (@ssjaime)

    we’re using the s2Member (basic) plugin to protect the content and the content is in a subdirectory of our wordpress installation so it’s adequately protected.

    The reason for the static/non WP pages is because there are thousands generated by an offline program and then loaded onto the server. The one-for-one idea isn’t feasible 🙂

    I had thought of the .htaccess route, but am not sure how to tackle the file… and if it will even work to be able to force WordPress to realize these are “good” files instead of 404 pages.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Integrating Static pages with WordPress’ is closed to new replies.