• Resolved wailamliu

    (@wailamliu)


    Hi,
    I’ve never had an issue before, but today, I do. I have a wp site that currently sits on my own URL’s subfolders. My client has his own url which is currently pointing to that subfolder but of course, wp still reads my URL.

    So I’ve updated the Site Address field with my client’s URL. All the pages’ permalinks have been changed, however, when I go onto the site, the site can’t find new permalinks. This is the error I got when I click on a menu item:

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

    Can someone help me fix this issue? I just deleted the .htaccess file and it didn’t do anything. Everytime I try to login with my client’s URL, it redirects me back to my URL.

    Thanks,
    Wai

Viewing 3 replies - 1 through 3 (of 3 total)
  • Here are my recommendations.
    A: Open your themes function file )functions.php) via FTP.
    B: Add this code to the bottom.

    update_option('siteurl','https://example.com');
    update_option('home','https://example.com');

    C: Add this to .htaccess.

    # 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

    After the problem is fixed, you should remove the lines of code from functions.php.

    Thread Starter wailamliu

    (@wailamliu)

    Hi,
    Thanks for this. it did resolve the issue.. however, I also notice something strange.

    When I try to logon to the new URL.. ie: https://www.outtahand.com/wp-admin, it redirects to my URL subfolder which doesn’t allow me to login.

    however, when I go to my URL subfolder where the core files are stored, ie. https://www.myurl.com/subfolder/wp-admin, it works.

    It’s not too big of a deal, but when the client logs in to make his updates, he’ll get confused.

    Are you able to help with this?
    Wai-Lam

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change Site Address Errors’ is closed to new replies.