• My WordPress blog was working really well, I’d been posting to it for a week, I was very happy…
    but now, after I followed the instructions on setting up the blog in a different directory from this site, I can’t login!
    Oringinally it was all in one directory. Worked fine. Then I did the following:
    1) copied wordpress/index.php to daedalus.php in my root directory
    2) left index.php in the wordpress directory
    3) edited the php include statement atop daedalus.php to read:
    require(‘./maze-blog/wp-blog-header.php’);
    4) Logged in to my existing blog (wordpress/index.php), and via the Options menu changed the two paths (wordpress folder and blog) to:
    http://www.amazeingart.com/maze-blog/
    and
    http://www.amazeingart.com/daedalus.php
    5) I was immediately taken to a 404 error (which seemed the correct behaviour)
    6) I changed the name of the ‘wordpress’ directory to ‘maze-blog’
    Voila, the blog reappeared! and looked good as new when I went to:
    http://www.amazeingart.com/daedalus.php
    And I thought all was well in my kingdom…
    But the problem is, now I can’t login ! It just sends me back to the login window, as if I entered a bad user/pass combination. For either of my two users (admin and Christopher).
    I looked in the config.php file and it seemed that none of the four settings (database name, database user, pass, and host) should be changed at all, right? They are still the same…
    What did I do wrong? Any help much appreciated…Sincerely, christpher

Viewing 10 replies - 1 through 10 (of 10 total)
  • Not really an answer to your questions, but curious: is this URI that you wanted?
    http://www.amazeingart.com/daedalus.php/index.php?p=9
    Notice the two .php files one after another…
    As for the real question: do some search on the forum, there are tons of threads about this issue.

    Thread Starter daedalus

    (@daedalus)

    Followup post from same author:
    When I tell the login window I forgot my password, and give it my user and email, it says “user found” and sends me a new password…
    but when I try to login with the new password, it doesn’t work either. The login window just keeps resetting itself, I can’t get in.
    🙁
    -christopher

    Thread Starter daedalus

    (@daedalus)

    thanks…no that is not the URI I wanted…something is messed up. It should be:
    http://www.amazeingart.com/daedalus.php?p=9
    The URI you quoted (right from my own blog when you click on a post) does not actually exist on my server. There is no:
    http://www.amazeingart.com/daedalus.php/index.php
    in the file and directory structure. Yet it displays on the blog…hmmm.
    I did read some posts on this list about installing in a different directory, and from them found the actual instructions on how to do it (and thought that would make it work.)
    OK I’ll search around…

    Thread Starter daedalus

    (@daedalus)

    Followup post from same author:
    When I tell the login window I forgot my password, and give it my user and email, it says “user found” and sends me a new password…
    but when I try to login with the new password, it doesn’t work either. The login window just keeps resetting itself, I can’t get in.
    🙁
    -christopher

    Thread Starter daedalus

    (@daedalus)

    Interesting…
    http://www.amazeingart.com/daedalus.php/krjtgrtgtt.html?p=9
    (a nonsense uri) also displays post #9 in the blog…
    Anything after the correct blog index file name (daedlaus.php in this example) and before the the ?, is being ignored…

    I am not sure it was a smart idea to change the name of index.php. I am not saying it caused all your troubles, but I’ve never seen anything like that.

    Thread Starter daedalus

    (@daedalus)

    yeah, you might be right…I did it for SEO reasons (ha).
    -chris

    Thread Starter daedalus

    (@daedalus)

    hmm, but don’t I have to change it anyway? I would not want to have index.html (my real website index page) and index.php (the WP blog) in the root directory together. That would seem to invite trouble too…

    Now it’s my turn for a hmmm… because you are confusing me more and more! If you do NOT want to make the blog-index as your “main”=index page in the root directory (you stated you already have an html index page…) then why on the earth did you move the blog-index page from the blog directory? It just doesn’t make sense.

    Thread Starter daedalus

    (@daedalus)

    sure it does 🙂
    The main index page is for my whole website. Links to everything. Not a blog.
    I wanted my blog to be in the root directory because there it gets a simpler url, and, gets greater pagerank in the root starting out. Generally a new page gets the domain’s base pagerank, -1 point per level starting at root. I.e. if CBS news puts a new document in their root directory, before anyone links to it it inherits some serious pagerank from its parent domain. The farther down in the directory structure its placed, the less rank it has.
    I also wanted to ditch the “index.php” because that is useless for SEO. “Daedalus” is a keyword for my site’s content, so a file named “Daedalus.php” in the root would score well on that term.
    Anyway, problem fixed. I just gave up on putting the blog in the root directory.
    After reading all the posts of people having similar or related problems, I decided to reinstal the whole thing and post my 8 posts again. Took 20 minutes. I’m declaring victory and walking away 🙂
    -Christopher

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘worked fine, until in different directory’ is closed to new replies.