This app is based on Ultimate SEO URLS 5 Pro for Oscommerce 2.3 by Jack_mcs.
User Friendly URL rewrites the standard Phoenix URLs to make them more user friendy and with multi-language support.
Products URLs can be composed with any combination of product, category, manufacturer or model names in any order. It can be changed and the old URL will redirect to the new one.
For example if you choose category/brand/model/product-name and if the uri type is path based your product url will look like:
www.mysite.com/vegetables-von-peacock-green-tomatoes-gtom-p-6.html
instead of the regular:
www.mysite.com/product_info.php?products_id=6
It also adds the ability to diferentiate URLs by language, creating different URL addresses for each one, something crucial if you want your pages to be indexed correctly by browsers depending on its target language.
Stock Phoenix returns the same URI for all the language localized versions of a page. This app will make them different pages, i.e.:
Note default language will not include the language path (/en/, /es/, /fr/, /de/...)
The app also icludes canonical and hreflang modules that adds differentiating tags to these pages. This highly improves Phoenix SEO capabilities for multi-lingual shops.
With the canonical tags Info pages will be linked to their corresponding .php file, avoiding the spiders finding duplicated content, i.e.;
www.mysite.com/info.php?pages_id=1
will become
www.mysite.com/privacy-cookie-policy-pi-1.html
and both canonicat tags on these pages will point to
www.mysite.com/privacy.php
as the default URL for the same content.
With hreflang tags each page will containg links of other localized version of itself:
UFR also has the ability to cache URLs, using three methods: File, SQLite or Mysql based. This will improve the page generation times by saving database queries, specially on sites with lots of products and categories or servers with low resources.
The new 404 page includes the 404 header, as opposite to the stock module.
You can personalize your "404 Not found" page. The template is located at: /templates/default/includes/pages/notfound_404.php
Included in this package is a sitemap generator compatible with multiple languages. It will generate separate sitemaps for products, categories and other pages.
To generate the sitemap you must access /sitemaps/index.php directory of your website. This task can be automated if you wish.
You have finished installation. There are no core code changes.
Setup will try to add the following lines to the .htacces file on the root of your site. Succes will depend on your server's setup. If this can't be automatically done you'll have to manually modify this file by adding the follwing block at the end:
Based on how you access your web shop modify RewriteBase as follows:
I access my site as www.mysite.com/ | RewriteBase / |
I access my site as www.mysite.com/catalog/ | RewriteBase /catalog/ |
I access my site as www.mysite.com/catalog/shop/ | RewriteBase /catalog/shop/ |
mod_rewrite must be compiled in apache and AllowOverride set to ALL in httpd.conf (usually this is already in place)
If you want to use ReWriteRules you have to have either ISAPI rewrite or IIS rewrite installed on the server, you will also have to have the .htaccess rules converted.
If with the standard and path standard uris you get page not found this probably means that your server does not allow path based querystrings. In such cases you will need to use the rewrite uri types. To test if your server has this issue try accessing your web shop like www.mysite.com/index.php/test/. if it fails to load the page then you have this problem.
These are the settings you will find in Admin->Configuration->USU:
Enable SEO URLs | Turn on/off switch for the whole app. |
Enable the cache | Turns caching system on/off. No queries are used after the cache is fully loaded. |
Select your chosen cache system. |
File: Stores the cache as a text file. MySQL: Stores the cache in the database. SQLite: Stores the cache in a SQlite database. Needs Sqlite PHP extensions installed on the system. Memcache: Stores the cache in memory. Needs Memcache installed on the system. |
Set the number of days to store the cache | How many days a cache will be kept before auto deleting itself. |
Choose the URI format |
Standard Seo Urls: Path Standard Seo Urls:
Traditional Rewrite Seo Urls: (*) Path Rewrite Seo Urls (*) (*) = Requires mod_rewrite and RewriteRules added to .htaccess |
Choose how your product link text is made up URLs can be composed with any combination of: product, category, manufacturer or model names in any order. It can be changed and the old URL will redirect to the new one. There are 49 different ways to write your products link text. |
|
Filter Short Words When creating a link from a product name you may want to remove the shorter words .. like a | or | at | the .. etc. |
Default value is 1 but you can choose to filter short words of 1 2 or 3 letters. A setting of 3 would filter out all words of three letters or less. |
Add category parent to the beginning of the url | Enables/disables the option of adding the category parent to the beginning of category URLs. |
Remove all non-alphanumeric characters | Removes all non alphanumeric characters. Default is true. If your language uses special characters you will need to use the conversion system. See includes/apps/ultimate_seo_urls/includes/character_conversion directory and search for you language(s) files. |
Add cPath to product URLs | Adds ?cPath=x to the end of product urls. |
Turn performance reporting on/off | Shows USU5 performance at the bottom of your web shop. Should be set to false on a live site! |
Turn variable reporting on/off | Shows USU5 class properties at the bottom of your web shop. Great for debugging. Should be set to false on a live site! |
Force www.mysite.com/ when www.mysite.com/index.php | Redirects index.php to your base domain. Beware! on some servers this creates a redirect loop so turn it on. Try it. If it creates a loop then turn it OFF. |
Reset SEO URLs Cache | Clicking on "reset" will empty the cache. |
You can install or uninstall the optional modules directly in the app configuration screen instead of browsing for them in the modules menu.
When enabling one of the modules it will de-activate the corresponding stock module.
Hreflang and navbar/box modules are only useful if you have more than one language installed. Canonical module will work for all shops
It has a modular construction, so you can create your own modules for custom pages and put them at /includes/apps/ultimate_seo_urls/canonical_modules/ directory.
There are four stock modules for index.php, info.php, product_info.php and write.php. These modules will manage the URL rewriting for those stock pages that uses querystrings (i.e.?products_id=1).
You can create new modules for other apps at /includes/apps/ultimate_seo_urls/page_modules/ directory.
You have the ability to add individual character conversion files to the following directory:
catalog/includes/apps/ultimate_seo_urls5/includes/character_conversion/
The files must be named exactly the same as your language file in catalog/includes/languages/ - e.g. danish.php or german.php or espanol.php etc.
For most of these files I have tried to put the special characters in the array but it is up to you to add the English equivalents.