Title: Comments by unregistered users
Last modified: August 18, 2016

---

# Comments by unregistered users

 *  Resolved [pmtate](https://wordpress.org/support/users/pmtate/)
 * (@pmtate)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/comments-by-unregistered-users/)
 * I want to give my users the register page if they are not registered when they
   want to comment, at the moment they get
    a new page saying: ‘[http://www.pmtate.co.uk/wp/wp-comments-post.php](http://www.pmtate.co.uk/wp/wp-comments-post.php)
 * “Sorry, you must be logged in to post a comment.”‘
 * Where is this controlled please? Is it something missing from my theme?
 * TIA
 * Paul

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/comments-by-unregistered-users/#post-427364)
 * you answered your own question.
 * Its controlled inside wp-comments.php @ line 35:
 * `if ( get_option('comment_registration') )
    die( __('Sorry, you must be logged
   in to post a comment.') );
 * and so you understand what you are trying to do, youre going to make it VERY 
   hard for ppl to comment, since IF you redirect them to the registration page,
   they MIGHT register, but having done so, then they will need to come back after
   getting an email, and guess what.. by that time, they have forgotten what it 
   was they actually wanted to say in the comment.
 * In other words, its a pita for them. If it were me (and I mean no disrespect 
   when I say this).. your site would go in my shitcan.
 * The average surfer isnt going to jump through countless hoops to leave a simple
   comment.
 *  Thread Starter [pmtate](https://wordpress.org/support/users/pmtate/)
 * (@pmtate)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/comments-by-unregistered-users/#post-427720)
 * fair point, how do I ensure that I know who is commenting, and ensure I get some
   valid information about them on the comment form?
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/comments-by-unregistered-users/#post-427723)
 * require that they register to comment .. just dont redirect them?
 *  [yosemite](https://wordpress.org/support/users/yosemite/)
 * (@yosemite)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/comments-by-unregistered-users/#post-427725)
 * Take a look at the Options:Discussion page…

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Comments by unregistered users’ is closed to new replies.

## Tags

 * [registered](https://wordpress.org/support/topic-tag/registered/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [yosemite](https://wordpress.org/support/users/yosemite/)
 * Last activity: [19 years, 10 months ago](https://wordpress.org/support/topic/comments-by-unregistered-users/#post-427725)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
