• I’m trying to manually move a site from a subdirectory to the root directory
    From http://www.sa-fc.org.uk/revamp/
    to http://www.sa-fc.org.uk/
    I keep getting Internal Server Error messages.

    See bellow for what I’ve tried so far …
    (NB The site is currently behind a “This site is undergoing maintainence” plugin page.)

    Using FTP I’ve moved all the content
    from public_html/revamp/
    to public_html/

    Using phpMyAdmin, I have edited two parts of wp_options
    Both siteurl and home
    from http://www.sa-fc.org.uk/revamp/
    to http://www.sa-fc.org.uk/

    I then used the Velevet Blues plugin to rewrite URLs
    from wwww.sa-fc.org.uk/revamp/
    to wwww.sa-fc.org.uk/

    I have access to the WP dashboard and can access all the pages / posts / media fils / etc within the dashboard. As far as I can see the respective URLs all comply with the new location.

    BUT …
    If I try to access or even Preview, I get 500 Internal Server Error messages.
    I suspect there is something I need to do to the SQL database.

    I found the following SQL query
    UPDATE wp_posts SET post_content = REPLACE(post_content, 'localhost/test/', 'www.yourlivesite.com/');
    But that didn’t help. I wonder whether that is because post_content doesn’t change everythng that needs to change.

    Any suggestions?

    • This topic was modified 7 years, 4 months ago by eyeghoti.
    • This topic was modified 7 years, 4 months ago by eyeghoti.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • You have one w too much in the address (wwwww).

    PS. Is the path right in the wp-config.php file?

    /** WordPress absolute path to the WordPress directory. */
    if ( !defined(‘ABSPATH’) )
    define(‘ABSPATH’, dirname(__FILE__) . ‘/’);

    • This reply was modified 7 years, 4 months ago by wp-muhkiainen.
    Thread Starter eyeghoti

    (@eyeghoti)

    The ‘wwwww’ is a typo in this thread only. (Appologies for that. Not helpful, I realise.)

    The code you list is exactly the same in the ‘wp-config.php’ file (although it is commented as

    /** Absolute path to the WordPress directory. */

    Thread Starter eyeghoti

    (@eyeghoti)

    The only difference I can see in that page that isn’t covered by what I’ve done is that there shouldn’t have been a slash at the end of the respective URLs for siteurl and home in wp_options.
    (Unfortunately another typo in my post above, a subtlety I had not spotted, so appologies again, but one that won’t work.)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Internal Server Error after migration’ is closed to new replies.