I developed my first Drupal site using an IP address. When I finished developing I pointed my full domain name to the Drupal site.

Now the site resolves via domain name but all links in the site still use the IP address.
How can I fix so the entire site uses the domain name?

And why is that? Are all Drupal links fully qualified and not relative or root? Did I miss a setting in the admin or goof something up badly?

Comments

styro’s picture

Did you update $base_url in your settings.php file?

--
Anton

snackmaster’s picture

DOH! x10

Now I have that I'm baffled that Drupal apparently doesn't support Anchor links. I thought it might be related to my IP problem but appears to be a an issue for all. Full qualified seems to work but thats silly as it reloads the page.

styro’s picture

What you're probably finding (I think) is that the Apache rewrite rules in .htaccess for clean URLs are butchering (ie rewriting) the anchors.

I'm not sure what the best way around that would be. A new post with a relevant subject line might be your best bet.

--
Anton