Author page = Error 404

Posted in: Newspaper
Post count: 5

When I click on an author name/link it gives me the <my URL>/?author=<author#> page with “Ooops– Error 404”. i found a forum item from someone else with the same error (https://forum.tagdiv.com/topic/author-page-not-working-getting-404/). I tried resaving the permalinks (I am using Plain) and clearing the cache, but it didn’t help.
Even when I go to Users and click View for any of the users, I get the same 404 error.
I tried adding a new user, and then clicked View for that new user = same 404 error.
It looks like every time it generates a page <my URL>/?author=<author#>, it generates the 404 error.

Post count: 20688

Hi,

I could take a look, accessing an author page should not be a problem. Provide a link to your website. Does that happen with a default WordPress theme, could you check that?

Also deactivate all your plugins except theme plugins and clear the cache again, check if that has any effect.

Thanks

Post count: 5

Thank you, Simion, for your quick and helpful response! You guys are great!
I discovered that the WordFence plugin was blocking my /?author= link for security reasons. I was able to disable this one protection and still use WordFence, so it solves my problem. Thanks!
Two follow on questions:
* I didn’t have to try changing themes, but would I have a problem changing to another theme to test something and then change back to Newspaper? Would all of my Newspaper theme settings be saved?
* It seems that websiteURL/author/authorname does not work on my WordPress, just websiteURL/?author=ID. Should my site using the Newspaper theme allow both link options?

Post count: 20688

Hi,

Glad you identified the cause. You can switch themes as many times as needed. The theme panel settings and custom code if you have any, are saved in the database. Even deleting the theme would have no effect on these.

Regarding permalinks, you could check some recommendations in the matter, from professionals
https://yoast.com/wordpress-seo-url-permalink/
https://robpowellbizblog.com/best-wordpress-permalink-structure/
The permalinks will affect the URLs of your website, choose what is recommend or what you think is best.

Thanks

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.