Forums

Wrong Path (3 posts)

  1. stylehoong
    Member
    Posted 3 years ago #

    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 is install in "pww" folder. So the front page is display correctly, which is display 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 , 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?

  2. stylehoong
    Member
    Posted 3 years ago #

    When I type my website as http://www.sitec.com/blog it changes the URL of the site to http://www.sitec.com/websites/sitec/blog. However, if I type the website as 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 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.

    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?

  3. nmallory
    Member
    Posted 2 years ago #

    Did you resolve this?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.