Knowledge Base

How Can We Help?

How to Make Your WordPress Site SEO-Friendly

You are here:

Though WordPress is Search engine optimisation-friendly “out of the field,” there are a number of enhancements which you can make to permit your web site to carry out higher in Google. This information focuses on Google particularly as a result of different search engines like google and yahoo don’t have practically as a lot site visitors to supply as Google does. Due to this fact, it’s cheap to focus your SEO (Search engine optimisation) strategies round what’s essential for serving to Googlebot (the identify of Google’s search engine crawler/spider) decide what your web site is about in order that it is going to be simpler for folks to seek out what they’re in search of. As well as, this information pertains to “on-page optimization,” versus “off-page optimization,” the latter of which entails constructing hyperlinks to your web site from different websites.

1) Use an Search engine optimisation plugin.

The preferred ones are All-in-One Search engine optimisation Pack (AIOSEOP) and Yoast, each of that are free. They’ve comparable capabilities, and there are a lot of evaluations and “how you can” guides accessible that may enable you select the perfect one on your wants.

2) Use an XML sitemaps plugin.

Your “sitemap” is a file in XML format with a .xml extension. It’s meant to be a handy checklist of your web site’s indexable file URLs, the dates that they had been created, and the way typically they need to be crawled, amongst different issues. Like robots.txt, the sitemap is at all times positioned within the root of your web site. It also needs to be named sitemap.xml:

http://yourdomain.com/sitemap.xml

To alert Googlebot that you’ve got such a file, you’ll be able to place the next line in your robots.txt file:

Sitemap: http://yourdomain.com/sitemap.xml

It should be absolutely the path as proven above, not the relative path. For those who’re utilizing WordPress, you need to use a plugin referred to as Google XML Sitemaps to deal with the sitemap creation and computerized insertion of the sitemap’s path into your robots.txt file.

3) Use a caching plugin.

That is particularly essential in case your web site receives quite a lot of guests. A caching plugin will make your pages load quicker, which reinforces the consumer expertise and makes your web site extra interesting to Google, since web page load time is now used as an Search engine optimisation rating issue. W3 Complete Cache is the preferred plugin for this goal.

4) Use an Search engine optimisation-friendly theme.

Many WordPress themes at present rely closely on fancy graphics and an abundance of JavaScript/JQuery information. They could look fairly, however this model of design could make your web site load slowly. For Search engine optimisation functions, a theme must be clear and easy, with out quite a lot of graphical design components that require large .js information with the intention to operate. Additionally keep away from utilizing exterior .js information as a result of exterior scripts can decelerate your web site much more, particularly if the domains the place the scripts are hosted are experiencing technical issues.

5) Change the <h2> tag for the put up/web page title to an <h1> tag.

Sadly, quite a lot of WordPress themes use the <h1> tag for the location’s title within the header space, and so they use the <h2> tag for the title of every web page or put up. The <h1> tag must be used for the put up/web page title, and there must be just one <h1> tag per web page, so that you would wish to edit your theme’s header.php file to take away the <h1> tag. This will likely require some extra styling with CSS to make the title look the identical because it did earlier than eradicating the tag. Alternatively, you can use a picture for the title/brand.

6) Use “canonical” URLs to keep away from duplicate content material.

A great Search engine optimisation plugin provides you with the choice to do that, and the documentation ought to clarify “URL canonicalization” in additional element.

7) Redirect the www model of your web site to the non-www model or vice versa, relying on which one you’re utilizing (the WordPress default is to make use of the non-www model).

For instance, if somebody tries to entry your web site by going to (A), she or he can be redirected to (B):

(A): http://www.yourdomain.com/
(B): http://yourdomain.com/

Google considers the URLs above to be two totally different web sites, and it might select to index solely certainly one of them as a result of it sees the opposite as a reproduction. For Search engine optimisation functions, it doesn’t matter to Google which model you select, so long as you’re constant when creating inner and exterior hyperlinks. You possibly can guarantee consistency through the use of a canonical URL for every web page and put up, in addition to including the next code to your .htaccess file with the intention to power all requests for the www model to be redirected to the non-www model:

