• 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 https://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 https://codex.www.ads-software.com/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)
  • Thread Starter ca204valry

    (@ca204valry)

    If I have to make changes to the permalink from phpadmin what should the new settings read like?

    Thread Starter ca204valry

    (@ca204valry)

    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

    Thread Starter ca204valry

    (@ca204valry)

    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

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

    Thread Starter ca204valry

    (@ca204valry)

    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.

    So what’s the problem with https://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.

    Thread Starter ca204valry

    (@ca204valry)

    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.

    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.

    Thread Starter ca204valry

    (@ca204valry)

    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

    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

    Thread Starter ca204valry

    (@ca204valry)

    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.