WordPress.org

Ready to get started?Download WordPress

Forums

change from html to wordpress (5 posts)

  1. svibor
    Member
    Posted 9 months ago #

    Hello everybody. I'm form Croatia so I apologize for eventual grammar mistakes.

    Here is my situation - my friend has web page made in html. He pays some guy to make updates on this page. Since I learned basic of WordPress, we would like to switch from html to wordpress and I will take care of page so he wouldn't have to pay this guy anymore. His web page has good web browser index and we would like to keep it that way.
    This is what I plan to do: delete all files in public_html and all files in File Manager (because we would like to make complete different design of page) and install WordPress on empty page. Than WordPress magic begins :) I know that exsist some converters and plugins to switch from html to WordPress, but I would like to go full on WordPress.
    My question is next - will web page lose it's good web browser index? And what to do not to lose it? Of course, I will install SEO plugin, no will it be enough?

    Every advice from you will be great help!

    Thank you,
    Goran.

  2. Joel Williams
    Member
    Posted 9 months ago #

    Hi Goran,

    Personally I would install WordPress in a sub-folder like /wordpress so you can set it up side-by-side with the new site in order to transfer the content over (you can use a Maintenance Mode plugin to keep it hidden) without losing the current site. Then when ready to go live you can change the addresses in Settings > General to the main URL and move the files into the public_html folder.
    You could actually just change the Site Address and leave WordPress in the sub-folder and then just copy the index.php and .htaccess as described in Step 7 onwards here:
    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    It's up to you today, if you're more comfortable just installing it in public_html then do what you prefer.

    Re: SEO here are a few ways to do this, but essentially you will want to redirect all the old URLs to the new WordPress version of that page in order to help keep the page in the search engine's index.

    In the .htaccess file you need to do 301 redirects. For example if the current site has a page called http://example.com/contact-us.html but the new WordPress one is http://example.com/contact/ you could add the following to your .htaccess

    Redirect 301 /contact.html http://example.com/contact/

    That would redirect that page to the new page for visitors and search engines alike saying that page has permanently moved to that URL.

    There is some more advice here: https://support.google.com/webmasters/answer/93633?hl=en

  3. curtjen
    Member
    Posted 9 months ago #

    Goran,

    Joel has some good ideas with using 301 redirects (and that's what I would do). But if you're looking for a different solution or if doing the redirects isn't possible, you could try using a plugin like this http://wordpress.org/plugins/wp-page-extension/. I haven't used that plugin before, but it looks like it may fit your needs if you're trying to match the page names with file extensions (e.g. contact-us.html).

    Good luck :)

  4. svibor
    Member
    Posted 9 months ago #

    Thank you very much for your advices!

    I'm not sure I understood everything, but on the other hand, it donesn't seem to complicated, so I believe it won't be a problem.

    Thanks again!

  5. svibor
    Member
    Posted 7 months ago #

    Ok, so I finally finished my new WordPress pages in http://www.mydomain.com/wordpress/my new pages.

    Then I tried to do 301 redirection, but it didn't work. I opened old .htaccess file (not one in /wordpress directory), "RewriteEngine on" was already typed at the beginning of text and a lots of code also. So I typed "Redirect 301 /about.html http://www.mydomain.com/wordpress/about/ and saved it.

    But nothing happened, redirection didn't work. Do you have any advices or opinion what to do?

    Thanks!

Reply

You must log in to post.

About this Topic

Tags

No tags yet.