Tabs of site based on wordpress show 404 not found error

Created:

2017-05-09 16:58:09 UTC

Modified:

2017-08-08 13:28:00 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Tabs of site based on wordpress show 404 not found error

Symptoms

  • Tabs of site based on wordpress show 404 not found error.
  • "Post name" is used in "Permalink Settings ": Wordpress > Settings > Permalinks. 
  • Site is using PHP-FPM by apache of fastcgi handler.

Cause

Incorrectly configured .htaccess file.

Resolution

Make sure that /var/www/vhosts/example.com/httpdocs/.htaccess file contains below lines:

# 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>
Have more questions? Submit a request
Please sign in to leave a comment.