redirect in phoca cart

Phoca Cart - complex e-commerce extension
satyrstasik666
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 01 Apr 2023, 03:47

redirect in phoca cart

Post 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
User avatar
sulpher
Phoca Professional
Phoca Professional
Posts: 105
Joined: 28 Feb 2017, 09:45

Re: redirect in phoca cart

Post 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. :-)
satyrstasik666
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 01 Apr 2023, 03:47

Re: redirect in phoca cart

Post 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!
satyrstasik666
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 01 Apr 2023, 03:47

Re: redirect in phoca cart

Post 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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: redirect in phoca cart

Post 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
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: redirect in phoca cart

Post by Jan »

Try to test this Beta, it should be OK:
https://github.com/PhocaCz/PhocaCart/re ... 8Beta4.zip

Jan
If you find Phoca extensions useful, please support the project
Post Reply