Title: Wrong Path
Last modified: August 19, 2016

---

# Wrong Path

 *  [stylehoong](https://wordpress.org/support/users/stylehoong/)
 * (@stylehoong)
 * [16 years, 12 months ago](https://wordpress.org/support/topic/wrong-path-2/)
 * I’ve installed latest version of WordPress recently, everything was fine. But
   in the admin control panel, under “html editor portion”, when i click the “Add
   Media”, it link me to wrong path. My website is hosted in godaddy, [http://www.pwwvolleyballclub.com](http://www.pwwvolleyballclub.com)
   is install in “pww” folder. So the front page is display correctly, which is 
   display [http://www.pwwvolleyballclub.com](http://www.pwwvolleyballclub.com) 
   without “pww” folder name. but in admin control panel, it link me to [http://www.pwwvolleyballclub.com/pww/wp-admin/media-upload.php](http://www.pwwvolleyballclub.com/pww/wp-admin/media-upload.php),
   the correct one should be without “pww”, so the website keep loop me to login
   page, even correct password, but the path is wrong. Any idea can solve this?

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

 *  Thread Starter [stylehoong](https://wordpress.org/support/users/stylehoong/)
 * (@stylehoong)
 * [16 years, 12 months ago](https://wordpress.org/support/topic/wrong-path-2/#post-1078645)
 * When I type my website as [http://www.sitec.com/blog](http://www.sitec.com/blog)
   it changes the URL of the site to [http://www.sitec.com/websites/sitec/blog](http://www.sitec.com/websites/sitec/blog).
   However, if I type the website as [http://www.sitec.com/blog/](http://www.sitec.com/blog/)
   it stays the same.
 * Now for the login problem, when I go to [http://www.sitec.com/blog/wp-admin](http://www.sitec.com/blog/wp-admin)
   it goes to the login as usual. The difference is that URL does this: [http://www.sitec.com/blog/wp-login.php?redirect_to=http%3A%2F%2Fwww.sitec.com%2Fwebsites%2Fsitec%2Fblog%2Fwp-admin%2Findex.php](http://www.sitec.com/blog/wp-login.php?redirect_to=http%3A%2F%2Fwww.sitec.com%2Fwebsites%2Fsitec%2Fblog%2Fwp-admin%2Findex.php).
 * I found out if I manually remove the query string redirect_to, everything works
   the way it was suppose to until I need to resubmit again. The resubmit problem
   only happens for just a few but essential forums. Whenever I submit something,
   the redirect_to GET query string appears again.
 * The blog somewhat works now but only if I manually remove the query strings. 
   I also installed WP 2.7 and the problem still exists there.
 * I took a closer look at the <form> using firebug and noticed that this tag:
    
   <input type=”hidden” value=”/website/sitec/blog/wp-admin/options-general.php”
   name=”_wp_http_referer”/> now appears. The value of _wp_http_referer is where
   the redirect_to query is where my site is being redirected to.
 * How is the _wp_http_referer formed? Is it using some type of internal path finding?
   It doesn’t seem to be using the wp_options.siteurl or wp_options.home. Is this
   a problem I can easily fix?
 *  [nmallory](https://wordpress.org/support/users/nmallory/)
 * (@nmallory)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/wrong-path-2/#post-1078856)
 * Did you resolve this?

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

The topic ‘Wrong Path’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 2 participants
 * Last reply from: [nmallory](https://wordpress.org/support/users/nmallory/)
 * Last activity: [16 years, 9 months ago](https://wordpress.org/support/topic/wrong-path-2/#post-1078856)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
