Build Your Own Business Website header image

How to Convert a Static HTML Site to Thesis Part 18 – Make a List of All Existing Pages

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects -

Applies to -

Whoops, you've found some premium content!

Watch the opening clip of this video to preview it,
the full video is available to paid members.

In this session we show how to make a list of all existing pages from the old site for to the new site. We start off by making a list so that we have a one to one correspondence with to the original URLs. Then we show how to sanitize the information so that only the name of the file remains in the old URL and replace the new URL with the correct name.

Video Transcript

This is the site here that we are transferring. It’s biltmoreetc.byobtutorial.com. We’ve had several parts of this already completed including adding all the jquery to make all this stuff properly and all that stuff. And we’ve got all of that stuff transferred from the original site on to here. And so now what we’re going to do is copy this site and we’re going to move it to the live server.

So we’re going to start off by making sure that we have a one to one correspondence to the original URLs. And unfortunately, we’ve already torn the original site down so I can’t really show you the old URLs. But I can show you where we were before we tore it down.

The old site had these various pages and you can see that like, for example, arcadiasale.aspx, biltmoresale.aspx, paradisevalley.aspx. All of these pages were all in the root of biltmoreetc.com. So what you do is you’d go to each page on the original site and you find that the corresponding URL or the corresponding page on the new site. And you just make sure a little spreadsheet like this that copies the old page address and the new page address. That’s where you start. You just start by going to the old page, going to the corresponding new page and copy both URLs, stick them in the spreadsheet like this. Because the thing that we’re going to do is, we’re going to create 301 redirects using this information once the new site is moved. And so that’s the first thing to do here.

Once you have this information, you’re going to sanitize it. And by sanitizing it, what I mean is you’d want to take out the old biltmoreetc.com out of this name and just have the address of the page. Now if this had subfolders that these pages were in, you would include that address as well. But all of these pages were all in the root of the website so that none of them were nested inside of subfolders. But you want the name of the file standing alone.

And then over here, you want to take out or you want to replace the name… this name, biltmoreetc.byobtutorial.com with the new name, biltmoreetc.com. So you need to sanitize this data so that the old URL does not have biltmoreetc.com and the new URL actually has the biltmoreetc.com. And from there then, what we’re going to do is we’re going to use that to recreate or to create our 301 redirects.

0 Comments… add one

Save $200 on Membership Now!

Start learning today for as little as
$0.82 PER DAY!
THIS IS A LIMITED TIME OFFER!
Subscription Options
0 comments… add one

Leave a Comment