why is the index.php?cID=xx accessible ?

Permalink
Hello,

On a website, the pretty URL are activated, the .htaccess file is correct but when I go on mywebsite.com/index.php?cID=xx, the URL is not modified.
Why does the URL not modify itself into mywebsite.com/my-page-with-pretty-url

agencecoteo
 
adajad replied on at Permalink Best Answer Reply
adajad
Can you reach the page with 'www.yourdomain.com/example' as well as with 'www.yourdomain.com/index.php?cID=xx'? If you can then prettyURL is doing it's thing.

To completely get around this, you can read up on Andrews article here: http://andrewembler.com/posts/seo-tip-force-concrete5-pages-to-disp...
agencecoteo replied on at Permalink Reply
agencecoteo
yes I can.

But to avoid duplicate content, I think that index.php?cID=xx must redirect on the pretty url.

I tried the tip in andrewembler.com link but it doesn't work, my website is with C5 5.5.1.
agencecoteo replied on at Permalink Reply
agencecoteo
strange.
I did another test and it works ! thank you :) the "cId=xx" page URL's are updated.

in fact, it works when I'm not logged in, as Andrew says.
adajad replied on at Permalink Reply
adajad
Glad it worked for you! It was probably some caching going on that prevented it from working the first time you tried.