• Resolved Anne

    (@akuanne)


    I am getting desperat, I have looked at many topic without finding a solution to my problem.

    I moved my subdomain to my domain following til Guide: Moving WordPress, and I succeed after quite a hassel.

    Then after I was nearly finish with the hole setup/design I just wanted to change the Url that my customers wright to get to my page. I should ever have done that, after I could not get to the admin/login page, and therefore not change anything in wordpress Kontrolpanel. I have tried to delete everything from my Host and transfere it back via FTF with Fixzilla. It didn’t help. I have tried to delete all themes except default and change the theme name for the theme and childtheme I use, that didn’t help either. I have tried to change the name of the plugin folder without luck.

    Every time I try to get to the wordpress login, I get the message: ERR TOO MANY REDIRECTS

    And I have tried to clear the cache and cookies too, also without any luck.

    So PLEASE help me anyone, don’t want to start all over, it has taken me months to get this fare….

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Anne

    (@akuanne)

    Oh, it is late and I forgot:

    My site is: https://www.aku-kur.dk/public_html

    It used to be: https://testing.aku-kur/public_html

    I will be so great full if someone would help me, Thank you.

    Thread Starter Anne

    (@akuanne)

    That was wronge, my subdomain was:
    https://testing.aku-kur.dk/index-filer/

    Thread Starter Anne

    (@akuanne)

    Hello again. If anyone ever come across the same problem, this is how I solved it:

    First I delete all themes, that I wasn’t using and change the names of those I was using, so I was left with the default-theme

    Then I went to the page:
    https://www.wpbeginner.com/wp-tutorials/how-to-fix-error-too-many-redirects-issue-in-wordpress/

    I only needed this first to use this first suggestion – I quote:

    In case you don’t have access to WordPress Admin area, you can still update these settings by defining them in wp-config.php file. Simply connect to your website using an FTP client. Once you are connected to your site, you will find wp-config.php file in your site’s root directory. You need to download and edit this file using a text editor like Notepad. Simply add these two lines to the file and don’t forget to replace example.com with your own domain.

    define(‘WP_HOME’,’https://example.com’);
    define(‘WP_SITEURL’,’https://example.com’);

    Save the file and upload it back to your web server. Now try to access your WordPress site. If you still can not access your site, then try to add your domain with www prefix.”

    I hope this will help others – if not check the above site out for more.

    Thread Starter Anne

    (@akuanne)

    After I returned to the admin control panel, I went back to my web host and change the names of theme back.
    Then I downloaded the contents of my site again to my computer to have a fresh new backup.

    Thread Starter Anne

    (@akuanne)

    I should also add, that you need to change the two URLs in your admin panel under setting – general setting to mach the two you have change in the wp-config.php file.

    For example:

    define(‘WP_HOME’,’https://example.com/public_html’);
    -which is where your site is installed on your server and this should be written in the second “field web site adress” (maybe it is not the correct name of the field as I am translating it from danish) – but it is the second field

    define(‘WP_SITEURL’,’https://example.com’);
    -this is what you want others to write in the search field in their browser to come to your frontpage and it should be written in the first field in the general settings the “WordPress adress”.

    I hope this will help you if you have the same problem – which toke me hours to figure out.
    Best of luck.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can not get to admin/login page after moving subdomain to domain’ is closed to new replies.