Hey a friend of mine was having trouble with a wordpress website and all pages other then home pages keep giving a 404 error.

  • look at the php admin database and wp_options are pointing to the
    right website.

  • so i look at the htaccess and it looks fine (here is whats in it)

RewriteEngine On
RewriteBase /dev/
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /dev/index.php [L]

  • tried resetting the permalinks and still 404.

so any ideas what could be causing this ?

Read more here: WordPress website giving 404


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: