Jump to content

Edit History

sphway

sphway


add tags

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!

sphway

sphway

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,Prestasho version is 1.7.6.6

 

Any Help,Thanks!

×
×
  • Create New...