Joomla : Extensions    More on OpenSEF  

Page 1


Here's the OpenSEF Configuration screen again.


open full sized image




Page 2


Looking at a sample URL, we can see that it consists of:

Section name - Category name - Title.

Let's shorten that a bit.

  1. Click on the SEF tab
  2. Change the Content URL Structure to /Category/Title.
  3. Click Save.

open full sized image




Page 3


Hmm... nothing happened. The URL is the same as before.

Why is that? The problem is, OpenSEF already mapped this URL. That is, it already created a readable URL to correspond to the not-so-readable Joomla URL. It did that when we clicked on the link the first time. The new mapping scheme will only apply to mappings that are created from now on this site.


open full sized image




Page 4


Let's see how these mappings work. Click on Manage Friendly URLs.


open full sized image




Page 5


Now click on List Friendly URLs.


open full sized image




Page 6


The mappings are listed. The indicated mapping is showing the URL we clicked on before. We could delete it, in which case OpenSEF will make a new mapping according to our new specifications. But let's try something else...


open full sized image




Page 7


If we click on the mapping, we get the Edit Friendly URL screen. We can then

  1. change the URL to whatever we want
  2. click Save.

open full sized image




Page 8


Now when we try to refresh the page with the previously mapped URL, no page is found, because OpenSEF doesn't recognize that URL any more.


open full sized image




Page 9


But if we return to the home page and click on the link...


open full sized image




Page 10


We get the correct page, via the newly mapped URL.


open full sized image




Page 11


Now that we've seen how mappings work, we're ready to use OpenSEF to take care of mapping the old non-Joomla pages of this site to the new Joomla pages.

Here's a page on the old site that is still accessible. However, we don't want users to view this page. We want users to get one of the new pages when they enter the old URL into their browser.


open full sized image




Page 12


Back in the OpenSEF Administration, we'll select New Friendly URL.


open full sized image




Page 13


  1. In this case the Friendly URL is the old, non-Joomla URL (without the domain name). This is the URL users will be entering into the browser. This is a "relative URL", meaning, we just enter the URL without the domain name, that is, "/ref.html".
  2. The Internal URL is the URL of the Joomla page we want users to go to when they enter the "friendly URL" in their browser. In this case, we got this URL from the mapped URL that we previously looked at. The internal URL was listed on the list of mappings we saw before. Note: this URL has no leading slash.
  3. Click Save.

open full sized image




Page 14


When we click Save, we return to the Friendly URLs mappings list, and can see that our new mapping is listed.


open full sized image




Page 15


Returning to our site, we enter the old URL which we just mapped, and see that the new mapping isn't working... why is that?

The reason is that the old page still exists on the server. When the server receives a request for a page, it first looks for a file matching that page name. If it finds it, it will send back that file to the browser. Otherwise, it will try something else, like looking in the rules from the .htaccess file.


open full sized image




Page 16


Here's the ref.htm file on the server (viewed in FileZilla).


open full sized image




Page 17


We've just renamed the file to "ref.old.htm".


open full sized image




Page 18


Now when we refresh the old URL in the browser, the Joomla page mapped to this URL is displayed.


open full sized image




Page 19


OpenSEF has a number of other useful features.

Here is the OpenSEF page for setting up a Google Sitemap. A Google Sitemap can be used to make your site more easily indexable by Google.


open full sized image




Page 20


The SEO Assistant page has a number of useful "SEO" (Search Engine Optimization) features such as showing Google Page Rank or Search Engine Position.


open full sized image




Page 21


More features are being adding to OpenSEF at a rapid pace. OpenSEF even has a tool to allow you to check for upgrades and install them automatically.

  1. Here we've selected Upgrades and Addons in the Tools and Utilities section
  2. We're getting an error message because this server is not set up to allow php to open remote urls. This will depend on your hosting provider. For some hosts, adding the line "php_flag allow_url_fopen on" to your .htaccess file will fix this problem.

open full sized image



Text Author: Joe Orr  
Created with Screenbook Maker   Additional Trademark and Copyright Information