• Resolved Mark

    (@foundsheepgmailcom)


    I’ve gone through https://codex.www.ads-software.com/Changing_The_Site_URL and done the things specified, but I still cannot access wp-admin.

    I set up the site originally at hackworth.co/tgs because the main domain (tgsva.com) was live on another server. Once the site was ready and the domain nameservers were switched, I logged into wp-admin and changed the site URL to https://www.tgsva.com. At that point I went through the Codex instructions as the site was not working. Now the site is working, but I cannot log in. I only get a blank page at wp-admin.

    Any help is greatly appreciated. Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi,
    Connect to the database and verify that in [prefix]_options :
    siteurl and home have the correct info, if you’ve already done this, using an ftp client make sure you don’t have an .htaccess file forgotten somewhere that redirects you.
    Regards

    Thread Starter Mark

    (@foundsheepgmailcom)

    Thanks for the response. Yes, my wp_options home and site are set to https://www.tgsva.com.

    My .htaccess file has this:

    # 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

    # 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

    Not sure if that is right or wrong.

    It should just be:

    # 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 Mark

    (@foundsheepgmailcom)

    I deleted the duplicate, but it did not fix the wp-admin issue.

    On a side note: I found out that the .htaccess cannot have any breaks … that breaks the site.

    it would probably be best to delete the file and re-save your permalink structure…
    Regards

    Thread Starter Mark

    (@foundsheepgmailcom)

    Delete the .htaccess file? How do re-save permalink structure outside of the wp-admin access?

    Thread Starter Mark

    (@foundsheepgmailcom)

    Found the issue … was the plugin folder. This post gave me the low down:
    https://beingruth.com/the-two-most-common-fixes-for-wordpress-problems/

    Thanks for the input and help, jnhghy and esmi!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Changed domain: site works; wp-admin does not’ is closed to new replies.