How to custom meta tags in joomla website

SEO TIPS JOOMLA – How to custom meta tags in joomla website. Meta tags are a great way for webmasters to provide search engines with information about their sites. Meta tags can be used to provide information to all sorts of clients, and each system processes only the meta tags they understand and ignores the rest. Meta tags are added to the <head> section of your HTMLpage and generally look like this:

How to custom meta tags in joomla website

How to custom meta tags in joomla website

1.<!DOCTYPE html>

4.<meta charset=”utf-8″>
5.<meta name=”Description” CONTENT=”Author: A.N. Author, Illustrator: P. Picture, Category: Books, Price: £9.24, Length: 784 pages”>
6.<meta name=”google-site-verification” content=”+nxGUDJ4QpAZ5l9Bsjdi102tLVC21AIh5d1Nl23908vVuFHs34=”/>
7.<title>Example Books – high-quality used books for children</title>
8.<meta name=”robots” content=”noindex,nofollow”>
Google understands the following meta tags (and related items):

01.<meta name=”description” content=”A description of the page” />
02.<title>The Title of the Page</title>
03.<meta name=”robots” content=”…, …” />
04.<meta name=”googlebot” content=”…, …” />
05.<meta name=”google” content=”notranslate” />
06.<meta name=”google-site-verification” content=”…” />
07.<meta http-equiv=”Content-Type” content=”…; charset=…” />
08.<meta charset=”…” >
09.<meta http-equiv=”refresh” content=”…;url=…” />
Then How to custome it?

1. Use Metakey SEO plugin

for example: SEO Simple native Joomla 1.5/Joomla 1.6/Joomla 1.7/Joomla 2.5 plugin Joomla SEO 2.5

or alot of SEO and Metadata extensions

2. Use template code following joomla API:

There are two ways you can modify what is written to your head section.

Use the JDocument methods to insert meta and script tags in the head section.
Hard code the meta and script tags directly in the template index.php file.
This article is about option number one. You first need to get an instance of the current document and call the methods to modify the head. The head section tags will be added before the page is rendered.

01.//First get the current document object
02.$doc = &JFactory::getDocument();
04.//Will create a empty generator meta tag. If you dont want
05.//everyone to know site is running on Joomla.
07.//Sets the description meta tag
08.$doc->setDescription(‘some desc’);
09.//sets the title tag
10.$doc->setTitle(‘Some Title’);
11.//create a meta tag
13.//adds a linked style sheet
15.//adds a linked javascript or other type of script file
17.//add a custom tag. Use to add any kind of tag to the head section.
19.//Add custom javascript code snippet. Pass in javascript code and
20.//will add the <script> tags for you. Joomla places these snippets
21.//after placement of addScript() scripts.
23.//Add custom css style snippet. Pass in css styles and will add
24.//the <style> tags for you. Joomla will place these styles after
25.//placement of addStyleSheet() styles.