HTML To WordPress

101 5
We love wordpress, thats a fact. WordPress "likes to say" that it's both "free and priceless at the same time". Today, 415,274 bloggers on worpdress.com would agree, not to mention the uncountable number of self hosted wordpress sites all over the globe. With its extendability and ease of use, its not just for blogs anymore.

Now, we know that wordpress is great choice, but what if you already have a successful html website? Or are in love with a certain HTML or CSS template? Is there a way to convert it to WordPress so you can have the design that you want and still utilize the the awesome power that is WordPress?

Of course there is.

WordPress themes are built on the same basic code as any html template. You just need to know where that code goes...

How to Convert HTML to WordPress:

Wordpress themes are split into separate php files. header. content. sidebar. footer. Take a peek inside a current wordpress theme to unravel the mystery. Websites start at the index page so we'll start there and follow the code through. The index.php will first call the header.php. This is where your html tags, title and meta tags, site title or logo and navigation will go. Then you should see the php code for the content or the 'loop' as WordPress calls it. You'll also see calls for the sidebar.php and footer.php. Look inside those files and youll see the code that builds those areas.

Notice the 'div' tags that wrap the page elements. HTML is now mainly built with div tags instead of tables. Most div's are assigned a CSS style with a label (selector). Lables can be either an ID (#) or a CLASS (.) These styles are defined in another file called style.css. Look through and match the css style to the congruent div tag.

Those with html experience or some serious gumption can copy and paste the html code straight into a basic wordpress theme. For each div tag with a label, also add that style into style.css. When converting your html to wordpress, a good approach is to carefully wrap the php code that is there between div tags. Make certain that any opening div tags have a matching end /div tag. If you get lost, double check your source code in a browser... div tags may open in your header.php and close in your footer.php

Once you get the techie stuff in place, lets not forget semantics.

If I convert to WordPress, will I lose my page rank and current traffic? Before moving any well established website, have 301 redirects ready to go for when the new site goes live. Even if you create the exact same page, WordPress will create different URLs than what your existing site has right now. Redirects will point search engines from the old page, to the new page, letting it know that a move has been made. Search engines will follow accordingly so your conversions will be seamless with little down time and no traffic loss. Build the site in a temporary location, create your redirects and move everything over to your domain at one time.

If youre not very handy with web code, a professional designer or web developer should be able convert your html to wordpress so you can spend your valuable time doing what makes your site more successful, like creating content!
Source...
Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.