sphway Posted December 13, 2021 Share Posted December 13, 2021 (edited) I'm trying rewirte the url from search?tag=women+dress to tag/women+dress,but get 404 error. Here is my RewriteRule in .htaccess File <IfModule mod_rewrite.c> RewriteEngine on RewriteRule tag/(.*)$ search?tag=$1 ...... </IfModule> In httpd.conf File LoadModule rewrite_module modules/mod_rewrite.so ..... <Directory /> Options FollowSymLinks AllowOverride All </Directory> ..... DocumentRoot "C:/xampp/htdocs" <Directory "C:/xampp/htdocs"> Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All Require all granted </Directory> My OS is window with XAMPP for Windows 7.3.33 Apache 2.4.51, PHP 7.3.33,Prestashop version is 1.7.6.6 Any Help,Thanks! Edited December 13, 2021 by sphway add tags (see edit history) Link to comment Share on other sites More sharing options...
SmartDataSoft Posted December 17, 2021 Share Posted December 17, 2021 Hello, The url is managed by PrestaShop dispatcher system. So forcely change in .htaccess made problem to load. as the controller may not found the value to show data. You can use any good url rewrite module from PrestaShop addons for it Thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now