WordPress.org

Ready to get started?Download WordPress

Forums

Transferring my Static Website 3,500+ Pages to WordPress. (6 posts)

  1. adamtroy
    Member
    Posted 4 years ago #

    Hi All,

    Basically the title kind of says it all.

    I have a website that was built around 1995 (guesstimate).

    It has a wide range of directories and pages, over 3,500 pages.

    Ideally I would like to transfer them all over to my new wordpress theme / navigation, and keep the directories / urls the same.

    I know this is going to be extremely hard if not impossible. I am sure I can use 301 / 302 redirects.. but I really don't wanna use that option.

    I would love to get everyone's opinion on what you think the best way to accomplish this would be?

    Thank you all!

    Adam

  2. rooodini
    Member
    Posted 4 years ago #

    I expect there is a tool out there to help you with this. Anyone know of one?

    A PHP script could recurse through your directories of static files, use a regular expression to grab the main content of each file, then insert it directly into the wordpress database.

    Are there extra complications? For example, are pages categorised, or does the site have a rich structure?

    Best wishes,
    Andy

  3. adamtroy
    Member
    Posted 4 years ago #

    Thanks for the reply Andy,

    The site has a pretty complex structure. Directories within Directories.

    The thing is I can spend time adding the content into each page manually.. I am more worried about getting every URL the same so I dont have to do any type or 301/ 302 redir, and can keep all my search engine rankings the same. I would of course use the same titles / metas / content...

    Can anyone suggest a good way I can use my wordpress theme and manually create all my directories / pages and keep it within the wordpress engine?

    I know I can use the exclude pages wordpress plugin, to block the pages I want off my navigation... I just need to somehow do an exact copy of all my existing URLS to my wordpress site.. even if it doesnt include the old content I can do that manually.

    Any help would be great, and thanks again roodini!

    Adam

  4. rooodini
    Member
    Posted 4 years ago #

    Hi Adam,

    You should be able to match your current URLs using a custom permalink structure in WordPress.

    If you send a link to your current site, I can have a look and let you know how the custom structure should look.

    Best wishes,
    Andy

  5. adamtroy
    Member
    Posted 4 years ago #

    Hi Andy,

    Once again thanks for the reply.

    The website is - Heall (Dot) Com... It is a complete mess right now, and is out of control. Any thoughts would be good, I will also read into the custom permalinks to see if I can find out anything.

    Thanks for your Time and help.

    Adam

  6. rooodini
    Member
    Posted 4 years ago #

    Hi Adam,

    Apologies for this - Just realised something. Since your site would mostly be pages, a custom permalink structure won't help (since it defines the structure for posts, not pages).

    I guess you will need some sort of mod_rewrite so that the ".html" appears on the end of your page URLs. If you use any sort of pretty permalink, the rest of the URL structure will appear automatically from your page hierarchy.

    Anyone have tips on the mod_rewrite?

    Best wishes,
    Andy

Topic Closed

This topic has been closed to new replies.

About this Topic