Giter Site home page Giter Site logo

faktiva / prestashop-clean-urls Goto Github PK

View Code? Open in Web Editor NEW
118.0 31.0 52.0 1.25 MB

Prestashop module. This override module allows to remove IDs from URLs

License: MIT License

PHP 100.00%
prestashop prestashop-module seo url-shortener url freeware prestashop-free-module prestashop-1-6

prestashop-clean-urls's Introduction

GitHub release Project Status Percentage of issues still open Average time to resolve an issue composer.lock Dependencies Status License

Join the chat at https://gitter.im/faktiva/prestashop-clean-urls Twitter Donate


Makes possible to have URLs with no IDs in PrestaShop.

Warning: This SW is unmaintained

This module is NOT intended to work on PS 1.7.x (it may, but it is not supported at all)

For production use the latest stable release

It has been reported to work on **PS 1.7.7 ** but will install on PS >= 1.5 too.

INSTALLATION

from PS administration panel

Go in the back office of your shop and follow these steps:

  • download the lastest release ZIP file (faktiva_clean_urls.zip) as it already contains the right folder name (faktiva_clean_urls, not faktiva-prestashop-clean-urls-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 ZIP file you downloaded and validate the dialogue box
  • click on "Upload this module"
  • once uploaded, you could have to search the module among the others (tip: filter by author "faktiva") and click on the install button

Configuration & Checks

Make sure your SEO and URL settings are as follows:

This is MANDATORY

  • products: {category:/}{rewrite}{-:id_product_attribute} (you can add .html at the end)
  • categories: {categories:/}{rewrite}/
  • manufacturers: manufactures/{rewrite}
  • suppliers: suppliers/{rewrite}
  • CMS page: info/{rewrite} (you can add .html at the end)
  • CMS category: info/{rewrite}/
  • modules: modules/{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 "faktiva_clean_urls"

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-clean-urls's People

Contributors

dralbert avatar gitter-badger avatar ha99y avatar juferlover avatar lebioda avatar mj-aristote avatar sengap avatar wayann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.