Title: wp-comments-post.php wrong url
Last modified: August 20, 2016

---

# wp-comments-post.php wrong url

 *  [lultimo](https://wordpress.org/support/users/lultimo/)
 * (@lultimo)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/wp-comments-postphp-wrong-url/)
 * I’m experiencing the same issue of this thread [http://wordpress.org/support/topic/comments-go-to-a-broken-link-page-1?replies=3](http://wordpress.org/support/topic/comments-go-to-a-broken-link-page-1?replies=3)
 * My wp relies in a subfolder but when someone posts it “redirects” to the wp-commets-
   post.php in the root.
    I had comments working until yesterday as the path is 
   correctly set on the settings field. I tried deactivating all plugins and i’m
   experiencing the same problem.
 * EDIT:
    solved looking in the comments.php file of my theme and changing wp_url
   with siteurl. NOW IT WORKS! QUESTION: how this could have suddenly happened without
   touching the theme?

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/wp-comments-postphp-wrong-url/#post-2133445)
 * You’re using a very old theme. wp_url has been deprecated for a while.

Viewing 1 replies (of 1 total)

The topic ‘wp-comments-post.php wrong url’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/wp-comments-postphp-wrong-url/#post-2133445)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
