Urgent: Problem with Categories WordPress Not Working...

Posted May 4, 2015 31.1k views
UbuntuMiscellaneousWordPressConfiguration ManagementCMS

When trying to view a category page, such as this one: [] , I either get a 404 error or am redirected to home page or post with a similar name to the category.

How to remove this CATEGORY for menus normally open well: []; [] etc.

Strangely, categories have worked previously with my blog, and permalinks for entries work just fine.

I disabled several plugins, and she returned to work briefly, but then gets swings. Can anyone help fix this? Thank you very much.

1 comment

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
6 answers


1). Backup your .htaccess file.
2). Delete your .htaccess file from your web root.
3). Login to the WordPress Dashboard @ /wp-admin/
4). From the sidebar, navigate to the permalinks section and click save.

Number 4 will generate a fresh .htaccess file with all parameters needed by both WordPress and any plugins that are currently activated.

Any plugins that modify the permalink structure often require that you re-save your permalinks afterwards so that all URI’s are updated.

The second issue, where you’re redirected to similar posts/pages, is common and IIRC, standard with WordPress. It’ll attempt to deliver a post/page similar to the request and when it’s unable to do so, will 404.

Hello dear, very thanks for the reply. Then it worked yes, but still thus opening: o correto é: * *

I also realized that some plugins was in the way, especially plugin autoptimize and the wordpress seo but before migrating the old hostig (godaddy) it work normally… when I installing and reinstalling any plugin. So this is the problem server wordpress digital ocean ???

Another thing: still remains redirect loop error, it never happened in the old hosting. How to solve it? from what I gather is problem in the server wordpress digital ocean.

So to say: every time I want to install a new plugin, I’ll have to delete the .httacess and replace ???

I am also still working out the bugs in my Wordpress sites. Re-installing Wordpress and Re-updating plugins seems to cut down on errors. I don’t mean making a brand new WP install. Just go to wp-admin and reinstall and reupdate.

I also like Autoptimize a lot, but until I work out all the bugs, I’m keeping it off.

@hlanggo I did not understand, after all, you solved the problem or not? if so, how it resolved. Thank you.

My issues are not exactly the same as yours, but similar in that they were working fine on shared hosting and then experienced some problems after being transferred to DO.

Shared hosting won’t be configured exactly the same as your DO VPS. In my case, there was errors in the logs, which had to do with PHP scripts failing. These were mostly resolved when I re-updated my plugins.

I’m not sure if this will work for you, but I tried this after all the other options failed and it worked painlessly for me.

Go to your Wordpress Dashboard, down to settings, click Permalinks.

My permalink option under the Common Settings was set to the “Custom Structure” option, so I simply clicked the “Post Name” permalink option, saved it, refreshed, and now it shows up!

Hope that helps a little.