WordPress.org

Ready to get started?Download WordPress

Forums

Login redirect Why? (14 posts)

  1. lokjah
    Member
    Posted 9 years ago #

    still no breakthru on this problem. and getting no responses from my earlier post Ive tried to simplify my problem.
    why is WP redirecting me on blogs I cant login to? it takes the login/password correctly but instead of bringing me to the admin panel it loads a redirect in the URL like this:
    http://mysite.com/wp/wp-login.php?redirect_to=%2Fwp%2Fwp-admin%2Fpost.php
    Id really appreciate it if someone could help me with this.
    thank you.

  2. moshu
    Member
    Posted 9 years ago #

    I did a quick search for "login redirect" - this is the result.

  3. lokjah
    Member
    Posted 9 years ago #

    hey moshu thanks for the pointer, I tried searching the logins but didnt do one for that....
    unfortunately the PHPmyadmin bit doesnt fix my problem.
    looking at my wp_options table the site url is http://mysite.com/wp
    this is of course my wordpress directory.. since I cant login I cant check my options but I do know that I have my url's set up like this:
    Wordpress Address (URI): http://mysite.com/wp
    Blog Address (URI): http://mysite.com/index.php
    (index.php I have because the site is still in DEV, keeping the index.html splash page intact)
    Ive tried the myadmin bit, have cleared out all cookies and wiped cache and tried logging in with diff browsers and still get the redirect.
    Comparing the wp_options table on the one blog that I can login to still the settings are the same (ie they all have wp_options pointing to the wp directory)
    fyi, in my earlier post I explain that I have 3 blogs installed on one DB, mainwp, featureswp, afdwp

  4. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Having index.php in that line will cause a LOT of problems.
    It needs to go.

  5. lokjah
    Member
    Posted 9 years ago #

    hmm well would you recommend that I wipe out the tables on that blog and reinstall since I cant login?
    then should I name it something different like "dev.php" then change it when the site goes live?

  6. moshu
    Member
    Posted 9 years ago #

    What podz say: the 2 URIs should NOT end in a filename but directory name only!

  7. lokjah
    Member
    Posted 9 years ago #

    any ideas then how I can get my blog going when the index is in the root? I need to keep index.html there for the splash.
    would it be alot of work to point it to the folder where wp is and then point it to the root directory to go live?

  8. moshu
    Member
    Posted 9 years ago #

    While you are developing it you should keep the index.php in the wp directory (and meanwhile you can have anything in the root).
    About having wp and the index.php in different directories, see: http://wordpress.org/docs/installation/different-address/

  9. lokjah
    Member
    Posted 9 years ago #

    ok moshu, so what youre saying is that for now until I go live to keep both my URI's pointed to the same place?
    Wordpress Address (URI): http://mysite.com/wp
    Blog Address (URI): http://mysite.com/wp

  10. moshu
    Member
    Posted 9 years ago #

    Wouldn't that make your life easier? ;)

  11. lokjah
    Member
    Posted 9 years ago #

    heh, yeah, i'm always trying to think ahead, and decide if something is more work now or then, and if I can do something differently now to save work later I try to impliment that...
    hopefully you both have solved my problems, I had no idea that file name was the culprit, hopefully it was just that...
    thanks again mates.. will update after reinstalls....

  12. lokjah
    Member
    Posted 9 years ago #

    Rock and/or Roll!
    I'm good to go after my reinstalls... Just really want to thank both of you. I'm in the middle of a huge project and it took a while before these problems surfaced as I had these installs for over a month and had no probs till I did an additional one and then discovered these things.
    Well, needless to say that took alot of wind out of my sails, but I got my wind back now...
    thanks again Podz & moshu–
    lok

  13. interknox
    Member
    Posted 9 years ago #

    Okay, the last post on this thread was 11/04. I've searched everywhere for 2 days here and I've only found issues from 1.2 fresh installs, 1.2 -> 1.5.x.x installs, or 1.2/5 installs on IIS machines.

    I have three wordpress blogs that I use. I can login to 2/3. The third one is a clean install, new domain, new db, new 1.5.1.3 install. The install is on an Apache server...same server the other two 1.5 installs are on.

    I've cleared cookies, cache, edited w/ phpmyadmin, etc. Nothing. I wonder why, for some reason, this one particular install doesn't work?

  14. vkaryl
    Member
    Posted 9 years ago #

    You'll get more response quicker if you start a new thread....

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.