<tip c n>NOTE: The SEO addon requires use of "Apache rewrite module" or "mod_rewrite". Without this server capability installed, enabled, and working properly for your server, the SEO addon will not be able to do it's job.</tip>
The SEO addon comes included with the GeoCore software. Below are instructions for installation and initial configuration.
ADDONS > MANAGE ADDONS
<tip c n> If you are using Windows IIS the above rules will not work directly. They will need to be imported by IIS. Let IIS import the htaccess file. It will create web.config if one is not there already. Save the changes. The site will produce an error. In the web.config, search for:
/"
and replace it with:
\"
in multiple locations. Save it. The URL rewrite works.
Note that you will need to redo this each time the rules need to be rewritten like with url changes, some version updates, …etd </tip>
From time to time you will need to recreate the contents of the .htaccess so that the rules are updated to match changes in the feature. This can happen most if instructed to within a version update, if you change the SEO url configuration or possibly if you were using the SEO addon before configuring the storefront addon and using the SEO feature in it. Or you could have removed or overwritten your current .htaccess file with another file.
It's still as easy as the installation of the htaccess rules but all the more easier now that you have done it at least once before. The first step to recreating the rules to populate the htaccess file with is to click the following button in the admin tool:
ADDONS > SEO > GENERAL SETTINGS > APPLY ALL SETTINGS
And then click the "yes" button below that. You will then be given the contents to paste into the .htaccess file you have now OVER the current Geo rewrite rules in that file. You must have only one copy of the Geo rewrite rules within that file. Once pasted into the .htaccess file you can reupload it to your site and test.
Make sure the following setting is checked to turn on the feature afterwards:
ADDONS > SEO > GENERAL SETTINGS > Re-Write URLS