zizuu-store / zzcleanurls
Prestashop"Clean URLs" module. It removes objects' IDs from URLs.
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 111
Watchers: 31
Forks: 50
Type:prestashop-module
Requires
- php: ^5.3.9 || ^7.0
- composer/installers: ^1.2
Requires (Dev)
- friendsofphp/php-cs-fixer: ^1.12
- sensiolabs/security-checker: ^4.0
- symfony/debug: ^2.0 || ^3.0
- symfony/var-dumper: ^2.0 || ^3.0
Replaces
This package is not auto-updated.
Last update: 2022-02-01 12:53:28 UTC
README
Makes possible to have URLs with no IDs in PrestaShop.
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
, notfaktiva-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 theinstall
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
- Remove
- Open folder
/override/controllers/front/
- Remove
CategoryController.php
- Remove
CmsController.php
- Remove
ManufacturerController.php
- Remove
ProductController.php
- Remove
SupplierController.php
- Remove
- Open folder
/cache/
- Remove
class_index.php
- Remove
- Go to
back office
->Preferences
->SEO and URLs
-> Setuserfriendly URL
off ->Save
- Go to
back office
->Preferences
->SEO and URLs
-> Setuserfriendly 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.