News module, URL problem

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.
Locked
reuab

News module, URL problem

Post 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.. :)
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: News module, URL problem

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
reuab

Re: News module, URL problem

Post by reuab »

Thank you for the quick response!

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

Return to “CMSMS Core”