Support » Fixing WordPress » Problems moving from directory to root

  • Resolved ca204valry

    (@ca204valry)


    Hi

    I have gone through countless threads but none of them seem to work. Here is what I have done so far:

    Blog was hosted on http://www.bisonsridehard.com/home which I tried moving to the root.

    Before I did that I changed the WordPress URL and Site URL as mentioned in http://codex.wordpress.org/Moving_WordPress

    I had changed the index.php earlier which I changed back to the original settings. Set the permissions of the .htaccess file to 666 as mentioned in the codex.

    But I have been getting the Internal Server 500 Error. I understand that this is an issue with the .htaccess file from all the threads I have read.

    I am at this point unable to login to the dashboard to make any changes but I have full access to the DB and FTP.

    Please advise!

Viewing 15 replies - 1 through 15 (of 19 total)
  • If I have to make changes to the permalink from phpadmin what should the new settings read like?

    This is what my .htaccess reads like:

    RewriteEngine off
    <IfModule mod_suphp.c>
    suPHP_ConfigPath /home/bisonsri/public_html/home/php.ini
    <Files php.ini>
    order allow,deny
    deny from all
    </Files>
    </IfModule>

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /home/
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /home/index.php [L]
    </IfModule>

    # END WordPress

    Which I changed to:

    RewriteEngine off
    <IfModule mod_suphp.c>
    suPHP_ConfigPath /home/bisonsri/public_html/php.ini
    <Files php.ini>
    order allow,deny
    deny from all
    </Files>
    </IfModule>

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    esmi

    (@esmi)

    Forum Moderator

    Hi Esmi

    I did the steps mentioned in the link you provided. But after doing that I am unable to open the site, and getting a Error 500 message. I am not able to login to the dashboard as well to update the permalinks too

    esmi

    (@esmi)

    Forum Moderator

    Have you reversed all of the changes you made when trying to move to root?

    Yes I did. All that’s mentioned in the link you gave. After which i started getting a Error 500 and not able to login to the dashboard since. I am now going back to the previous state and starting over.

    esmi

    (@esmi)

    Forum Moderator

    So what’s the problem with http://bisonsridehard.com/ ?

    Have you tried using ftp to rename the .htaccess file and then try and see if your site opens if it does you can reset your permalinks so that a new .htaccess file is created.

    Esmi,

    What you see now is the site rolled back to its original state. All the content is back in its original folder.

    Govpatel,

    I tried to rename .htaccess to htaccess.txt but that was of no avail.

    esmi

    (@esmi)

    Forum Moderator

    But what is the problem with that site? It seems to be functioning just fine.

    What you see now is the site rolled back to its original state. All the content is back in its original folder.

    When I click on menu I do not see any folder so you must have your wordpress in root.

    When the blog was in a directory, I was unable to preview posts and used to open the homepage instead. That is where is entire story started. I guess I better search for a easier solution to the problem!

    GovPatel,

    The reason you see it like that is because the Site URL and WordPress URL have been changed in the settings>General

    esmi

    (@esmi)

    Forum Moderator

    And can you preview posts now?

    The reason you see it like that is because the Site URL and WordPress URL have been changed in the settings>General

    and that is how they should be if you have wordpress in root
    and all your permalinks are working fine as well.

    If you had wordpress in folder home then you would get error

    esmi

    No its not. Its showing a error 404 now! :-/

    Vineet

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Problems moving from directory to root’ is closed to new replies.