8 articles Uncategorized

Schema for products sold in multiple currencies

The general consensus seems to be creating multiple offers, one for each currency. Source: https://support.google.com/webmasters/thread/80739992?hl=en https://moz.com/community/q/international-seo-ecommerce-rich-snippets#reply_292857 Example:   <div itemtype=”http://schema.org/Product” itemscope> <meta itemprop=”name” content=”Google Nexus 7″> <meta itemprop=”sku” content=”abc123″> <meta itemprop=”gtin14″ content=”00886227537143″ /> <div itemprop=”offers” itemscope itemtype=”http://schema.org/Offer”> <meta itemprop=”price” content=”229.95″ /> <meta itemprop=”priceCurrency” content=”USD” /> </div> <div itemprop=”offers” itemscope itemtype=”http://schema.org/Offer”> <meta itemprop=”price” content=”27800″ /> <meta…

How to create local business schema creation and adding to plugin & wordpress

Go to https://technicalseo.com/tools/schema-markup-generator/ Select Local Business for the schema markup Add business details Copy schema script once adding of the business details is done To add schema for service area that doesnt have address we need to Go to https://technicalseo.com/tools/schema-markup-generator/ Select Local Business for the schema markup Add business details Copy the schema code generated on the…

How to Set WP Super Cache Pages for Static Info Websites

Add Plugins, install WP Super Cache Activate WP Super Cache Plugin Go to WP Super Cache Settings then turn caching on Click Update Status Go to Advanced tab,  Cache Timeout  1800000 seconds Timer 60000 seconds Click Change expiration Go to Preload tab Turn on preload mode (check off) Update refresh pre-leoaded cache every files every…

htaccess collection – mod_rewrite rules

Below are common htaccess redirects for wordpress. #Block a certain domain from being accessed RewriteEngine On RewriteCond %{HTTP_HOST} ^www.somedomainexample.com$ RewriteRule .* – [F]   PHP Alternative for same: if($_SERVER[‘HTTP_HOST’] == ‘www.gooddomain1.com’ || $_SERVER[‘HTTP_HOST’] == ‘gooddomain1.com’){ //run some codes 1; }else{ exit; } Redirection www and non www: By default, wordpress + plugins handle these automatically.…

Composer and Git Command Cheat Sheet

  composer install –ignore-platform-reqs   Commit all files (new install): git add –all git commit -am “[commit message]”   inspect all changes: git add . //stage all files changes up to that point git status //see new / modified / deleted files – splits in two sections –  staged for changes vs not stage for…