Mvc Cms Automatically Creates URL Slugs
A URL slug is a SEO- and user-friendly string-part in a URL to identify, describe and access a resource. Often the title of a page/article is a valid candidate. For example the title of this page is "URL Slug" which contains a space. MvcCms has automatically changed the title to url-slug to place in the URL of the page. Navigation links are automatically set to use the url-slug generated as the link and the title as typed in "URL Slug" as the anchor text.
One way to think of MVC CMS at its core is as a semantic assembly engine. We have taken the concept of content categories and pages and create references to the combination of category+?subcategory+?page URL slugs created from titles to map to a specific content page stored in the database behind the scenes.
There have to be some rules to this though or routes could become overlapped from duplication. These rules allow for an entire site to have semantically driven URL's without any of the id query string clutter.
The rules we have designed are:
1.When you create a content category the URL slug created from the title is checked against all other slugs (paths) created for categories and if a match is found the insert is canceled and the user is prompted to revise.
2. When you create a content page all the other paths in that category are checked and if a match is found the insert is cancelled and the user is prompted to revise.
Please wait...

Please wait...

