How to have the author archive URL as /author/nicename/ instead of ?author=id
-
Hi anamari,
I understand that when you choose to link the user display name to go to author archive URL then the link on the display name will be of the form:
Upon clicking on the link, it may get rewritten to
https://mysite.com/author/nicename/
My question is that how can we change the author archive URL to originally point to this nicename link instead of getting the rewrite?
I suppose you may be using the
get_author_posts_url($author_id, $author_nicename = '')
to get the link.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to have the author archive URL as /author/nicename/ instead of ?author=id’ is closed to new replies.