Giter Site home page Giter Site logo

prestashop_module-zzcleanurls's Introduction

  • For production use the latest stable release
  • For developing or Pull Request please use only the "dev" branch

We are going to merge other users' contributions and ideas as soon as we note them and find the time to test.

If you fork please make every change the way we can pull, don't reinvent the wheel .. make every custom change on a private branch, so you can merge your own changes to the community mintained full branch every time a new release is out.

It has been reported to work on PS 1.5.6 - 1.6.1.x but will install on PS >= 1.5 too. If you succesfully use this module on some older version please report

INSTALLATION

Install the module from the Backoffice (administration panel), download the release ZIP binary as it already contains the right folder name (zzcleanurls, not zzcleanurls-version_x.y.z !)

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.

Make sure your SEO and URL settings are as follows:

This is MANDATORY

  • products: {category:/}{rewrite} (you can add .html at the end)
  • categories: {parent_categories:/}{rewrite}/
  • manufacturers: manufactures/{rewrite}
  • suppliers: suppliers/{rewrite}
  • CMS page: info/{rewrite} (you can add .html at the end)
  • CMS category: info/{rewrite}/
  • modules: module/{module}{/:controller}

You can replace words such as "info", "suppliers", etc with whatever you want given that it does not conflicts with a category name

Remember to

  • clear the browser cache
  • clear PS cache (under smarty -> cache and smarty -> compile)

UNINSTALLATION

  • Go to modules -> Find and uninstall "zzcleanurls"

It should suffice!

If something goes wrong do the following:

  • Open folder /override/classes/
  • Remove "Link.php"
  • Remove "Dispatcher.php"
  • Open folder /override/controllers/front/
  • Remove "CategoryController.php"
  • Remove "CmsController.php"
  • Remove "ManufacturerController.php"
  • Remove "ProductController.php"
  • Remove "SupplierController.php"
  • 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.

prestashop_module-zzcleanurls's People

Contributors

ha99y avatar lebioda avatar wayann avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.