in , , ,

Superb WordPress Hacks: Have More SEO Friendly Blogging Experience

WordPress can deal with canonical issue, 301 redirection and several other things. Still we believe that there is a little room for making the blogs more SEO friendly. If it sounds interesting to you then come make your blogging More SEO Friendly with Superb WordPress Hacks.

The first step is to take a backup of your files.

Utilize Browser Cache

If you are habitual of checking the load time of every page over GOOGLING for ensuring the speed then, it is beneficial to utilize the browsing cache for its various advantages. You pressurize the browser to keep a cache by helping it to submit the objects with a fast speed.

Place the below code in your htaccess file and improve the speed:

FileETag MTime Size
<ifmodule mod_expires.c>
<filesmatch “\.(jpg|gif|png|css|js)$”>
ExpiresActive on
ExpiresDefault “access plus 1 year”
</filesmatch>
</ifmodule>

Decrease Spam

This matter is not related to SEO in direct manner. People will try to take over your site with the low quality comment and spam with unnecessary URLs. This way your site can face few adverse effects. If the blog is receiving large number of visitors’ everyday then it is required to throw away the spam wisely. For doing this, one can utilize a nifty code that you can place at the htaccess. With the help of this step one can remove all the steps by approaching wp-comment post PHP file. To do so, let’s understand PHP code below:

Place the code below and find the changes:

RewriteEngine On
RewriteCond %{REQUEST_METHOD} POST
RewriteCond %{REQUEST_URI} .wp-comments-post\.php*
RewriteCond %{HTTP_REFERER} !.*example.com.* [OR]
RewriteCond %{HTTP_USER_AGENT} ^$
RewriteRule (.*) http://%{REMOTE_ADDR}/$ [R=301,L]

Eliminate Auto Links

URL sharing in comments is a completely good but there is also not much validation for not going its opposition. If you are tired of receiving unnecessary comments and have no space to receive any more then you can place the small code in function.php file to remove all the auto links.

See the code below:

remove_filter(‘comment_text’, ‘make_clickable’, 9);

Compress Your Data

In case your website is a taking long time to get loaded and facing growing bounce rate as well then you can successfully pace up your blog easily. You can increase the page speed through sending the compressed form of data to the visitors. The data will automatically decompress form at the end of the user.

To do it properly fix the code below:

AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/javascript text/css application/x-javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch bMSIE !no-gzip !gzip-only-text/html

Create SEO Friendly URLs

It is not at all a good thing to fix name of the category in the URLs. It is a matter of easting the space and also placing a difficult to memorize long URL. Therefore, to choose a brighter way and get rid of it all you can place a small code at htaccess.

See the code below:

RewriteRule ^category/(.+)$ http://www.examplewordpressblog.com/$1 [R=301,L]

This above placed code will change a URL like this:

http://www.examplewordpressblog.com/category-name/today-post-name into
http://www.examplewordpressblog.com/today-post-name

Adjoin Google Analytics

Adding the code of Google Analytics in your WordPress is very simple. You are just required to place the code below:

<?php add_action(‘wp_footer’, ‘ga_custom’);
function ga_custom() { ?>
// your Google Analytics code!
<?php } ?>

Just change the highlighted part with the code.

Insert No Index to Archives

The most opposite idea is to leave your archive pages to be cache by search engines easily. These pages carry no info so it is better to block these pages by inserting noindex in archives. since these pages do not contain any information of their own. To observe this change add the code provided below in header.

See the code below:

<?php if(is_archive()){ ?><meta name=”robots” content=”noindex”><?php } ?>    

We hope all the Superb WordPress Hacks will improve the presence of your blog and make it more SEO friendly.

What do you think?

Written by Tina Smith

Comments

Leave a Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Loading…

0

Comments

0 comments

A Complete Guide for Beginner’s: How to Operate Twitter

Google Paid Search Products Which You Wish To Know