Archived topic
Broken urls inside categories
11 replies · Started by Elio Martinez on December 1, 2015
Hi,
If you enter in one of the categories of my blog and you click in "load more", the posts are inaccessible because the urls are wrong: they don't have the category in the url.
Se example and click in "More posts": http://www.nbamaniacs.com/noticias/
What do you have set in your Permalinks?
http://www.domain.com /%category%/%postname%/
Can you try just: /%category%/%postname%/
Tom,
That is what I have: /%category%/%postname%/
I went ahead and set this up on my localhost with those permalinks and masonry, and I'm not experiencing the same issue.
So we need to figure out the difference between our installations.
Can you try #1 on this page?: https://generatepress.com/knowledgebase/debugging/
Basically, the more button grabs posts from the next page and displays them without reloading - for some reason the URLs are being changed during that process on your site.
Tom,
I have 31 plugins activated on my website and I am afraid that I can broke something if I deactivate everything at once. I have deactivated at least 10 and no changes, the urls are broken.
Is any other way to solve this without deactivating all the plugins?
I would use a plugin like Duplicator to take a backup of the entire site, and then re-create in a sub-directory or on your localhost.
That way you can test without disturbing your live site.
Basically we want to see if the issue still persists with only GP+GP Premium.
I am afraid of doing this with Duplicator. This is the message I received: http://cl.ly/image/3T2T1k3M0W0x
Definitely a big site, but I don't believe Duplicator does anything to your live site, it just creates a package which you can use to deploy a copy of your site somewhere else.
There's other options out there too - BackupBuddy etc.. If you search for "WordPress copy site" or something along those lines you'll find some alternatives.
Either way, you should be taking database and file backups of your current site at least once a week.
Hi Tom,
I have replicated the site and deactivated all the plugins except GP Premium. I found the error when the "WP-HTML-Compression" plugin was activated, so I have deactivated permanently that plugin.
Thanks.
Ah - I see that plugin hasn't been updated in about 3 years.
Glad it's working now :)
