adsense

How to Import a Static Site Into WordPress





1. Log in to your WordPress admin control area. Click 'Plugins,' then click 'Add New.' Type 'Import HTML Pages' into the text box, then press the 'Search Plugins' button. When the results appear, find 'Import HTML Pages,' which should be the top result, and click the 'Install Now' link just underneath it. When the plugin installs, click the 'Activate Plugin' link.
2. Visit your static HTML site and click 'View,' then 'Page Source' in your browser. Locate the HTML element that the actual content is contained in. For example, this might be a div:
Or it may be a table of a particular size, for example:
Note down the type of element the content is in, the attribute that defines it and the value of that attribute.

3. Return to your WordPress admin area. Click 'Settings' and the new 'HTML Import' option. In the 'Content' area, insert the information you wrote down into the 'Tag,' 'Attribute' and '= Value' text boxes. In the
example above, you would write 'div' in the 'Tag' box, 'id' in the 'Attribute' box and 'content' in the '= Value' box. Type this data without quotes or brackets.
4. Go back to your HTML source code. Identify the tags that surround the title of the content. This might be
, or it might be a header tag such as
. Write this tag down, along with any attributes and values, if present.
5. Scroll down to the 'Title' heading. Type the tag that surrounds your content's title in the 'Tag containing page title' text field. Also include any attributes and values in the relevant boxes. You can also type any string of text that the plugin should ignore when collecting titles. For example, if your titles look something like 'GardeningTipsWebsite -- How to Remove Weeds,' you can put 'GardeningTipsWebsite - ' in the 'Phrase to remove' text box.
6. Scroll to the bottom of the page and press 'Import using these options.' Your static site is copied into your WordPress blog.

Comments

0 Responses to "How to Import a Static Site Into WordPress"

Post a Comment

Popular Posts

About