Search Engine Optimisation: Difference between revisions
From Joomla! Documentation
Betweenbrain (talk | contribs) No edit summary |
Betweenbrain (talk | contribs) No edit summary |
||
| Line 8: | Line 8: | ||
'''Joomla specific SEO / SEF tricks | '''Joomla specific SEO / SEF tricks:''' | ||
Posted by dextercowley in regards to correcting a problem when enableing Search Engine Friendly URLs in the Global Configuration of Joomla 1.5.2 and tested and verified to be true for 1.5.3 as well. | |||
Posted by ''dextercowley'' in regards to correcting a problem when enableing Search Engine Friendly URLs in the Global Configuration of Joomla 1.5.2 and tested and verified to be true for 1.5.3 as well. | |||
" ... edit configuration.php as var $live_site = <nowiki>'http://www.mysite.com'</nowiki> " | " ... edit configuration.php as var $live_site = <nowiki>'http://www.mysite.com'</nowiki> " | ||
Note that default configuration.php is <nowiki>var $live_site = ''</nowiki> | Note that default configuration.php is <nowiki>var $live_site = ''</nowiki> | ||
Posted by ''juanparati'' | |||
Add a static text in the <title> | |||
Open the file: | |||
libraries/joomla/document/html/renderer/head.php | |||
Search for the next piece of code: | |||
<nowiki>$strHtml .= $tab.'<title>'.htmlspecialchars($document->getTitle()).'</title>'.$lnEnd;</nowiki> | |||
Add your statict text for example: | |||
<nowiki>$strHtml .= $tab.'<title> All about Canada - '.htmlspecialchars($document->getTitle()).'</title>'.$lnEnd;</nowiki> | |||
The text into the <title> tag is very important for the search engines. | |||
If you need obtain a great search results for the word "All about Canada" I recommend your put the static text before of the $document->getTitle(); | |||
Other important thing, is don't use symbols like <nowiki>":", "-", "$",</nowiki> etc for the title. | |||
Revision as of 03:48, 20 June 2008
SEO refers to Search Engine Optimisation. SEO is the process of improving the volume and quality of traffic to a web site from search engines. SEO can also be referred to as SEF, or Search Engine Friendly.
See also:
Joomla specific SEO / SEF tricks:
Posted by dextercowley in regards to correcting a problem when enableing Search Engine Friendly URLs in the Global Configuration of Joomla 1.5.2 and tested and verified to be true for 1.5.3 as well.
" ... edit configuration.php as var $live_site = 'http://www.mysite.com' "
Note that default configuration.php is var $live_site = ''
Posted by juanparati
Add a static text in the <title>
Open the file: libraries/joomla/document/html/renderer/head.php
Search for the next piece of code:
$strHtml .= $tab.'<title>'.htmlspecialchars($document->getTitle()).'</title>'.$lnEnd;
Add your statict text for example:
$strHtml .= $tab.'<title> All about Canada - '.htmlspecialchars($document->getTitle()).'</title>'.$lnEnd;
The text into the <title> tag is very important for the search engines.
If you need obtain a great search results for the word "All about Canada" I recommend your put the static text before of the $document->getTitle();
Other important thing, is don't use symbols like ":", "-", "$", etc for the title.