News module links to detail pages

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
bailiwick
New Member
New Member
Posts: 3
Joined: Thu Apr 04, 2019 7:44 pm

News module links to detail pages

Post by bailiwick »

CMSMS version 2.2.8

News summary template produces links to detail pages like:

Code: Select all

/news/68/98/my-article-is-cool/d,news-article.html
which result in 404's. If I remove the 'd,' in front of the actual file url (like below), it works and loads my detail page with the article:

Code: Select all

/news/68/98/my-article-is-cool/news-article.html
Things I've tried:

1.) googling/searching forums
2.) updating routes: system maintenance->cache and content->update routes
3.) started poking around in the module files and I easily see where the 'd,' is added to the link, but figured there has to be something else at play here or the 'd,' is there for a reason.

Notes:
I did migrate news articles database table from previous site this one and that site is running a much older CMSMS version (1.11.13).

Any help is greatly appreciated!
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: News module links to detail pages

Post by velden »

It's not an anwser to your question but it's strongly adviced to upgrade your website to the latest versions of CMSMS (2.2.12).

https://newsletter.cmsmadesimple.org/w/ ... J3M3e7tmcg

I'm not aware of any fixes to the News module, so upgrading will probably not fix this issue for you.
johnboyuk1
Forum Members
Forum Members
Posts: 235
Joined: Mon Nov 26, 2018 3:09 pm

Re: News module links to detail pages

Post by johnboyuk1 »

Am assuming you must be using pretty URLs? Is it something to do with that? Have you tried turning pretty URLs off and checking it works without first?

I've never seen a 'd,' in my URLs with Pretty URLs running... have you tried setting the 'Default Detail page' in the News module options?
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1792
Joined: Wed Feb 25, 2009 4:25 am

Re: News module links to detail pages

Post by DIGI3 »

Does the problem persist for newly created articles, or just the ones you imported?
Not getting the answer you need? CMSMS support options
Locked

Return to “CMSMS Core”