Skip to content

Settings explained

Corentin Bettiol edited this page Mar 2, 2020 · 1 revision

As of 02/03/2020, here are the settings:

SEO_SETTINGS = {
    "content_words_number": [300, 600],
    "internal_links": 1,
    "external_links": 1,
    "meta_title_length": [30, 60],
    "meta_description_length": [50, 160],
    "keywords_in_first_words": 50,
    "max_link_depth": 4,
    "max_url_length": 70,
}

Explanations

content_words_number

A problem is raised if content text is less than 300 words long, a warning is raised if the content is more than 300 words long and less than 600 words long.

A success is raised if content text is longer than 600 words long.

internal_links

A problem is raised if there is less than 1 internal link on the content (not nav/header/footer).

A success is raised if there is at least 1 internal link on the content.

external_links

A problem is raised if there is less than 1 external link on the content (not nav/header/footer).

A success is raised if there is at least 1 external link on the content.

meta_title_length

A problem is raised if the meta title tag content is less than 30 chars long, or if it is more than 60 chars long.

A success is raised if the meta title tag content is between 30 & 60 chars long.

meta_description_length

A problem is raised if the meta description tag content is less than 50 chars long, or if it is more than 160 chars long.

A success is raised if the meta description tag content is between 50 & 160 chars long.

keywords_in_first_words

A problem is raised if there is no keyword in the first 50 words of the content (not nav/header/footer).

A success is raised otherwise.

max_link_depth

A problem is raised if the link have more than 4 levels (mywebsite.ext/en/blog/article/ have 4 levels).

A success is raised otherwise.

max_url_length

A problem is raised if the url is longer than 70 chars (without https://).

A success is raised otherwise.


Content

If you want to know the reasons why we chose these checks in particular.

Checks that are not included inside the project


Code

Clone this wiki locally