Customized URLs

Customized URLs in Dynamicweb depend on the 404-handler on your IIS server, so if you experience problems please ensure that it is configured correctly.

Dynamicweb has a number of ways of handling search friendly URLs for pages.

A normal page in the frontend has a URL like /Default.aspx?ID=123, which shows the page with ID 123.

The Customized URLs function replaces the standard URLs with more SEO-friendly versions – so /Default.aspx?ID=123 becomes /Products for instance – and you can to a large degree control how.

Using the settings in Settings > Web and HTTP > Customized URLs, you can:

  • Select an URL- type for regular pages
  • Select an URL-type for any non-regular pages you use, e.g. Ecommerce products & groups, item types, News-articles, etc.

Here’s how to do both.

 

To select a custom URL type for regular pages, simply select the desired type on the radio button list (Figure 2.1).

Figure 2.1 Customized URLs for regular pages

You can use either Standard only or location and page name.

If you select Location and page name you can:

  • Select Place all pages in root to leave out any information about page structure in URLs. This means that www.mydomain.com/page/subpage will be displayed as www.mydomain.com/subpage
  • Handle language layers:
    • If you select don’t show the language layer is not shown in the URL
    • If you select include language layer the language layer name will be included in the URL
    • If you select use ISO code from regional settings the regional ISO code will be used (e.g. en-GB)

By default, the Dynamicweb URL handler will ensure unique URL extensions by adding a number to URLS with the same extension, e.g. /home-1 and /home-2. If you have a unique domain for each website on your solution, you can check ensure unique paths for each area to disable this behavior, as the URL handler will take the full domain name into consideration when creating URLs and not only the extension. If you group by master website language layers will belong to the same URL index as the master website – should be combined with a language layer setting to ensure unique URLs.

Chances are you will be using more than regular pages on your solution, and to generate custom URLs for those you must configure the various add-in settings (Figure 3.1).

Figure 3.1 Customized URLs for non-page content

You can customize how URLs are generated for:

  • Ecommerce products and groups
  • Item types published by the Item Publisher, provided that you have activated Customized URLs in the item-type settings. If item is a paragraph item the name is taken from the paragraph name, and if item is a page item the name is taken from the page name, unless Use in URL has been checked in the page properties settings
  • News articles (from the News module)
  • Manufacturers
  • Forum categories

The Customized URL settings (Figure 4.1) give you further control over how your custom URLs are generated.

Figure 4.1 Customized URL settings

You can:

  • Use customized URLs for internal links
  • Activate normalization of non-standard latin characters - please note that this will conflict with the SEO Express recommendations
  • Check Forward to link (301 Moved Permanently) to use 301 forwarding to redirect users and search engines to the new URL. This may prevent a loss of Google page ranking.

The Ecommerce customized URL settings (Figure 5.1) allow you to further control how custom URLs for Ecommerce content works.

Figure 5.1 Customized URLs Ecommerce settings

You can:

  • Check Use strict URL recognition to always return a 404 page if the path to a group, product, variant etc. is not 100% correct. If unchecked and incorrect URL may return e.g. a product from another group.
  • If your Ecommerce contains pages with different URLs but identical content, such as /productlist.aspx and /productlist.aspx?sort=price, you can check canonical links in meta to make the most basic URL canonical and prevent content from being indexed as separate pages by search engines
  • Check 404 for products not in website shop and 404 for products not in website language to return 404-pages when users try and access products outside the shop/language context. Will also return 404 for products not in the right group context.
  • Check include product ID in product URL to activate that behavior

The customized URL meta settings (Figure 6.1) let you control meta behavior.

Figure 6.1 Customized URLs meta settings

You can check Use noindex, nofollow for *.dynamicweb.* URLs to tell search engines NOT to index or follow links to Dynamicweb.dk domains. If disabled on *.net.dynamicweb.dk solutions, you will still get a <meta name="robots" content="noindex,nofollow"> in the page source on your *.net.dynamicweb.dk addresses. This is intended behavior. Dynamicweb cannot have pages indexed ending with .dynamicweb.dk or any other Dynamicweb domain, as it breaks SEO for our own Dynamicweb page. You need to buy a domain for your solution.

If your Ecommerce contains pages with different URLs but identical content, such as /productlist.aspx and /productlist.aspx?sort=price, you can check canonical links in meta to make the most basic URL canonical and prevent content from being indexed as separate pages by search engines.