News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Having trouble changing my domain

Started by Trerro, January 23, 2010, 06:03:47 PM

Previous topic - Next topic

Trerro

We recently changed the name of our site, and with it, our domain name. The domain change worked fine, but when I try to go to our SMF forums, it's still trying to use the old domain name, which is dead. It does this even if I try to connect by IP instead of a domain name.

The only place I could find in the code that specifically refers to a domain is $boardurl in settings.php and settings_bak.php. The DB also refers to it a few times in the settings table (for stuff like where to upload avatars). I changed $boardurl and all DB references from the old domain to the new, which I would think would fix the problem... but it didn't.

Is there another step I'm missing here? Any help would be appreciated.

Oranos

Upload repair_settings.php

What is repair_settings.php?

Access the file using your new domain, then fix all of the urls to use your new one.

Trerro

Ah, there were 2 more links to the old domain in the theme settings, which was forcing a redirect. That script fixed it instantly. Thanks for the help. :)

Advertisement: