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
Duplicate News URL's
Re: Duplicate News URL's
Could you point where those .../index.php.... links are created?. How is the {news} module called there (in template or content)?
-
- Power Poster
- Posts: 1049
- Joined: Wed Mar 19, 2008 4:54 pm
Re: Duplicate News URL's
do you use pretty url's?
do you use a htaccess-file with mod_rewrite to create pretty URLs?
do you use a htaccess-file with mod_rewrite to create pretty URLs?
-
- Forum Members
- Posts: 103
- Joined: Fri Nov 28, 2008 11:26 am
Re: Duplicate News URL's
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.
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
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.
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.
-
- Power Poster
- Posts: 1049
- Joined: Wed Mar 19, 2008 4:54 pm
Re: Duplicate News URL's
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.
Disable the htaccess-file; if the problem no longer occurs something is wrong with that file.