Driving Traffic to Your Web Site

plumpbustlingInternet and Web Development

Dec 4, 2013 (3 years and 9 months ago)

71 views

Driving Traffic to Your Web Site

with Search Engine Optimization

October 16, 2010


URLs that contain text like
index.php?option
=com_
content&view
=
category&layout
=
blog&id
=1&I
temid=50

tell search

engines that such pages are dynamically
created


that is, created on the fly. Search engines downgrade
dynamic pages.

Making
Joomla

URLs Search Engine Friendly


To turn on SEF URLs, follow these steps:

1.
As a super administrator, choose Site


Global Configuration to
open the Global Configuration
page.

2.
In the SEO Settings pane, click the Yes radio button in the Search
Engine Friendly URLs section

3.
Click the Apply or Save button. Then view your site in a browser, and
click a link. (
www.yourjoomlasite.com/index.php/the
-
news will
replace
www.yourjoomlasite.com/index.php?option=com_content&view=ca
tegory&layout=blog&id=1&Itemid=50

**
You can find SEF plug
-
ins in the
Joomla

Extensions Directory
(http://extensions.joomla.org/). Just search for
SEF. One popular,
highly rated
SEF plug
-
in listed in this directory is sh404SEF. You install
SEF plug
-
ins as you do any other
Joomla

extensions.


** Simply selecting the Yes radio button in the Global Configuration page doesn’t
always work on all servers, however. When you tell
Joomla

to use SEF URLs and then try
clicking menu items on your site, you may get 404 errors (“page not found”) because
the techniques
Joomla

uses to rename URLs aren’t working. In that case, you need to
take a few more steps. If you’re using the Apache Web server, you can use the
mod_rewrite

module to instruct
Joomla

to rewrite URLs in
SEF versions.

Checking for
mod_rewrite


First, find out whether your Apache installation includes
mod_rewrite
, follow these
steps:

1.
Create a small test script named phpinfo.pho with these contents:
<?
php

phpinfo
();
?>
This script executes the
phpinfo

function, which displays information
about your PHP
installation.

2.
Upload phpinfo.php to your Web server.

3.
Navigate to the file in your browser. You may have to set the phpinfo.php file’s
protection levels on the host server to executable, just as you would to execute any
PHP script.

4.
Locate the apache2handler section in the page that appears
.
If you don’t see
mod_rewrite

in the Loaded Modules section, it isn’t
being loaded.
To get the
mod_rewrite

module loaded, you can edit the Apache file named
httpd.conf
, which
you find in the apache/conf directory. In particular, look for the boldface line in the
following code:

#
LoadModule

rewrite_module

modules/mod_rewrite.so


Remove the # at the beginning of this line to uncomment it. Then add this
line to
httpd.conf
: (
RewriteEngine

On)


Now Apache’s
mod_rewrite

is ready to go.

Configuring
Joomla

to use
mod_rewrite


When
mod_rewrite

is available, you can configure
Joomla

to use it by renaming a file in
Joomla’s

root directory.
(Remember that you need to do this only if the SEF URL
option in the Global Configuration page breaks the URLs on
your site.) Follow these steps:

1.
Look in the directory where you installed
Joomla

for a
file named
htaccess.txt.

2.
Rename this file .
htaccess
.

3.
Restart Apache.
When Apache restarts, your
new .
htaccess

file takes effect.

4.
Choose Site


䝬潢慬a䍯C晩杵ra瑩潮⁩渠慮礠y慣a
-
敮搠
灡p攠t漠潰o渠瑨攠
䝬潢慬a䍯C晩杵ra瑩潮⁰慧攮


䥮⁴桥I卅传卥t瑩湧猠t慮a 獥汥s琠瑨攠t敳er慤楯a扵bt潮o楮i
瑨攠啳攠䅰慣A攠
浯摟re睲楴e

獥捴楯渮
Voila! SEF URLs
should work for you now.



Unlocking the Secrets of Keywords


You help search engine users find your site by telling the search
engine spiders what
keywords to want them to index your site on.
Then, when people
search for those keywords, the search engine
can bring up your page.

Finding keywords to use


How do you determine what keywords to use? All kinds of helpful
keyword tools are available online, including these:


Google
AdWords

(https://adwords.google.com/select/KeywordToolExternal)


Wordtracker

Keywords (http://freekeywords.wordtracker.com/)


SEO Book Keyword Suggestion Tool
(http://tools.seobook.com/
keyword
-
tools/
seobook
/)


Just enter a topic, and the keyword tool suggests keywords that you
can use to let people search for your topic.

Adding keywords as metadata


After you’ve settled on your keywords, you can tell
Joomla

to add them to
your pages as metadata.
Metadata (data about your Web page) is stored
on
your page in <meta> HTML tags, and search engines read those tags.
You can place information in the <meta> tags that you want search
engines to know, such as what keywords you want users to find your page
with when
they search the Web.


You can use as many keywords on a page as you want, but Google
recommends using no more than 20 per page.


To enter keywords for an article, follow these steps:

1.
Click the article in Article Manager to open the article
-
editor page.

2.
Click the Metadata Information bar on the right side of the page to
open the Metadata Information pane.

3.
In the Keywords text box, enter the keywords you want to assign to the
article, separating them with commas (see Figure 11
-
6).

4.
Click the Apply button to save your work, or click the Save button to
save your work and close the article
-
editor page.

**
Keywords are only one type of metadata you can add to a page. You can
also enter the following types of metadata in the Metadata Information
pane

** More: see P. 259 (279 / 364)

Extending
Joomla


The main source of free
Joomla

extensions (although
many of the developers would be very pleased if you
donated to them) is http://extensions.
joomla.org.
You
can also reach the
Joomla

extensions site from
www.joomla.org by clicking the Extensions link in the
horizontal navigation bar on the site’s front
page.


Another thing that makes the site so great is that each
extension has user
-
feedback ratings. If you see an
extension with four or more stars and many votes,
many people have found it to be a good one. On the
other hand, if you find an extension with many votes
and zero stars (as you will), don’t use it.



Joomla

extensions fall into three categories: modules, components, and
plug
-
ins.


Modules usually display their content on the periphery of a page.
A

Joomla

front page usually contains many modules and a single component.
The modules include the top menu, the menus on the left side of the page,
and the Who’s Online and Polls sections on the right side of the page.
Notice that all these modules are on the periphery of the page. The
component, by contrast, is in the center of the page, displaying the actual
page content.


Modules accept little or no input. A typical module is read
-
only
(such

as
the Who’s Online module) or accepts only minimal input (such as the Polls
module). A component can accept all kinds of input, from article
submissions to user comments in a forum.


Modules have a simple administrative tool.
You manage a module with
Module Manager, which typically offers only a few basic parameters, such
as where the module appears on the page. A component, on the other
hand, can have a very complex administrative interface complete with
many tabs and screens.


Modules tend to be smaller than components.
The most basic difference
is that modules usually are designed to be smaller than components.

** Components and modules can work together. The Search module is one
such example. You enter a search term in the module, and it displays the
results in
a component.


Grooving with plug
-
ins


Plug
-
ins are the most heavy
-
duty
Joomla

extensions, giving
you the greatest
power and control.


Plug
-
ins often work on both the data that users send to
Joomla

and the data that
Joomla

sends to users. An
example would be a special type of WYSIWYG editor that
accepts data from users as they edit the text and that
passes data
to
Joomla

as well.


Plug
-
ins can focus on either the front end or the back end.
Some back
-
end plug
-
ins, such as those for online shopping
carts, have very complex
administrative interfaces.


You can use numerous plug
-
ins in
Joomla
, installing them
the same way that you do modules and components.


See details about installing on P.269 (289 /
364)


Top tens P.281 (301 / 364)