WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I’m maintaining a rather simple blog where a small number of people are registered as administrators to write posts. When making a link to the authors URL in a posts meta data, I use the function


This links to e.g. mydomain.com/author/bill This is the correct URL for the author Bill. Now I’ve just discovered that when one of the admins create a comment to a post, the author comment URL link reference to the wrong URL. If same author, Bill, makes a comment to a post, the link is:
Mydomain.com/authors/bill (with an s behind author). This is wrong and when following this URL it gives me a 404 error.

I’ve tried different methods to overcome this, trying to create my own callback comment function, tried to create a custom rewrite function and such but nothing has worked. Initially I don’t understand why the comment author URL is different but that’s another question.

Any help or suggestions to solve this small, but very much annoying problem would be appreciated.

- Mestika

share|improve this question
maybe show the code excerpts that generate the wrong URL? – moraleida Apr 12 '12 at 3:42
up vote 2 down vote accepted

I believe you may be over-thinking this. I don't use comment author URLs very often, but if I'm not mistaken, the URL for the author of a comment is usually the website URL the user has set in their profile.

I had the same issue once. The author didn't have his own website, so he wanted his comments to link to his profile page on the website... But he entered the URL incorrectly.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.