Page 1 of 1

News module, URL problem

Posted: Thu Mar 30, 2006 3:29 pm
by reuab
I have a problem where it displays the "original/host" URL instead of the wanted DNS URL when I click the "More.." link in my news.

For example:

The page is hosted at www.host-address.com

I have a DNS to the original address at www.dns-address.com, which redirects to www.host-address.com BUT www.dns-address.com is the address seen in the "URL-bar" at the top.

I surf around to various sub-pages and the URL-bar changes to www.dns-address.com/page1.html etc, which is how I want it to be.

But when I click on a "More.." link, the URL-bar changes to www.host-address.com+newsstuff. And whenever I visit a new sub-page it keeps the original address, like www.host-address.com/page1.html.

So, any tips on how to keep my DNS URL when I click on the "More.." link? I believe my question might be a bit hard to understand, so please ask if you need.. :)

Re: News module, URL problem

Posted: Thu Mar 30, 2006 3:37 pm
by calguy1000
all of the urls are built from entries in the config.php file, so I think you need to look at the url settings in this file.

Re: News module, URL problem

Posted: Thu Mar 30, 2006 6:16 pm
by reuab
Thank you for the quick response!

I changed root_url in config.php and it works like a charm, splendid!