• Hi all,

    I have a website built with XSitePro Mens Wrist Watches and I would like to move it to WordPress. Problem is, it is a site that consists of PAGES, and each page has the extension .html
    I have submitted the site to quite a few directories and done some link building, so I would like for the URL’s to stay the same. How (if) can I do that with WordPress?
    I know that there is the permalink section in “Settings”, but as far as I can see that only applies to any posts you make, not pages.
    Can anybody help me?

    Thanks – Petra

Viewing 9 replies - 1 through 9 (of 9 total)
  • You should be able to have those files in the same directory as WordPress and have them still work, the rewrite rules(pretty URLs) are designed to ignore the locations(urls) of real folders and files.

    So if you have WordPress in the root of example.com and create a file called (for example) test.html and place it into the root folder(where WordPress is) it should work if you then request example.com/test.html.

    Thread Starter petraw

    (@petraw)

    Hmm, I am not sure what you mean. I have built the site with XSitePro. I don’t know how to access the files.
    I would just copy my content onto a page (through wp-admin/pages/Add new) and then publish, but when I do that it won’t have the .html extension.
    Could you be a bit clearer?

    Just make sure you create pages with the same structure as in your website.

    For instance,
    menswristwatchesonline.com/Mens-Fossil-Watches

    In short, ‘the file extension (.php or .html)’ does not affect your link building, you will be fine as long as you maintain the same URL.

    Or, may you can use 301 redirect for your .html pages.

    301 redirect

    I know what you mean, you do not want to waste your SEO link building money. For your deep link directory listings that point to pages with extension .html right?

    In short, ‘the file extension (.php or .html)’ does not affect your link building, you will be fine as long as you maintain the same URL.

    Agreed.

    Thread Starter petraw

    (@petraw)

    But if I – at the moment – enter just “https://menswristwatchesonline.com/Mens-Casio-Watches” (for example; without the “.html” my sites have at the moment) I get internal server error. ???

    Thread Starter petraw

    (@petraw)

    Basically- how can I get WordPress

      pages

    to have the extension .html (posts have it already automatically)

    Thread Starter petraw

    (@petraw)

    Does anybody know?

    But if I – at the moment – enter just “https://menswristwatchesonline.com/Mens-Casio-Watches” (for example; without the “.html” my sites have at the moment) I get internal server error. ???

    That’s not a WordPress page though, it’s a HTML file.

    Basically- how can I get WordPress pages to have the extension .html (posts have it already automatically)

    Posts have it already? do they, since when? Can you give me an example post link? That’s most certainly not default behaviour.

    Does anybody know?

    Add .html onto the end of your permalink structure? Of course that would apply to all WordPress URLs, but beyond that(if the former isn’t suitable), you’d need to write your own rewrite rules inside the htaccess file.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Moving an existing Site to WordPress – URL’s’ is closed to new replies.