-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Problem :
a page can be loaded from multiple URLs, example :
- [fakeurl]w.slash-cms.com/page-2-custom-url.html is equal to
- [fakeurl]w.slash-cms.com/page-2-we-need-you.html
This means that search engines can register two different urls for the same content, and it's called "duplicate content".
This duplicate URLs can happen when the administrator changes the name of a page, when a link from an external website is not well written or not up to date.
Finally, a malicious person can voluntarely register bad urls in order to change the meaning of the URL. ( changing [fakeurl]w.slash-cms.com/page-2-we-need-you.html to [fakeurl]w.slash-cms.com/page-2-apple-ios-is-the-best-os-of-the-world.html, wich is not true...)
So, the modules have to check the incoming URL, and redirect to the true URL if necessary, with code 301 (moved permanently) or code 302 (move temporarly) or code 404 (not found). 301 will tell to search engines that they have to change their index. 404 will tell that they should delete the entry from their index.