Reputation: 27749
Whenever I create a "page" in WP, a link automatically gets added to the top navigation and all pages are 404. At the moment this is a simple test site, using the standard theme and relevant plugins: qtranslate
and advanced custom fields
. I have some custom templates but for "posts" and not "pages".
EDIT: If i reset the permalink structure to the default /?p=123
, then my url is domain.com?page_id=15&lang=en
and this is still 404
EDIT2: .htaccess content
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
How would one start debugging this?
Upvotes: 0
Views: 278
Reputation: 2347
If it still does not work, and you are using a new server setup, the server might actually ignore your .htaccess file.
You can check it by locating your httpd.conf file on the apache server, and find if there is a line:
AllowOverride None
If the context of this line is specific for your wordpress public directory, you can change it to AllowOverride All
.
See this answer for some more info.
Upvotes: 2