Duplicate News URL's

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
beherenow_uk
Forum Members
Forum Members
Posts: 103
Joined: Fri Nov 28, 2008 11:26 am
Location: London, UK

Duplicate News URL's

Post by beherenow_uk »

We have a site where the News module appears to be creating 2 spearate URL's for the same page for example:

http://www.ukqcs.co.uk/index.php/18?page=news/18
and
http://www.ukqcs.co.uk/news/18/73/Atten ... anagement/

Does anyone know why this is? It's causing us all sorts of problems in Google Analytics!

Thanks
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3322
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: Duplicate News URL's

Post by velden »

Could you point where those .../index.php.... links are created?. How is the {news} module called there (in template or content)?
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: Duplicate News URL's

Post by staartmees »

do you use pretty url's?
do you use a htaccess-file with mod_rewrite to create pretty URLs?
User avatar
beherenow_uk
Forum Members
Forum Members
Posts: 103
Joined: Fri Nov 28, 2008 11:26 am
Location: London, UK

Re: Duplicate News URL's

Post by beherenow_uk »

Hey,

I should note, it is CMSMS 1.8.1.

The {news} module is being called from within the Content area of the News page.

And yes we are using Mod-rewrite in the .htaccess file to create the pretty URL's. It seems strange that loads of pages can be accessed by 2 very different URL's!

Hope this helps.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3322
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: Duplicate News URL's

Post by velden »

it's not strange that they can be reached from two urls. That's just the way that url rewriting works.

However, the real question is: what module is creating those url's. And why.

I have read that the news module will not create pretty urls when your using extra parameters like sort etc.
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: Duplicate News URL's

Post by staartmees »

version 1.8.1 is no longer supported and has a securityproblem, so an update is adviced.

Disable the htaccess-file; if the problem no longer occurs something is wrong with that file.
Post Reply

Return to “Modules/Add-Ons”