Forums

turn pages into post while keeping old urls (3 posts)

  1. tobi1kanoby
    Member
    Posted 5 months ago #

    Hi there.
    I have an old website I would like to redesign.
    all content is built on pages-->sister pages.
    non of the content was made using posts.
    some of these pages rank very high on very competitive search terms and I hate to change the urls.

    Here's the site:
    knows-dive.com

    I'm thinking of using the command:

    UPDATE wp_posts SET post_type='post' WHERE ID=?

    which I've tested and works well,

    problem is, I'd have to turn parent pages to categories in order to keep the same structure right?

    that would mean getting all the related content on that page as the category description, thus keeping it similar.

    Is doing so is the right way of managing such issue?

    Even so, that still leaves me with one problem,
    I would have "category" for the categories in the URL which I have to get rid off to get it to have similar url's

    any ideas ? suggestions?

    Thank you very much
    Tobi

  2. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 5 months ago #

    What's the old URL pattern? It's possible to use 301 redirects in .htaccess to let you move all the pages.

  3. tobi1kanoby
    Member
    Posted 5 months ago #

    Wow!
    Thanks for the quick replay Ipstenu.
    the old url pattern uses page names,
    and the site's structure is based on parent and sister pages.

    Here's an example:

    I would like to turn scuba diving equipment into category, scuba mask as a subcategory then post everything related under that category.

    my problem is not so much as keeping the posts structures intact following what I had planned initially, but the actual category url will then look like :
    http://knows-dive.com/category/scuba-diving-equipment/
    instead of "http://knows-dive.com/scuba-diving-equipment/

    and "http://knows-dive.com/category/scuba-mask
    instead of "http://knows-dive.com/scuba-diving-equipment/scuba-mask

    Thanks again for your help,
    if 301 redirect is what you think will solve the matter, would you be kind to point me to the best tutorial on the subject?

    Regards
    Tobi

Reply

You must log in to post.

About this Topic