New answers tagged 404-error
Turn off any caching plugins you are using and reload the page after clearing browser cache. Once fixed turn caching plugin back on and you should be fine. This worked for me a while back when i had this issue
Instead of playing with .htaccess file I would recommend using WordPress "Redirection" plugin, it allows for redirection and also logs them.
I have experience with this issue and find solution maybe work with your problem Check Wp-Content Permission change to 775 Delete or rename your .htaccess like .bkphtaccess Setting permalinks as default and save Turn back permalinks as your custom permalink and save If allowed new .htaccess will create automatic, if not copy text at the bottom permalink ...
I liked the idea of Chris_O, but I made my own version, which is more safe. So what I did, I just added folders to exception, so if your requests starts from those lines - it's definitely not a valid permalink. The majority of requests are coming from bots that are trying to check the contents of those folders for exploits. They will be effectively filtered,...
I'm confused by the answers. When I have "private" posts/pages, I cannot see them when I am logged in. I can only see them when I am the Admin. About the OP's question-- I use the WPDB class methods to extract post_content from the database selectively to bypass permissions: global $wpdb; //global wpdb class may not work everywhere... $post_id = (int) $...
Top 50 recent answers are included