Skip to main content
The address of a page is one of the few ranking factors that you determine entirely yourself. WEBSALE V8s works on three levels for this, each building on the previous one.
In V8s, SEO URLs are already activated and ready to use. Basic link optimization is switched on automatically along with them. This section mainly describes how to adjust the structure and how to convert an existing shop.
For the shop to be able to generate SEO URLs at all, each subshop must have its own domain. If this cannot be set up in exceptional cases, set the AddShopAndSubshopIDInRobotCanonical parameter in the shop.config.
Materials: URL parameters

Global settings

These settings apply to all SEO URLs of a subshop and are located in the TopRank Manager under “URL settings”.
“One URL per product” is the most effective measure against duplicate content for products assigned to several categories. Without it, the same product gets its own address for each category path.

Encoding of terms

The shop builds the descriptive parts of the URL from category and product names. If these contain spaces, umlauts or other special characters, they are encoded according to internet standards. Everything except a to z, A to Z and 0 to 9 is replaced. The category “Broschüren” thus becomes Brosch%fcren. That is not readable. You define your own rules via the LinkNameEncoding section in the shop.config. Variant 1: resolve German umlauts. Easy to read in any browser and usable for search engines.
“Broschüren” thus becomes Broschueren. Variant 2: UTF-8 replacement characters. Search engines and modern browsers display the umlaut.
Variant 3: remove characters. With the replacement value $delete, a character disappears completely.
The category *S*i*l*b*e*r* thus becomes Silber.
The hash character must be written as $hash, otherwise it is read as the start of a comment and the line disappears.
Spaces cannot be reconfigured. They always become a hyphen, which is a valid separator for search engines.
You only need to define the characters that are to be handled differently. For each language, these are usually only a handful.
Reference: LinkNameEncoding section

The structure per page type

Start page

The start page is called without any parameters, solely via the main domain of the subshop.

Categories and products

Both are configured in the TopRank Manager, and both use the same tag SEO-Cat() for the category path. The only difference is that the product URL additionally appends SEO-PR-Name. The SEO-Cat() tag takes four values: how many levels from the top, how many from the bottom, the separator and the direction. This product menu serves as an example to work through. The customer is in “Kurzarm”, and the opened product is called “Seidenbluse”.
For products, the same tag is placed in front of the product name:
The fourth parameter controls the direction: n for the usual top-to-bottom order, r for the reverse.
If the values for top and bottom overlap, duplicate levels appear in the path. The shop detects and removes them. A theoretical /Damen/Oberbekleidung/Adidas/Oberbekleidung/Adidas/Blusen/Kurzarm becomes /Damen/Oberbekleidung/Adidas/Blusen/Kurzarm.
Instead of the names, you can store your own terms: for categories in the TopRank Manager under “Terms for building the URL”, for products via the SEO content for products feature.
First enter all category terms completely and then put them live together. To do this, first set the UseSeoNameForCategoryLink-Allow parameter in the TopRank section to no and only set it to yes after maintenance is complete. Otherwise the addresses change bit by bit, and every change costs a redirect.
Reference: SEO-Cat · SEO-PR-Name Guide: SEO content for products

Information pages

Static pages such as the legal notice or contact page have no data from which a term could be built. Without intervention, the shop delivers an address with parameters here. In the TopRank Manager under “URLs of information pages”, you store the desired terms for each page. Whether an information page appears there at all depends on two rules:
Both rules are already met in the delivery state of a new shop. If you stick to them, new information pages appear in the TopRank Manager automatically.

Checkout and customer account

These pages are not accessible to search engines and are therefore irrelevant for SEO. They keep addresses with technical control parameters.

Duplicate addresses

Each SEO URL may only point to one target. If the scheme results in the same address for two targets, the shop appends a counter to the second one. With two categories “Damen”, one under “Oberbekleidung” and one under “Hosen”, the result is:
The shop generates the addresses one after the other. Whoever comes first keeps the address without a counter. If it matters to you which of the two categories gets the clean address, assign your own terms to the other one.
When you enter your own terms for products, categories and information pages, the shop immediately reports if a term is already in use. Saving is then not possible.
It ensures that a call with an old V8 link is automatically redirected via 301 to the matching SEO URL. This preserves the link equity of the old addresses. It applies in all three cases in which different addresses circulate for the same target:
  • different order of parameters
  • renamed products or categories
  • incorrectly created or mistyped links

Setup

The LinkOptimization section belongs inside TopRank.

Testing

As an indicator in the shop, a bracket that only applies when optimization is active is helpful:
Call the shop with the test parameters and then enter a product URL in the old scheme. When you confirm, the address must turn into the SEO URL by itself.
You can end the test mode with &linkoptimization-test=off. Reference: TopRank section · ST-LinkOptimization Guide: Switching the shop’s test modes on/off

Removing parameters from the URL

Referer parameters are indispensable for measuring advertising success and harmful for search engines, because they make the same content accessible under multiple addresses. Parameter removal solves this: the shop takes the parameter into the session and resets the address to the short version via 301.
The values are retained in the process. Via WS-Referer and WS-SubReferer, you pass them on to your tracking system without them appearing in the address. For the server variable, there is WS-HTTPReferer.

Requirement and scope

