• Hi,

    I’m having some serious issues since I transferred wordpress to my root directory.

    I can’t log in to wordpress and my site is down. I’ve spent the better part of the weekend trying to fix the problem. After spending hours on forums (here and elsewhere) I made a few changes to fix the problem. However, I’m new at this (only started building the site about 10 days ago), so I need help.

    Here is what I did:

    I added code to two .htaccess files since they were empty and after doing some research, I thought that might be the problem. I see the file is now named dd.htaccess (which my host – Ragesw – changed last night while trying to troubleshoot) not sure what that means, but the error message is now different when I try to log on to wordpress.

    I also changed:
    the last line at the bottom of this page:
    /public_html/Annie_hearts/blog/index.php
    to:
    require(‘wp-blog-header.php’);

    and public_html/Annie_hearts/blog/wp-config.php
    where I changed:
    define (‘WPLANG’, ”);
    define(‘WP_HOME’,’https://anniehearts.com/blog/’);
    define(‘WP_SITEURL’,’https://anniehearts.com/blog/’);

    The wp-config.php page now says (which my host – Ragesw – changed last night while trying to troubleshoot):
    define (‘WPLANG’, ”);
    define(‘WP_HOME’,’https://anniehearts.com/Annie_hearts/blog/’);
    define(‘WP_SITEURL’,’https://anniehearts.com/Annie_hearts/blog/’);

    Is it possible the problem is here?: /public_html/Annie_hearts/index.html
    where the code says:
    <?xml version=”1.0″ encoding=”UTF-8″?><!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”><html xmlns=”https://www.w3.org/1999/xhtml”><head><title></title><meta http-equiv=”refresh” content=”0;url= no_more_iweb.html” /></head><body></body></html>

    (I changed my iweb home page to “no_more_iweb.html” when I closed my iweb site.)

    iweb site used to be: anniehearts.com
    wordpress used to be: anniehearts.com/blog
    wordpress blog is now at anniehearts.com

    Any help is greatly appreciated.

    Annie

Viewing 15 replies - 1 through 15 (of 15 total)
  • You need to review Moving_WordPress.

    Thread Starter annie hearts

    (@annie-hearts)

    Thanks for your reply emsi.

    I’ve read that document about 20 times over the weekend…the steps didn’t work, so I tried other suggestions I found on this forum.

    I will change everything back to what Moving WordPress says and see what happens. I’ll let you know!

    Thanks again,
    Annie

    Thread Starter annie hearts

    (@annie-hearts)

    Okay, so changes I’ve made:
    /home/anniehea/public_html/index.php
    is now
    require(‘./wordpress/wp-blog-header.php’);

    /home/anniehea/public_html/Annie_hearts/blog/wp-config.php
    is now
    define(‘WP_HOME’,’https://anniehearts.com/blog&#8217;);
    define(‘WP_SITEURL’,’https://anniehearts.com&#8217;);

    (I removed the /blog in the second URL)

    In this part of the instructions:
    “Copy (NOT MOVE!) the index.php and .htaccess files from the WordPress directory into the root directory of your site (Blog address)”
    I THINK I did this right, but I’m not sure since there was more than one .htaccess file in my folders and I wasn’t sure which one to copy. One of the file names was changed to dd.htaccess by my host and other other is empty.

    I’m using a mac on cpanel through Ragesw, which I’m pretty sure is Linux. The instructions say “(On linux, use mkdir wordpress from your www directory. You’ll probably want to use “chown apache:apache” on the wordpress directory you created.)” I’m not sure what that means…where do I put “chown apache:apache”?

    When I try to log in to wordpress, I get:
    Not Found: The requested URL /wordpress/wp-admin/ was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    And when I try to log in to anniehearts.com I get:

    Warning: require(./wordpress/wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/anniehea/public_html/index.php on line 17
    Warning: require(./wordpress/wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/anniehea/public_html/index.php on line 17
    Fatal error: require() [function.require]: Failed opening required ‘./wordpress/wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in/home/anniehea/public_html/index.php on line 17

    I’ve had html code floating through my head all night while trying to sleep because I’ve been so stressed about this…your help is everything right now.

    I suggest you first put everything back the way it was originally. Where exactly did you install WordPress on your domain?

    Thread Starter annie hearts

    (@annie-hearts)

    I moved my files to:
    public_html/Annie_hearts/blog, which is where all my wordpress files (wp-admin, wp-content and wp-includes) now reside.

    I also just noticed that they are still under www/Annie_hearts

    If I move them back to where they were (under www/Annie_hearts), do I need to do anything other than delete them under public_html/Annie_hearts/blog and remove “/blog” from my general settings? Do I need to replace the old files under www/Annie_hearts?

    You have no idea how much I appreciate your help!

    Is www/Annie_hearts the folder where you originally installed WordPress? Have you installed WordPress more than once under this domain?

    Thread Starter annie hearts

    (@annie-hearts)

    Yes, www/Annie_hearts is the folder where I originally installed WP.
    I only installed it once.

    Not sure if this matters, but I had an iweb site where I’d created an iframe for my wordpress blog. That iweb site is now deleted as I want wordpress to be my only platform.

    Can you remove the index.html file in www/Annie_hearts/ ?

    also, what is in the .htaccess file in www/Annie_hearts/ ?

    Thread Starter annie hearts

    (@annie-hearts)

    I just deleted the index file in www/Annie_hearts.

    In .htaccess under www/Annie_hearts/ is:
    Redirect 301 /index.html /Annie_hearts/blog/

    I just went to my site and it’s back up!!!!

    I’M SO RELIEVED. esmi, you are an angel.

    One more thing, I still can’t log in to wordpress…

    THANK YOU. I LOVE YOU. Sorry if that’s inappropriate, but it’s true. ??

    Thread Starter annie hearts

    (@annie-hearts)

    Update:
    I just tried my old WP log in and it worked, so everything is running smoothly over here.

    I’m so happy!

    :))

    No problem. ??

    So, where are we at now? What url is the site currently using?

    Thread Starter annie hearts

    (@annie-hearts)

    The URL is anniehearts.com and it defaults to anniehearts.com/blog.

    Everything is tickety-boo over here.

    You really are a lifesaver, esmi!
    ??

    And you are OK logging in via https://anniehearts.com/blog/wp-login.php now?

    Thread Starter annie hearts

    (@annie-hearts)

    Yep! I’m all smiles over here!

    Excellent! ??

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘error messages on site AND wordpress log in’ is closed to new replies.