author.php added to template not working on Nginx server

According to your scenario: most likely a Plugin is doing the redirect from the author archive page to the home page.

For example: Yoast SEO Plugin is know to cause a similar issue. If you are using Yoast SEO Plugin, then Go to Yoast SEO Menu from your WordPress admin panel & then:

Go to Titles & metas => Archives

Then uncheck Disable the author archives if it is checked.

Then try the author link (clear browser cache if it doesn’t work immediately).

Disable the author archives | Enable the author archives option may also be in:

SEO Menu => Titles & metas => Others

(depending on your version of the plugin)

If it doesn’t work, then try disabling plugins one by one to find out which of the plugins is causing the redirect.

NOTE: Every time you disable a plugin to test if the redirect is still happening, take the following two steps to be sure:

  1. Clear browser cache.

  2. Clear WordPress Rewrite rules from:

Admin Menu => Settings => Permalinks

then click Save Changes button without making any change from there.

Once you identify the problematic plugin, find if it has any option to enable / disable author archives & take action accordingly.

Leave a Comment