After upgrading from Joomla 3 to 4, the links (URL) to the gallery have changed

Phoca Gallery - image gallery extension
AlexVin
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 17 Feb 2024, 13:22

After upgrading from Joomla 3 to 4, the links (URL) to the gallery have changed

Post by AlexVin »

First of all, thank you very much for a good component!

After upgrading from Joomla 3 to Joomla 4, the category links (URL) changed.
In Joomla 3, the links looked like this:
(After the alias menu "foto") word "category" and category ID (+ alias ).

Code: Select all

http://.../foto/category/460
And this type of link was for both main categories and subcategories.

After updating to Joomla 4, the link became like this:
- for the main category: ID only:

Code: Select all

http://.../foto/460
- for a subcategory: the ID of the previous category and the ID of this category:

Code: Select all

http://.../foto/460/461
I have a lot of albums. And also many links from social networks. How to return the link to the previous look (so that it was like in Joomla 3)?

To better understand, I made a picture. Red color on picture shows changes in links:
https://i.imgur.com/NxH2K3v.jpg
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: After upgrading from Joomla 3 to 4, the links (URL) to the gallery have changed

Post by Jan »

Hi, unfortunetely, Joomla router was changed in Joomla 4 without any backward compatibility, see:

https://github.com/joomla/joomla-cms/discussions/37722

Jan
If you find Phoca extensions useful, please support the project
AlexVin
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 17 Feb 2024, 13:22

Re: After upgrading from Joomla 3 to 4, the links (URL) to the gallery have changed

Post by AlexVin »

Jan wrote: 20 Feb 2024, 19:02 Hi, unfortunetely, Joomla router was changed in Joomla 4 without any backward compatibility, see:

https://github.com/joomla/joomla-cms/discussions/37722

Jan
Thanks for the answer!
It is bad that there is no solution.
Post Reply