(fixed) Problem med URL

Support på dansk for CMS Made Simple

Moderator: Silmarillion

Post Reply
PoulErik
New Member
New Member
Posts: 3
Joined: Mon Jan 04, 2010 7:09 pm

(fixed) Problem med URL

Post by PoulErik »

Hej

jeg har oprettet et lille site, men i url'en kommer selve serveren på webhotellet med:

http://87.238.248.114/ik-design.dk/httpdocs/

Den burde hedde: http://www.ik-design.dk/home

eller
http://www.ik-design.dk/ - et eller andet -

men uden 87.238..... osv.

Hotel-ejeren siger det er en opsætning fejl i cmsms, men jeg kan ikke finde en fejl. Kan fejlen ligge i config.php?

Kan I hjælpe?
Last edited by Silmarillion on Sat Jan 09, 2010 3:30 pm, edited 1 time in total.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Problem med URL

Post by RonnyK »

Sorry for posting in English, but my Danish is very bad....

It could be that you installed CMSMS using the ip-address. Than the ip-address will be written in the config.php and when it is set there as root_url, then all the pages, when clicked will get the ip as the root.

You could modify the config.php and replace the ip-address with the domain-name.

Ronny
User avatar
Silmarillion
Dev Team Member
Dev Team Member
Posts: 483
Joined: Sun Jan 02, 2005 9:10 pm

Re: Problem med URL

Post by Silmarillion »

jeg er helt sikker på RonnyK har fat i det rigtige. Led efter IP-nummeret i config.php og erstat med domænenavnet...

m.
PoulErik
New Member
New Member
Posts: 3
Joined: Mon Jan 04, 2010 7:09 pm

Re: Problem med URL

Post by PoulErik »

RonnyK wrote: Sorry for posting in English, but my Danish is very bad....

It could be that you installed CMSMS using the ip-address. Than the ip-address will be written in the config.php and when it is set there as root_url, then all the pages, when clicked will get the ip as the root.

You could modify the config.php and replace the ip-address with the domain-name.

Ronny
Thank you.

But I have tried this and as you can see here: www.ik-design.dk

I lost the connection to the CMS

But you are right, the site was moved by the web-hotel after installation because it did not work in the first server it was placed on.

/PoulErik
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Problem med URL

Post by RonnyK »

and with the ip-address in the config.php it did work?

If a site is moved to another server, you could also run the installer again, where you UNCHECK the 'create tables' and UNCHECK the "install default content". UNCHECKING these 2 will run the installer, and create a new config.php, but not overwrite the tables...

So that is an option as well, but be sure to NOT CHECK these 2 ticks in the installer...

BTW, I think that you still have a non-modified URL in the config.php. There are 4 places IIRC, that should be updated..

Ronny
Last edited by RonnyK on Tue Jan 05, 2010 7:17 pm, edited 1 time in total.
PoulErik
New Member
New Member
Posts: 3
Joined: Mon Jan 04, 2010 7:09 pm

Re: Problem med URL

Post by PoulErik »

I reinstall like you advice me to and it worked - thank you :-))
Post Reply

Return to “Danish - Dansk”