I've spent hours searching the forum and I'm stuck.

I originally set up my site as :

www.site.com/drupal.

After I had it running I registered a new domain name and have the url www.newdomain.com forwarded to www.site.com/drupal.

However, When I send an email to a new user it shos the %uri as "www.site.com/drupal".

I tried changing the base url in the settings file, but when I do that the page comes up without any layout or theme background.

Is there a way of changin the data in %uri?

Thanks!

Comments

techczech’s picture

I think you just need to point your domain to the folder as a server alias. Domain forwarding will always display the target path. The reason it comes with no styling when you change base_url in settings.php is that it looks in that domain.com/theme for its theme files. In short, this is not a Drupal issue but a server issue. (I know because it took me a while to comprehend this with my own various set ups.)

Johnbmtl’s picture

I see.

But how do I change the %uri so that when it sends emails to new registants it shows the new domain?

techczech’s picture

You do that within Drupal through admin/settings in General settings.

socketwench’s picture

Where? I can't find it in administer > settings. It doesn't seem to exist for 4.7.7.

janp13’s picture

three years on ... :)

Our site was set up on a demo server and has now been moved to replace the original site. The emails going out still use the old address - how do we change it to the new one?

janp13’s picture

three years on ... :)

Our site was set up on a demo server and has now been moved to replace the original site. The emails going out still use the old address - how do we change it to the new one?