Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEO : Check URL for each pages #63

Open
lpotherat opened this issue May 9, 2013 · 4 comments
Open

SEO : Check URL for each pages #63

lpotherat opened this issue May 9, 2013 · 4 comments

Comments

@lpotherat
Copy link
Contributor

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.

@wakdev
Copy link
Owner

wakdev commented May 9, 2013

I know, i will create a dedicated tab for SEO configuration (see sla_articles).
With an "alias" field for define yourself the url.

but good point :)

@wakdev
Copy link
Owner

wakdev commented May 9, 2013

this adds up to the following discussion : #16 ^^

@wakdev
Copy link
Owner

wakdev commented May 9, 2013

And now, i think different.
iOs is really the best OS of the universe ^^

@wakdev
Copy link
Owner

wakdev commented May 10, 2013

I will integrate a simple verification of alias in database, and request_uri.
Here for sl_page : https://github.com/wakdev/slash-cms/blob/master/modules/sl_pages/models/pages.php#L36
Here for sla_articles : https://github.com/wakdev/slash-cms/blob/master/modules/sl_articles/models/articles.php#L35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants