| Joomla URL Week Part 1 - Default Joomla URLs |
|
| Sunday, 01 April 2007 | |
|
"What is the best URL setup for Joomla and why?"
Reading around, I haven't been able to find a clear answer currently available. So to resolve this question, this will be "Joomla URL Week" here at Alledia.
Each day we're going to break down one of the five most common URL setups with Joomla:
Today, we take you through the default Joomla URLs and help you to understand why they are the way they are. What Do the URLs Look Like?
How Do I Set Up This Option?Just install Joomla. These URLs are produced automatically.
Files Used in the Joomla URLThe first part of all default Joomla URLs is the file through which the page is loaded:
/index.phpAll regular requests for Joomla frontend pages go through here and will appear in the URL.
/index2.phpUsing this in the URL removes the template from the page so it is utilized for pop-ups such as the PDF and email pages. Variables Used in the Joomla URLThe second, longer part of URL is not related to a file, but instead mainly uses information stored in the database. It uses "variables" (because they change depending on the situation) to create each page that the user wants:
$option
$task
$id
$Itemid
This is not a complete list of variables that might appear in the URL, but they are the most common. Almost every component adds its own tasks for what it needs to do.
Advantages
Disadvantages
When Should You Use This Option?Never. Its as simple as that. In addition to the search engine ranking disadvantages outlined above, consider your poor users. The default Joomla URLs we've talked about are confusing, difficult to remember and difficult to type.
Even when you don't have mod_rewrite on your server and can't get it installed, there is a great hack posted on the Joomla forums that enables you to create SEF URLs. I have yet to see a server set-up where its either particularly difficult or even impossible to create better URLs than this. Keep reading, because over the next few days we'll discuss better alternatives that can increase your site's popularity with visitors and search engines.
Set as favorite Bookmark
Email This
Comments (8)
![]()
...
written by Brian Teeman, March 31, 2007
i think it wasme that made the sugestion
Really looking forward to reading the rest of the weeks articles. written by Justin Whittaker, April 02, 2007
Hi Steve. Thanks for writing these articles from my question!
Write comment
|

Working in Joomla SEO and browsing the forums, there is one question I hear more frequently than any other:

