Page 1 of 1

redirect in phoca cart

Posted: 25 May 2023, 10:23
by satyrstasik666
Good day!
for a site (atomsm.by) redirect 301 index.php works correctly. If you manually add index.php to the address, it redirects to without index.php.

# atomsm.by/index.php/uslugi/rezka

However, in the Phoca directory, if you add index.php, then the redirect does not work. This creates duplicates.

# atomsm.by/index.php/nerzhaveyushchaya-stal/nerzhaveyushchaya-setka

Re: redirect in phoca cart

Posted: 25 May 2023, 17:48
by sulpher
Perhaps this extension can help you:
https://joomline.ru/rasshirenija/plugin/jlnodubles.html
There is Phoca Cart in the list of supported extensions.
But note JL No Doubles is still for Joomla 3 and no version for Joomla 4 is announced yet...

Привет от NorrNext. :-)

Re: redirect in phoca cart

Posted: 25 May 2023, 18:15
by satyrstasik666
sulpher wrote: 25 May 2023, 17:48 Perhaps this extension can help you:
https://joomline.ru/rasshirenija/plugin/jlnodubles.html
There is Phoca Cart in the list of supported extensions.
But note JL No Doubles is still for Joomla 3 and no version for Joomla 4 is announced yet...

Привет от NorrNext. :-)
Thx!

Re: redirect in phoca cart

Posted: 29 May 2023, 08:32
by satyrstasik666
Another problem persisted. How to make non-existent pages in the index lead to 404, and not to the directory root

An example of a non-existent page that remained in the Google index and now causes duplicates: https://atomsm.by/index.php/chugunnyj-p ... ost7769-82

Why is it not 404?

Re: redirect in phoca cart

Posted: 30 May 2023, 16:24
by Jan
Hi, thank you for the info, this seems to be related to new Joomla SEF router, I will take a look at it to see if there is some way to change this behaviour.

Jan

Re: redirect in phoca cart

Posted: 30 May 2023, 16:52
by Jan
Try to test this Beta, it should be OK:
https://github.com/PhocaCz/PhocaCart/re ... 8Beta4.zip

Jan