Answer the question
In order to leave comments, you need to log in
How to solve cnc problem when url is not updated?
Hello! I did it on the CNC website, and everything seems to be fine, except for one thing: I click on the link, everything is OK,
For example: localhost/catalog/sofas/0/1
opens the page, but if you follow the next link, the previous one is not reset, it turns out : localhost/catalog/sofas/0/catalog/armchairs/0/2
Here is htaccess:
Options Indexes FollowSymLinks
Options All -Indexes
DirectoryIndex index.php
<FilesMatch "\.(cp.php)$">
order allow,deny
deny from all
</FilesMatch>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /index.php?page=$1 [L,QSA]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question