Very Clean URLs

This Prestashop override-module allows you to have estore with the best SEO links.

View the Project on GitHub Lebioda/PrestaShop-modules-CleanURLs

README

COMPATYBILITY

OK 1.5.6

ABOUT

This PrestaShop module is based on PrestaShop-modules-CleanURLs

Thanks to original version you can delete IDs from all friendly links.

This version gives additional possibility to use templates of links to achieve links like below:


Only {rewrite} (without extension .html or .php, without any words before, without '/' at the end) for eg.

* domain.com/product-link
* domain.com/parent_categories/category-link
* domain.com/category-link
* domain.com/manufacturer-link
* domain.com/supplier-link
* domain.com/cms-link

Just use {rewrite} for: products, manufacturer, supplier, cms. For category you can use the same or {parent_categories:/}{rewrite}.


If you need, you can add any additional words or {any keyword} before /{rewrite} for eg.

* domain.com/{manufacturer:/}product-link
* domain.com/manufacturers/manufacturer-link
* domain.com/suppliers/supplier-link
* domain.com/cms/cms-link

Important:

  1. Categories of CMS are currently not supported. You can use only main category.
  2. Route to category with attribute selected_filter for the module block layered should have any word, eg. filter: {rewrite}/filter{selected_filters}

INSTALLATION

Download zip file from GitHub, unpack and pack only 'cleanurls' folder.

Install the module from the Backoffice (administration panel)

In the modules tab, click on add a new module. Click on Browse to open the dialogue box letting you search your computer, select the file then validate the dialogue box. Finally click on Upload this module.

UNINSTALLATION

Go to modules -> Find and uninstall "CleanURL".

Open folder /cache/ -> Remove "class_index.php"

Go to back office -> Preferences -> SEO and URLs -> Set userfriendly URL off -> Save

Go to back office -> Preferences -> SEO and URLs -> Set userfriendly URL on -> Save

If you got any other override modules, you should now go to you back office, uninstall them, and reinstall them again to work correctly.


THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.