Post by Inspired » Mon Jan 04, 2010 5:06 pm

I have hosting account with several domains on. I installed OpenCart on one of the domains (not the main one) and now the url is like:

http://www.domain.com/domain

http://www.domain.com works as well but all the links have domain.com/domain in them

How do I change my url to http://www.domain.com?


Thanks in advance.

Newbie

Posts

Joined
Mon Jan 04, 2010 4:54 pm

Post by i2Paq » Mon Jan 04, 2010 5:27 pm

Does the redirection of these domains to the subdir work correct?

Maybe ask your hoster.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by Inspired » Mon Jan 04, 2010 5:38 pm

The domain works just fine. The /domain only appeared after I installed OpenCart.

I have the same thing with WordPress installations, but WP allows to change the url in the admin panel afterwards. I'm not sure where I can change the url with OpenCart.

Newbie

Posts

Joined
Mon Jan 04, 2010 4:54 pm

Post by Inspired » Mon Jan 04, 2010 5:45 pm

Problem solved.


I changed the the urls in config.php in both admin and root. That fixed it!

Newbie

Posts

Joined
Mon Jan 04, 2010 4:54 pm

Post by i2Paq » Mon Jan 04, 2010 6:09 pm

Inspired wrote:Problem solved.


I changed the the urls in config.php in both admin and root. That fixed it!

OK, makes sence.

Thanks for informing us.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands
Who is online

Users browsing this forum: No registered users and 13 guests