Parameter removal only works when basic link optimization is active and only on three pages: the start page, the product overview and the product detail view. All other pages keep their parameters.
Use a separate +Entry line for each parameter, with the name in lowercase.
Not every parameter may be removed. Some control shop functions, and without them the call no longer works. Check each parameter individually before entering it.
Each redirect counts like a click and appears in the statistics. For a campaign with many calls, this skews the numbers.
For testing, a made-up referer is sufficient, for example https://www.ihr-shop.de/Beispielprodukt?ref=test. The parameter must disappear after confirming. Repeat the test for each page type you have configured. Reference: WS-Referer · WS-SubReferer · WS-HTTPReferer Materials: Which parameters may be removed? · Parameter removal with URL-based tracking systems

Redirects for old and missing addresses

In addition to basic link optimization, the shop also redirects when an address leads nowhere. This avoids the 404 page, which is unfavorable from an SEO perspective.

Defining the status code

Permitted values are 301, 401 and 404. If nothing is specified, 301 applies.
The parameter only applies to addresses that never existed or for which no redirect information is available. The handling of products and categories that are no longer available is not affected.
If you set it to 404 but need an exception for individual addresses, WEBSALE system administration sets up these redirects on the server.
Guide: Products and categories that are no longer available

Content from third-party systems: ContentControl

If content is integrated via WS-ExternInclude() or via the JSON interface and has disappeared there, the shop still delivers status code 200. After all, the template exists. To search engines, this looks like a valid page without content. ContentControl allows you to modify the HTTP header and output after the fact. Because this is not standard behavior, the affected templates must be entered explicitly.
This does not work for standard templates from the Templates section. The information pages must be entered here and called via WS-LoadTpl() or WS-SSLLoadTpl().
The following tags are then available on the template:
Specify the status code in full, that is, with text, as the standard requires. 404 Not found instead of just 404.
This refers to the HTTP header, not the head area of the template. The adjustments affect the protocol between server and browser.
Reference: ContentControlLoadTemplates section · ContentControl-SetHeader_Status() · ContentControl-SetHeader_Location · ContentControl-SuppressResponseBody · WS-ContentControl-UseAsExclusiveResponseBody · ST-ContentControl An ad link can point directly to the internal search instead of to a product. There is one pitfall: Google encodes the search term in UTF-8, while the shop expects it in the ISO code of the subshop. A term with an umlaut therefore returns nothing. Append the parameter &search_input_code=utf-8 to every such link.
The shop then converts %C3%BC into “ü” and finds “Einmalkanülen”.

Converting an existing shop

Converting from V8 links to SEO URLs requires server-side activations, and the SEO URLs must also be enabled for the import. Please contact your WEBSALE representative for this.
Clarify two things before the technical setup:
  • If you integrate external content via a proxy, for example a WordPress installation under /magazin/, this call must be set up as an exception on the WEBSALE proxies.
  • If you deliver static content from self-created subweb folders, the index file must be named exactly index.htm, not index.html.

Step 1: Configure addresses in the TopRank Manager

Promptly after activation, define how the addresses for categories, products and information pages should be structured.

Step 2: Optimize product names (optional)

If you want to revise the product URLs anyway, do it now. This saves you a second round of redirects. To do this, first set Link-Allow to no, change the names, and only set it to yes when the SEO URLs go live.
If the maintained SEO content should only apply to the SEO URLs during the conversion phase and not to the previous V8 link generation, a second parameter controls this. It only affects product links of the old link logic and has no meaning after going live.
Link-Allow must be set to yes for this.
The value test currently probably does not behave as described. Check the result in the shop before relying on it, and if in doubt, use no or yes instead.

Step 3: Activate test mode

Again, a bracket helps as an indicator in the shop:
This is the most time-consuming step. In V8, every address began with ?websale8=, so additional parameters always came with &. With SEO URLs, this first parameter is dropped for all pages relevant to search engines. Whether an additional parameter must now be appended with ? or with & can no longer be determined in advance. Therefore, place the WS-EnsureNextLinkContainsURLParams tag in front of every link tag to which you append a parameter or an anchor. After that, & applies consistently again.
Search all templates and the text maintenance platform for ~& and ~#. Each of these places needs the adjustment. An overlooked place creates a broken link that only becomes noticeable in live operation.
Two special cases need the same tag: the paging link for Factfinder results and the product links from econda Cross Sell.

Step 5: Update the JavaScript library

With the new address structure, the WEBSALE AJAX functions require at least version 1.8.4, regardless of whether you use the system library, the core library or WS modules.

Step 6: Transfer short addresses for campaigns

With SEO URLs active, the short addresses for print campaigns move to the TopRank Manager. From this point on, the previous separate service no longer has any effect.
Transfer your short addresses to the TopRank Manager manually. Addresses that are not transferred remain visible in the old service but are no longer taken into account by the shop. This only becomes noticeable when a print ad leads nowhere.
Subshops without active SEO URLs and V7 shops continue to use the old service. A transition is therefore possible.

Step 7: Testing

Check whether the addresses match what you have configured and whether all link tags work.

Step 8: Go live

This also switches on basic link optimization. From this moment on, all old links are automatically redirected to the new ones.
Reference: SEOProductFields section · ST-SEOURLsTest · WS-EnsureNextLinkContainsURLParams Materials: WEBSALE JavaScript library
  • Guide: SEO content for products
  • Guide: Generating a canonical instruction in the head
  • Guide: SEO optimization with TopRank
  • Guide: Products and categories that are no longer available