Portal

Search Engine Optimisation: Difference between revisions

From Joomla! Documentation

No edit summary
No edit summary
 
(62 intermediate revisions by 18 users not shown)
Line 1: Line 1:
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.
<noinclude><languages /></noinclude>
<translate><!--T:1-->
Search Engine Optimisation (often abbreviated to SEO) refers to the process of improving the volume and quality of traffic to a Website from search engines. A site that has been optimised according to SEO practices is said to be Search Engine Friendly (often abbreviated to SEF).</translate>


See also:
{{dablink|<translate><!--T:2-->
* [[Beginners#Address_Search_Engine_Optimization|Beginners: Address Search Engine Optimisation]]
The main article about SEO is [[S:MyLanguage/Making your site Search Engine Friendly|Making your site Search Engine Friendly]], which lists steps that lead to a better search engine ranking.</translate>}}
* [[Search Engine Optimisation|Search Engine Optimisation]]


[[Category:Landing Pages]]
<translate><!--T:3-->
A somewhat important SEO technique that also helps your users is using [[S:MyLanguage/Search Engine Friendly URLs|Search Engine Friendly URLs]].</translate>


{{tip|<translate><!--T:4-->
See the [[S:MyLanguage/Enabling Search Engine Friendly (SEF) URLs|Enabling Search Engine Friendly (SEF) URLs]].</translate>|title=<translate><!--T:5-->
For more articles and information:</translate>}}


'''Joomla specific SEO / SEF tricks:'''


 
<div class="large-4 column">{{section portal heading|icon=search|size=0.25x|title=<translate><!--T:7-->
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.
Getting started</translate>}}
 
<translate><!--T:8-->
" ... edit configuration.php as var $live_site = <nowiki>'http://www.mysite.com'</nowiki> "
*[[S:MyLanguage/Making your site Search Engine Friendly|Making your site Search Engine Friendly]]
 
*[[S:MyLanguage/Using_A_Sitemap|Using a Sitemap]]
Note that default configuration.php is <nowiki>var $live_site = ''</nowiki>
*[[S:MyLanguage/Using_The_Title_Tag|Making the most of the title tag]]
 
*[[S:MyLanguage/Using_The_Meta_Description|How to write good meta descriptions]]
 
*[[S:MyLanguage/Using_Keywords|Planning and using keywords]]</translate>
 
</div>
== Add a static text in the <nowiki><title></nowiki> ==
<div class="large-4 column">{{section portal heading|icon=wrench|size=0.25x|title=<translate><!--T:9-->
 
Troubleshooting</translate>}}
Open the file:
<translate><!--T:10-->
libraries/joomla/document/html/renderer/head.php
*[[S:MyLanguage/Common problems when enabling Search Engine Friendly (SEF) URLs|Common Problems]]
 
*[[S:MyLanguage/Monitoring SEO|Monitoring SEO]]</translate>
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.
 
 
Posted by ''juanparati''
 
 
 
== Add heading tags in the titles for more relevance ==
 
 
Search engines give a special relevance to the senteces between a "H" tag like <nowiki><h1></nowiki>, <nowiki><h2></nowiki> or <nowiki><h3></nowiki>.
 
I you want put a "H" tag to joomla 1.5 you need edit some files:
 
Open components/com_content/views/category/tmpl/blog.php
 
seach for this piece of code (Line 5):
 
<nowiki>
<div class="componentheading<?php echo $this->params->get('pageclass_sfx');?>">
  <?php echo $this->escape($this->params->get('page_title')); ?>
</div>
</div>
</nowiki>
<div class="large-4 column">{{section portal heading|icon=trophy|size=0.25x|title=<translate><!--T:11-->
 
Advanced SEO</translate>}}
 
<translate><!--T:12-->
add your "H" tags between the title like this:
*[[S:MyLanguage/J5.x:Schema_org|Schema.org - Rich Snippets]]
 
*[[S:MyLanguage/Microdata|Microdata]]
 
*[[S:MyLanguage/Google Updates|Google Updates]]
<nowiki>  
*[[S:MyLanguage/Add_Static_Text_In_Title_Of_Page|Add static text in the title of pages]]
<div class="componentheading<?php echo $this->params->get('pageclass_sfx');?>">
*[[S:MyLanguage/Using_RSS_Feeds_To_Share_Content|Using RSS feeds to encourage traffic]]
  <h1><?php echo $this->escape($this->params->get('page_title')); ?></h1>
*[[S:MyLanguage/Using_Tag_Manager|Using Google Tag Manager]]
*[[S:MyLanguage/Robots.txt_file|Using the robots.txt file in Joomla]]
*[[S:MyLanguage/Enabling_HTTPS_on_your_site|Moving your website to use https]]
*[[S:MyLanguage/Linking_To_Other_Sites|Linking To Other Sites]]</translate>
</div>
</div>
</nowiki>


 
<noinclude>
If you add more "H" tags between the joomla titles search into the tmpl directories for the code:
<translate>
 
<!--T:6-->
<nowiki>   get('page_title')</nowiki>
[[Category:Landing Pages]]
 
[[Category:Search Engine Optimisation]]
 
</translate>
And add the "H" tags.
</noinclude>
 
Remember normalize the font-size of the "H" tags using css, for example
 
Edit your template css and add something like:
 
 
<nowiki>   .componentheading h1 {
      font-size: 16px;
    }</nowiki>
 
 
Posted by ''juanparati''

Latest revision as of 14:38, 10 January 2024

Search Engine Optimisation (often abbreviated to SEO) refers to the process of improving the volume and quality of traffic to a Website from search engines. A site that has been optimised according to SEO practices is said to be Search Engine Friendly (often abbreviated to SEF).

A somewhat important SEO technique that also helps your users is using Search Engine Friendly URLs.

For more articles and information:

See the Enabling Search Engine Friendly (SEF) URLs.