Less is more

java-script-codeSEO is almost like the Olympic principle –  lighter, faster, higher (in SERP) .

The more simple, lightweight and fast is your site – the more it is better – for search engines  and  for users.

No more Mr. Java Script!

Try everything superfluous and unnecessary to remove or improve.  I personally quite a while I’m not a fan of Java script ( because then by Google recommending that use that hinders their bot ) and so far has tried to bring the scripts to a minimum. The effect is amazing – we have sites without a single JS file (unless Google analytics code), and only one CSS file – and perfectly indexed , respectively, and getting very good. Of course , SEO takes a bunch of things and can not rely on it only.

I know that with the boom of the ready-to-use content management systems (Word Press, Drupal and Joomla) – for setting and opportunities for personal configuration it’s not possible to NOT use JS completely, but let’s at least try to cut it .


For Word Press has good plugins for gzip compression (Super Cache, Hyper cache and others – even one of our countryman Martin Lazarov, very capable programmer) , but any additional plugin adds JS to your WP site and it aggravates .

So I suggest at least 2 options for gzip on your site without a WP plugin.

They depend on your hosting company.  Some hosting companies support GZIP by a simple . httacess file to compress the entire site.

The code is of the type –

<IfModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_keep_workfiles No
mod_gzip_can_negotiate Yes
mod_gzip_add_header_count Yes
mod_gzip_send_vary Yes
mod_gzip_command_version ‘/mod_gzip_status’
mod_gzip_min_http 1000
mod_gzip_minimum_file_size 300
mod_gzip_maximum_file_size 512000
mod_gzip_maximum_inmem_size 60000
mod_gzip_temp_dir /tmp
mod_gzip_item_include file \.pl$
mod_gzip_item_include file \.rb$
mod_gzip_item_include file \.py$
mod_gzip_item_include file \.cgi$
mod_gzip_item_include file \.css$
mod_gzip_item_include file \.js$
mod_gzip_item_include mime ^application/javascript$
mod_gzip_item_include mime ^application/x-javascript$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^httpd/unix-directory$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include handler ^server-status$
mod_gzip_item_include handler ^server-info$
mod_gzip_item_exclude mime ^image/.*

<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/css A604800
ExpiresByType image/gif A2592000
ExpiresByType image/png A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType video/x-flv A2592000
ExpiresByType application/pdf A2592000
ExpiresByType image/x-icon A2592000
ExpiresByType application/x-javascript A604800
ExpiresByType application/x-shockwave-flash A2592000

Other hosting companies offer by 3 files – gzip_start.php, gzip_stop.php and php.ini to compress your site.
Contact your hosting company and ask them for help.

Google authorship

No, you do not need a plugin for Google Authorship – with colleague Christian Katzarov – we tested two, both did not work .

Finally I did it with a simple solution – in header.php file of WP site put this code and everything fell into place – light and bright.

<link href=”https://plus.google.com/1234567890/” rel=”author” />


You do not need a plugin to sitemap ( sitemap for search engines ) . , There are a dozen plugins for this, but not all work correctly , and aggravated , as I said above.

The following code generates your current dynamic site map, solve the problem entirely . Code have to be placed at the end of the file functions.php

/* create XML sitemap */
function create_sitemap_xml() {
if(parse_url(get_site_url(), PHP_URL_PATH).’/sitemap.xml’ == $_SERVER[‘REQUEST_URI’]) {
header(‘HTTP/1.1 200 OK’);
header(‘Content-Type: application/xml’);

$posts = get_posts(array(‘posts_per_page’ => -1,’post_type’ => array(‘post’,’page’)));

$sitemap = ‘<?xml version=”1.0″ encoding=”UTF-8″?>’.”\n”;
$sitemap.= ‘<urlset xmlns=”http://www.sitemaps.org/schemas/sitemap/0.9″>’.”\n”;
$sitemap.= “\t<url>\n\t\t<loc>”.get_home_url().”/</loc>\n\t</url>\n”;
foreach($posts as $post) {
$sitemap.= “\t<url>\n\t\t<loc>”.get_permalink($post->ID).”</loc>\n\t</url>\n”;
$sitemap.= ‘</urlset>’.”\n”;



Special thanks to my colleague Vasil Toshkov (Cloxy) for this code.

These are just some individual cases , but I give them to show you the direction in which you have to think and work on your site.

Analyze, streamline , optimize …

Borislav Arapchev

The manager of Idea Studio Ltd. Mr. Borislav Arapchev has taught lectures at SEO Conference Sofia 2011, 2013, 2014 and 2015, a lecture at the seminar SEO Optimization 2011 in Plovdiv, e-Comm 2017, also participated as a speaker at 2011 software Telerik Academy and e-Manager 2013. Idea Studio Ltd. is the first SEO company in Bulgaria awarded as a SEO agency at Forbes Bulgaria Evolution Awards 2013.

Leave a Reply