WordPress.org

Ready to get started?Download WordPress

Forums

Organizing pages (6 posts)

  1. RHCdG
    Member
    Posted 4 years ago #

    Hi,
    In order to answer my question, I would like to invite you to take a look at my site the way it used to be before I installed WordPress; it is at http://www.cornetsdegroot.com/index.html. (The site is in Dutch but that shouldn't be a problem).

    If you would click on all the items in the left hand menu, you would find that there are over 1,000 static html pages there, organized in three main directories with each directory having up to 3 subdirectories.

    I would like to move all of these pages to the WP install that is in the root directory, http://www.cornetsdegroot.com/. My question is, how do I go about moving these pages while maintaining the hierarchy, i.e. the directory structure?

    Please note, I am not looking for a quick and easy solution. I know that moving 1000+ pages one by one means quite a bit of work, but that's fine; it'll give me a chance to take a good look again at each and every page.

    What I'm looking for is a method or procedure that will help me come up with the same result that I had on the old non-WP website. Can I achieve this with pages, or should I go for posts, since pages don't have categories? Do I need categories to get the desired hierarchy? Does each subdirectory need its own parent page/post with accompanying content or is it possible to do without? Where and how do I start?

    I would appreciate if any responds could be as specific as possible. Many thanks in advance!

  2. Jonas Grumby
    Member
    Posted 4 years ago #

  3. RHCdG
    Member
    Posted 4 years ago #

    Hi SS_Minow,

    Thanks for the quick reply!
    I am not sure if this preserves the hierarchy? I am not looking so much for a script to do the job (I tried the html importer plugin) but, rather, for a method that will yield the same result I had on the old website.

    Thanks,

    Rutger

  4. esmi
    Forum Moderator
    Posted 4 years ago #

    You're not going to get the desired heirarchy using categories - at least not in terms of the final sub-cat and post urls if that's what you're after. although parent and child categories to have an internal hierarchy, that won't be reflected in any of the urls.

    Pages might be the better way to go - although do be sure that you choose any custom permalink structure very carefully. With that many Pages, you should need structure that starts with a numeric for posts.

  5. RHCdG
    Member
    Posted 4 years ago #

    Thanks, Esmi!

    I am all for pages, so that is a reassuring suggestion! Could you tell me what kind of numeric permalink structure you are suggesting exactly? Could you give me an example based on my site?

    Many thanks,

    Rutger

  6. esmi
    Forum Moderator
    Posted 4 years ago #

    I'd suggest using either a date-based permalink structure or one that uses post id:

    /%year%/%monthnum%/%postname%/

    or:

    /archives/%post_id%

    This won't impact in your page urls. They'll still use the page titles to create the permalink but it will optimise performance when WP runs a query for a post.

Topic Closed

This topic has been closed to new replies.

About this Topic