How URLs work in Majestic
< Majestic 1.5.7 Released | Blog Archive | Download Majestic without registering at Injader.com >
In Majestic, a typical URL (Uniform Resource Locator) looks like this:
http://www.injader.com/view.php/article/184/majestic-157-released
The first part of the URL is the location of your site. You might have one of the following:
- http://www.yoursite.com
- http://www.yoursite.com/foldername
- http://subdomain.yoursite.com
All of these will work just fine with Majestic. If you're testing Majestic then it's probably best to use option 2 or 3 from the above list. The first option is what you'd use if you want Majestic to be the core of your site.
Let's break down the rest of the URL.
view.php
This is used to display your site content. Most URLs have this at the start. By including it in the URL directly, we remove the requirement to edit server configuration files (specifically, an
.htaccess file). This makes life easier for you.
article, area, user, file
The second part of the URL contains one of four keywords, denoting the type of page that will be viewed. This is an important difference from other blogging systems, some of which allow you to have the post title in the URL with nothing else. That approach will hit problems if you have two articles with the same name, or an article and an area with the same name.
184
This is the unique identifier for the item you're viewing. We include this because if you rename an article or an area, redirecting from the old URL to the new URL is something you shouldn't have to worry about yourself. The identifier ensures that you'll always get to the page you're looking for. If the title has changed, you'll be redirected to the new URL; if you miss out the title altogether, the same thing happens.
majestic-157-released
The title of the post, with most symbols removed. Spaces are replaced with hyphens. Characters are changed to lowercase. Including the post title in the URL helps search engines to index your content, thereby helping potential readers to
find your content.
Benefits of Majestic URLs
- Majestic URLs are optimised for search engines immediately after installation. NO customisation is required from you.
- Identifiers in the URL, e.g. a content keyword and the item ID, prevent potential problems when renaming. They also reduce database activity as the basic information is already in the URL.
- If you rename an article and a search engine attempts to access the original URL, the search engine will be notified that the page has moved. This helps to keep your search engine results up to date.
Posted by Ben on May 24, 2008 09:54 | Permalink | Hits: 233
Tags:
urls, seo
Comments on How URLs work in Majestic