0

I have a wordpress site hosted on AWS. Site is working fine but I'm facing an issue. When the page loads, we get 404 not found error for that link in console first. It is happening on all the pages like home page, posts page, categories page etc. Like whole site is doing this. If anyone have solution, kindly let me know.

1 Answer 1

0

Could you please try to refresh your permalinks by going to wp-admin > Settings > Permalink. No need to change any settings or save them, only visiting is creating the .htaccess if not already created and add the correct rules if needed.

Let us know.

3
  • <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> Jul 21, 2022 at 6:54
  • That was my htaccess rule. now tell me the solution Jul 21, 2022 at 6:56
  • 1
    @RaoTalhaZahidKhan I would suggest editing your question with additional information. You may also need to know that "Now tell me the solution" is a bit rude; people will be less moved to help if addressed like that. Jul 21, 2022 at 16:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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