Skip Navigation

[Resolved] url redirecting to wrong pages

This support ticket is created 5 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 3 replies, has 2 voices.

Last updated by Christian Cox 5 years, 7 months ago.

Assisted by: Christian Cox.

Author
Posts
#1247224

I have a many to many relashionship where Infinite Les Spiritueux vedettes can be assigned to one Cocktail AND Infinite Cocktails can be assigned to one Spiritueux. I have 250 cocktails and about 20 spiritueux.

If I click on any cocktail, I end up on the cocktail's single page, all working fine. For example hidden link takes me to the IbaMontenegrina cocktail

But if I click on a cocktail that is associated with one particular Spiritueux (Prosecco) I end up on the general All cocktails page,
EVEN THOUGH the url is (for example) hidden link (this url stays in the url box but totally shows another page)

Link to a page where the issue can be seen: many, but take this page hidden link All cocktails work except for the one using prosecco (Nacarat Bellini)

things I checked:
- All cocktails belonging to the faulty Spiritueux are properly assigned to it
- In the Spiritueux page, all cocktails that are assigned appear in the page
- compared Spiritueux Prosecco to others, all the same nothing different

ANY idea as to where to even look?
I checked the database, all seems fine, nothing weird
I am lost as to what it could be
This is RUSH the event is launching TONIGHT

#1247238

Hi, thanks for the investigation info so far. Can you try these troubleshooting steps next?
- Go to wp-admin > Settings > Permalinks and resave your permalink structure. Sometimes this is enough to fix simple URL problems. If not, try a default structure like month / name temporarily.
- Temporarily activate a default theme like Twenty Nineteen, deactivate all plugins except Types and Views, and test again. If the problem is resolved, reactivate your theme and other plugins one by one until the problem returns. If the problem was not resolved, I'll need to take a closer look.

Let me know the results of these tests and we can go from there.

#1247251

Thanks for a quick reply
I had already tried, many times, the permalink thing
I cannot deactivate the theme now as the festival is starting today and the website is getting many visites from journalists and the public.
But any idea? The prosecco was named something else before, but I did check the tables, the links are made with the ID of posts (not the slug). I also use WPML, but nothing is translated.
Any thing I could check...

#1247278

No idea right now, I need more information. If you don't want to disturb the live site, you can clone the live site into another site, like a staging environment, and perform the tests there. If that is not an option, I can log into the live site, make a clone myself, and try to install it on my own local environment. Let me know how you would like to proceed. Private reply fields are enabled here so you can share login credentials if necessary.