Domain settings not matching wordpress now I'm locked out!

### Username (e.g. epiz_XXX) or Website URL

(please specify the website or account you are asking about)

Error Message

(please share the FULL error message you see)

Other Information

My wordpress domain settings were accidentally changed from
aimeebrucknerdesign.great-site.net to
something else.

and now I am completely locked out of my site, dashboard etc.
Can I change my domain name in InfinityFree to match it back up? Or is there a workaround to restore the previous wordpress settings??

You can do this

5 Likes

Thanks so much for the quick reply.
I made the edits to the function.php file within the theme, but now I get this error:

This site can’t provide a secure connection

site sent an invalid response.

Should the change be instantaneous, or does it take a few hours to register the changes?

Please show the edits you made to function.php

3 Likes
update_option( 'siteurl', 'https://aimeebrucknerdesign.great-site.net' );
update_option( 'home', 'https://aimeebrucknerdesign.great-site.net' );

These two lines were added to the very end of the file.

My bad, I used the example settings - updated settings here

update_option( 'siteurl', 'http://aimeebrucknerdesign.great-site.net' );
update_option( 'home', 'http://aimeebrucknerdesign.great-site.net' );

And I’m back in my dashboard. OMG you’re a lifesaver. Thank you.

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.