Hi, I'm reporting major routing and sef-url issues with the use of collections and links to slug pages.
Analyzing the logs of a website I created, I noticed that PageBuilder accepts calls (chatGPT, for example) it shouldn't, creating absurd URLs that shouldn't exist and should return a 404.
Let me give you an example:
- Let's say we have a website with a conference program
domain.com/scientific-program
- This program is divided into several days.
I create a collection of all the disciplines and everything works perfectly.
I then create the discipline slug, which contains all the program details for each session.
Within the sessions, I have speakers, who are part of another collection:
domain.com/speaker
If I'm in the scientific program and then click on a speaker's name, it creates an incorrect URL:
domain.com/scientific-programme/discipline/name-of-speaker.html
But the correct URL is: domain.com/speakers/name-of-speaker.html
To achieve a user-facing solution, I created scripts that correct navigation so they are routed correctly and don't create duplicate URLs that penalize SEO and GEO.
This morning, while analyzing the logs, I noticed from a scan performed by chatGPT and other bots that they are responding with nonsensical URLs, such as:
domain.com/scientific-programme/discipline-1/name-of-speaker/discipline-4/name-of-speaker.html
This is an example, but essentially, they are responding with thousands of combinations that clearly impact the website cache.
Unfortunately, this isn't the first site I've encountered this problem on. Page Builder routing using collections doesn't take into account Joomla's routing, which, through menu items, correctly routes URLs for the user, but more importantly, it creates 404 errors for incorrect, non-existent URLs.