• with the recent version of wordpress (1.2.1) released, what many organization-minded webmasters have done, is installed wordpress into its own directory. however, therein lies a problem, as mentioned in the installation instructions for installing wordpress into different directories.
    after a huge problem with my blog, i finally got it working again (yes, wordpress is in its own directory). however, i still ran into the problem mentioned above. so, i fiddled around with the code in index.php, and was able to access the admin panel from “%root%/index.php” with “edit this” intact and working. the fix is very simple. on my site for example, i changed the link label (what is displayed to the visitor) to “administration” and the href from:
    ... ?>/wp-login.php">
    to:
    ... ?>/wp-admin/index.php">
    cookies are in order, logout is in order, and if not currently logged in, it redirects to wp-login.php. ive recreated this twice, not sure about security, tested in ffox.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I believe this is fixed in 1.3 CVS. I’m using 1.3 CVS and my edit entry / edit comment links work fine (I also have WP in a subdir)

    I tried this fix with Firefox, just returns a blank page for me. I cleared FF cookies, cleared FF cache, blank.
    I tried logging in with the Login link on my blog page, no error messages, just blank page.
    Did all the things on the WP faq about logins, including changing the password thru phpMyAdmin, still cannot login in FF. From the FAQ, tried #5, but got a parse error for blog/login. (ck’d for whitespace, wasn’t any) So I restored my original vars.php file.
    Also, tried #6, but login returns Empty password field (even though I was entering a password and the correct one).
    Using WP 1.2.1, btw.
    Thank goodness for IE, I still have my Edit This links on page and can get into the admin panel that way, but how long that will last, I dont know.
    It seems most of the posts I read on support forums and faq suggestions could be outdated because of 1.2.1? Some of the fixes on that faq had been made in 1.2.1.

    Solved this, and I’m not sure why, but I do know how.
    I had some whitespace after the final ?> in myhacks.php. All I have in that file is code for Recent Posts, but apparently that was enough to mess things up but not give an error message.
    (People like me really should be BANNED from messing around with WordPress) 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wp-login.php, index.php fix’ is closed to new replies.