Page 1 of 1
Duplicate News URL's
Posted: Sat Mar 16, 2013 7:02 pm
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
Re: Duplicate News URL's
Posted: Sun Mar 17, 2013 10:51 am
by velden
Could you point where those .../index.php.... links are created?. How is the {news} module called there (in template or content)?
Re: Duplicate News URL's
Posted: Sun Mar 17, 2013 11:44 am
by staartmees
do you use pretty url's?
do you use a htaccess-file with mod_rewrite to create pretty URLs?
Re: Duplicate News URL's
Posted: Sun Mar 17, 2013 11:55 am
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.
Re: Duplicate News URL's
Posted: Sun Mar 17, 2013 12:00 pm
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.
Re: Duplicate News URL's
Posted: Sun Mar 17, 2013 12:02 pm
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.