Kentico CMS 6.0 Context Help

URLs and SEO

URLs and SEO

Previous topic Next topic Mail us feedback on this topic!  

URLs and SEO

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

URL format

Forbidden URL characters

This setting can be used to list additional characters that should be replaced or removed in URLs (document aliases and URL paths).

 

The following characters are forbidden by default:

 

\/:*?"<>|&%.'#[]+=„“ and the space character.

 

If necessary, the default set of forbidden characters can be overridden through the CMSForbiddenURLValues web.config key.

Forbidden characters replacement

Specifies the character that will be used as a replacement for forbidden characters in URLs.

Allowed URL characters

Determines which characters are usable in URLs by means of a regular expression. Any characters not specified will be forbidden. If empty, only the characters specified by the Forbidden URL characters setting will be prohibited.

 

When allowing special characters in the regular expression, they must be preceded by a backslash (\) as an escape character.

 

Example: Entering a-zA-Z0-9\^ as the value would only allow alphanumeric characters and the caret symbol (^) to be used in URLs.

 

Please note that this setting cannot be used to allow the default forbidden URL characters.

Friendly URL extension

Specifies the extension of friendly URLs. The extension should be preceded by a dot when entered, such as: .aspx or .html. When you omit this value, the friendly URLs will be the same as the alias path (e.g. /products/nokia).

 

Please note: The system of “friendly” or “smart” URLs provides several benefits. They are easy to remember and easy to write into the browser address bar. They are search engine friendly (SEO friendly). They show users where they are located on the website. You can easily send the URL of the document to your friend and they will see the same page with the particular document.

Files friendly URL extension

Specifies the extension for files that will be used in friendly URLs, such as ".aspx" or ".html".

 

Example: getattachment/<node alias>/myimage.aspx

 

When you omit this value, the friendly URLs of files will have no extension at the end: getattachment/<node alias>/myimage

Excluded URLs

List of URLs (without domain) that should be excluded from the CMS engine. You can enter several paths separated by a semicolon (;).

Document URLs

Default URL path prefix

Defines a default URL path prefix that will be used for all URLs of the content pages. This prefix is rewritten to urlpathprefix query string parameter.

Use name path for URL path

If checked, this key indicates that name path should be automatically copied to the URL path.

Use permanent URLs

If enabled, URLs of documents and document attachments will be generated in permanent format; if disabled, friendly URLs will be used. Learn more in Linking pages and files.

Remember original URLs when moving documents

Determines if new document aliases should be created when a new document URL path or extension is set.

Automatically update document alias

If enabled, the alias of a document is automatically updated to match any changes in the name of the given document in the default culture. Also, the document alias property will not be editable manually.

Search engine optimization (SEO)

Google sitemap URL

URL that will be automatically rewritten to the physical location of the Google Sitemap. The physical location is ~/CMSPages/GoogleSiteMap.aspx. More information can be found at Google Sitemap.

Allow permanent (301) redirection

If enabled, the system uses permanent (301) redirection instead of standard (302) redirection for SEO purposes.

Use URLs with trailing slash

Specifies how URLs with trailing slash should be handled. Possible options: Leave the URL as is, Always use URLs with trailing slash, Always use URLs without trailing slash.

Redirect document aliases to main URL

If enabled, the document always has only one valid URL and other aliases are redirected to this main URL, for SEO purposes.

Redirect invalid case URLs to their correct versions

Checks the URL letter case, and if configured, redirects to their correct version. Options: Do not check the URLs case, Use the exact URL of the document, Redirect all requests to lower case URLs, Redirect all requests to upper case URLs.

Use language prefix for URLs

If enabled, all document URLs will be generated with language prefixes. The language prefix is identical to to the culture code or culture alias (if set) of the currently selected content culture.
 
Example: <domain>/en-US/Home.aspx

Allow URLs without language prefixes

If enabled, URLs without language prefixes are allowed. Otherwise they are redirected to a corresponding URL with a language prefix. This setting is usable only if Use language prefix for URLs is enabled.

Redirect documents to main extension

If enabled, URLs will be redirected to a corresponding URL with the current main extension if their extension is different. The main extension is the first one specified in the Friendly URL extension field.

Move ViewState to the end of the page

If enabled, the hidden ViewState field is relocated to the end of the page, allowing more content to be processed by search engines.