Choices +FollowSymlinks
RewriteEngine On
RewriteCond %HTTP_HOST ^www.(.*) [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,NC,L]

8) Make use of the “alt” and “title” attributes of the <img> tag.

Remember to identify your pictures appropriately, and use a related description of the picture for the “alt” and “title” attributes. For instance, for those who had an image of some birch timber in autumn, you can use the next code for the picture:

<img src=”../../pictures/autumn-birch-trees.jpg” alt=”Autumn Birch Timber” title=”Autumn Birch Timber” />

The code above assumes that you simply preserve your pictures in a listing referred to as “pictures” situated within the root of your web site. Modify the code if vital to make sure that the right path to your picture is used. The “alt” and “title” attributes improve the consumer expertise of your web site, however in addition they make Googlebot conscious of what the picture is about and whether or not or not it’s related to the subject of your put up or web page. As well as, many individuals arrive at web sites by way of looking on Google Photos to seek out what they’re in search of. Having appropriately-named pictures and permitting them to be listed in Google (some folks block picture listing crawling within the robots.txt file) might assist your web site obtain extra site visitors.

9) Put a clean index.html file in every listing (besides the basis of your web site) to forestall listing searching by bots and other people.

A “clean” index.html file is simply an ordinary HTML file with no content material contained in the <physique> and </physique> tags. For those who had been to load the web page in a browser, you’ll see nothing however white house. Including such a file to directories that you simply don’t need anybody or something to browse additionally prevents the contents from displaying up in Google’s index. For instance, suppose that you’ve got non-public obtain pages that you simply retailer in a listing referred to as “obtain.” For those who didn’t have a clean index.html file in there and specify in your robots.txt that every one search engines like google and yahoo ought to chorus from crawling that listing, then the pages could be listed, and other people may additionally navigate to that listing and see hyperlinks to each web page inside it. For those who wished to forestall search engines like google and yahoo from crawing your downloads listing, you’d put this in your robots.txt file:

Person-agent: *
Disallow: /downloads/

This assumes that the complete path to your listing is http://yourdomain.com/downloads/. The “*” implies that all search engine bots ought to obey this rule, not simply Googlebot.

One other approach to perform the identical factor is to dam listing searching by placing the next line in your .htaccess file:

Choices -Indexes

10) Use customized permalinks that describe the web page/put up content material.

Within the Permalinks space of your WordPress admin, choose the customized choice and use the next:

/%postname%/

This may embody the put up’s title within the URL, versus a non-descript date or numeric format that has no relevance to Search engine optimisation. For instance, if the title of your put up is “Birch Timber in New York,” then your put up URL could be:

http://yourdomain.com/birch-trees-in-new-york/

11) For those who permit feedback in your posts, keep on high of spam.

Do away with spam feedback as quickly as potential. The feedback might comprise content material that’s irrelevant to the subject of your put up/web page, and this will “confuse” Googlebot. Your rankings might undergo consequently.

12) Use meta descriptions that comprise your key phrases but in addition an attractive message that may make folks wish to click on over to your web site.

The key phrases {that a} consumer searches for will present up in daring within the search outcomes, which makes them stand out extra, and the outline must be worded in such a method that makes the consumer wish to click on on it. Writing efficient meta descriptions is an artwork, however for those who’re good at it, you could obtain extra guests to your web site than you in any other case would for those who had a extra generic or boring description. By the way, the meta key phrases tag is not evaluated by Google when it comes to Search engine optimisation, however it might be helpful for reaching the next “high quality rating” on pay-per-click (PPC) touchdown pages.

This isn’t a complete information to on-page Search engine optimisation, nevertheless it provides you the details to contemplate when getting ready your WordPress web site for Google.

Leave a Comment