Hello
I'm using sh404SEF and for the SEF URL communaute/photos/image-1 I have the following non-SEF URLs (what sh404SEF calls "duplicates"):
index.php?option=com_easysocial&Itemid=520&id=1580&lang=fr&layout=download&view=photos
index.php?option=com_easysocial&Itemid=520&id=1580&lang=fr&layout=form&view=photos
index.php?option=com_easysocial&Itemid=520&id=1609&lang=fr&layout=item&view=photos
index.php?option=com_easysocial&Itemid=520&id=1610&lang=fr&layout=item&view=photos
index.php?option=com_easysocial&Itemid=520&id=1609&lang=fr&layout=download&view=photos
So of course when the communaute/photos/image-1 is requested the user hardly ever gets what he expected
All of the images (for the different IDs) are named image.jpg. What you should have in the URL in that case is either image-1 for the 1st image, image-2 for the 2d one etc. or maybe 1580-image, 1609-image etc. where the number is the ID of the image. I don't know what are you best practices.
And of course, the layout parameter which differs here between the different non-SEF URLS should be somehow in the SEF URL...
Thanks!
I'm using sh404SEF and for the SEF URL communaute/photos/image-1 I have the following non-SEF URLs (what sh404SEF calls "duplicates"):
index.php?option=com_easysocial&Itemid=520&id=1580&lang=fr&layout=download&view=photos
index.php?option=com_easysocial&Itemid=520&id=1580&lang=fr&layout=form&view=photos
index.php?option=com_easysocial&Itemid=520&id=1609&lang=fr&layout=item&view=photos
index.php?option=com_easysocial&Itemid=520&id=1610&lang=fr&layout=item&view=photos
index.php?option=com_easysocial&Itemid=520&id=1609&lang=fr&layout=download&view=photos
So of course when the communaute/photos/image-1 is requested the user hardly ever gets what he expected
All of the images (for the different IDs) are named image.jpg. What you should have in the URL in that case is either image-1 for the 1st image, image-2 for the 2d one etc. or maybe 1580-image, 1609-image etc. where the number is the ID of the image. I don't know what are you best practices.
And of course, the layout parameter which differs here between the different non-SEF URLS should be somehow in the SEF URL...
Thanks!