0

I used wordfence plugin to clean unwanted files from my site. Post this, my posts page is broken. If i try to load any of my posts page, page will load but without header, footer, css. Homepage looks fine. Posts page works normal if i'm logged in. here's one of my post url: https://m.androidestate.com/xiaomi-redmi-k20-pro/ Please let me know what went wrong. BTW i'm newbie :( Update: Wierdly, some pages are loading as expected. https://m.androidestate.com/asus-rog-phone-ii/

2
  • Your google ads are throwing errors, that may be breaking some of your header code. If you don't provide code samples of the areas in question then it's hard to help. Nov 29 '20 at 3:38
  • actually post pages are working normally when i'm logged in. So, may be it's not because of ads Nov 29 '20 at 3:50
0

I don't really know how it could happend, but it only on m.androidstate.com I tried the one without subdomain, it worked well.

I just want to recommend you to disable the plugin first, and check the single.php or the post page, whether there is get_header() or not.

0

remove .htaccess then go Settings > permalinks > click save twice

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.