seo

Google Places / Google Local Business Center entry

Question: 
How do I reveiew and update my Google Places / Google Local Business Center entry?

To access your account you will need to visit the Google Places pages (formerly known as the Google Local Business Center) and enter your username and password.

The Google places page may be visited by clicking on the link below.

Google Places

Google Analytics account

Question: 
How do I access my Google Analytics account?

To access your account you will need to visit the Google Analytics page and enter your username and password.

The Google Analytics page may be visited by clicking on the link below.

Google Analytics

Import Meta Tags into French Mirror Company Shop

Question: 
How to Import Meta Tags into French Mirror Company Shop

A custom module has been written to import meta tags after using the contributed Node Import module.

It is called "csv Meta Tags" and resides under modules/custom/csv_meta_tags.

As of 9th April 2010 it needs further work as still refers to Calendar but believe functionally the import is working.

Workaround for the duplicate Content-Type meta tag in Drupal

Question: 
How to stop duplicate Content-Type meta tag in Drupal?

<?
$head = str_replace('<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />', '', $head);
print $head
?>

Note the variable $head prints content-Type meta tag twice. Using the above code simply replaces the first occurance with nothing - i.e. removes it.

Make http:// goto http://www and get rid of trailing slashes

Question: 
How to make http:// goto http://www and get rid of trailing slashes

Update the .htaccess file as described below.

# To redirect all users to access the site WITH the 'www.' prefix,
# (http://example.com/... will be redirected to http://www.example.com/...)
# adapt and uncomment the following:
RewriteCond %{HTTP_HOST} ^villa-la-herradura\.com$ [NC]
RewriteRule ^(.*)$ http://www.villa-la-herradura.com/$1 [L,R=301]

#get rid of trailing slashes
RewriteCond %{HTTP_HOST} ^(www.)?villa-la-herradura\.com$ [NC]
RewriteRule ^(.+)/$ http://%{HTTP_HOST}/$1 [R=301,L]

XML Sitemap

Question: 
How to set-up an XML sitemap / site map

This module make the process nice and easy:

http://drupal.org/project/xmlsitemap

Drupal and URL aliases

Question: 
How to set-up URL aliases on Drupal?

The basic form of URLs on Drupal are as follows:


http://www.villa-la-herradura.com/?q=node/157

These are known as 'dirty' or 'unclean' URLs and are not good practice for search engine optimisation.

So the first transformation is to go about getting 'clean' URLs. This is easily obtained by selecting 'Clean URLs' under Site Configuration. And then selecting 'Enabled' for clean URLs. Note, your server will need to support this feature.

So now the previous dirty URL will now be as follows:


http://www.villa-la-herradura.com/node/157

Printing of meta data on Drupal home page

Question: 
How to print meta data on home page of Drupal websites?

The module Nodewords facilitates easy management of meta data on Drupal websites.

To set-up meta data for the home page note it's done via the URL path of admin/nodewords/meta-tags/frontpage and not by editing the fields within the content (node) that has been used as the home page.

Using the Drupal menu navigate as follows:

Administer -> Meta tags -> Default and specific meta tags -> Front Page

Automatically create seo friendly URLs

Question: 
How to automatically create seo friendly URLs

The module pathauto allows the automatic creation of seo friendly URLs.

Site URLs indexed by Google

Question: 
How to check which URLs of a site are held by Google?

Within the Google input box enter site: followed by the site URL.

For example entering the below (without spaces):

site:www.zerotouch.com

will show all the URLs held by Google for this site.