[Solved] Problems with wrong url in the browsers addressbar

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Tomten
New Member
New Member
Posts: 2
Joined: Fri Oct 15, 2010 5:36 pm

[Solved] Problems with wrong url in the browsers addressbar

Post by Tomten »

CMS version: 1.8.2
Apache version: 2.2.16
PHP version: 5.3.3

Problem:
I have 3 virtual hosts on the server.
www.company1.com
www.company2.com
www.company3.com

Company3 is the only one using CMS.
The other 2 works as intended.
Company3 works as far as the presentation of the site.
When I type in www.company3.com the browsers addressbar shows that when I get there.
But if I click on a link the address shown is: www.company1.com/company3/index.php?page=thepage I requested.
The wwwroot was made a long time ago when there was only one site hosted, so company1 is directly int the wwwroot, the other 2 are in separate directories underneath the root so the link is probably correct, but not nice.

Now I'm not really sure if this is a CMS, PHP or Apacheproblem. I have googled and read much about pretty url:s but not too sure if thats the problem here.

And I have troble googling for the problem in a way that makes sense for the searchengine methinks.

Anyone knows what I am missing or can point me in the right direction?
Last edited by Tomten on Fri Oct 15, 2010 8:11 pm, edited 1 time in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Problems with wrong url in the browsers addressbar

Post by Rolf »

Hi Tomten, welcome here.

Did you check the root_url and the server paths in the config.php yet?

grtz. Rolf  :)
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Tomten
New Member
New Member
Posts: 2
Joined: Fri Oct 15, 2010 5:36 pm

Re: Problems with wrong url in the browsers addressbar

Post by Tomten »

No I did not.  :-[

So easy when you know.

Thanks a lot!
Post Reply

Return to “CMSMS Core”