I set my base url to an ip address plus a temporary dir (/~massblue) during the time that the domain name was being registered. I enabled clean urls and they worked fine.

After the domain name was propagated, I set the base url to the domain name. The problem is that with clean urls, the temporary url keeps being used: i.e. www.example.com/~massblue/myPage instead of simply www.example.com/myPage.

I tried commenting out the base url setting in the settings script. I tried disabling clean urls and the page module and then re-enabling them. I searched the database for somewhere that the base url might be kept. All with no luck.

Does anyone know how I can fix this?

Comments

agentrickard’s picture

You have likely been bitten by a cached menu. That is, the Drupal links stored in the cache still refer to the old path.

To fix, go to example.com/admin/menu (4.7 or lower) or example.com/admin/build/menu to clear your menu cache.

--
http://ken.blufftontoday.com/
http://new.savannahnow.com/user/2
Search first, ask good questions later.

kloomis’s picture

Should I do something when I'm there? I tried editing an item, but that didn't help.

By the way, I tried emptying the cache before, but that didn't fix it either.

Ken

kloomis’s picture

Ah, I fixed it. Typo in the base url.

Jim Ruby’s picture

I tried:
http://ipaddress/~test/accessibleworld.org/?q=admin/build/menu
the site came back up, but nothing has changed.
I noticed the url does not come up right even if I have it correct in the base url section as
http://ipaddress/~myarea/domain.org
it will come as
http://ipaddress?q=admin or whatever
and looses the /~myarea/domain.org

any other suggestions?

mortenson’s picture