Page 1 of 1
(fixed) Problem med URL
Posted: Mon Jan 04, 2010 7:18 pm
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?
Re: Problem med URL
Posted: Mon Jan 04, 2010 7:27 pm
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
Re: Problem med URL
Posted: Tue Jan 05, 2010 10:01 am
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.
Re: Problem med URL
Posted: Tue Jan 05, 2010 5:18 pm
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
Re: Problem med URL
Posted: Tue Jan 05, 2010 7:02 pm
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
Re: Problem med URL
Posted: Sat Jan 09, 2010 12:12 pm
by PoulErik
I reinstall like you advice me to and it worked - thank you

)