May 3, 2017

Adding specific HEADER code (script) into a specific Page of WORDPRESS including WOOCOMMERCE products

  Insert into header.php before ending the head tag: <?php $id = get_the_ID(); if( $id == 3494 ) { ?> <script type=”application/ld+json”> { “@context” : “http://schema.org”, “@type” […]
May 1, 2017

Steps to Block IP Address From Plesk (For VPS and Dedicated Server)

Plesk 9.x 1. Login to Plesk control panel. 2. Click on Modules >> Firewall >> Edit Firewall Configuration. 3. Click on ‘Add Custom Rule’. 4. Enter […]
April 28, 2017

Important Product Tag in Google Search Results

One example is given below: Opportunity: For example, if a company’s all product lists (tours) are shown as below. Using structured data based price tagging, all […]
April 27, 2017

Adding specific HEADER code (script) into a specific Page of Joomla

Under template.php (of your theme / template):   <?php $jinput = JFactory::getApplication()->input; $foo = $jinput->get(‘id’); ?> <?php if ($foo==10) { ?> <script type=”application/ld+json”> { “@context” : […]
November 26, 2015

RegEx tutorial (1)

We need to change from http://ulurutoursaustralia.com.au/uluru-facts.html/76-the-culture-and-heritage-of-the-pitjantjatjara-in-central-australia.html to http://ulurutoursaustralia.com.au/uluru-facts/the-culture-and-heritage-of-the-pitjantjatjara-in-central-australia.html Solution at htaccess:   Options +FollowSymLinks -MultiViews # Turn mod_rewrite on RewriteEngine On RewriteBase / RewriteRule ^([a-z-]+).html/[0-9][0-9]-([a-z.-]+) http://ulurutoursaustralia.com.au/$1/$2 [L,R=301,NC]