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.
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 excepta 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.
Broschueren.
Variant 2: UTF-8 replacement characters. Search engines and modern browsers display the umlaut.
$delete, a character disappears completely.
*S*i*l*b*e*r* thus becomes Silber.
You only need to define the characters that are to be handled differently. For each language, these are usually only a handful.
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 tagSEO-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.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.
Basic link optimization
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
TheLinkOptimization section belongs inside TopRank.
Testing
As an indicator in the shop, a bracket that only applies when optimization is active is helpful:&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.Each redirect counts like a click and appears in the statistics. For a campaign with many calls, this skews the numbers.
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
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.
Content from third-party systems: ContentControl
If content is integrated viaWS-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.
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.Search links for Google Ads
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.
%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.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 setLink-Allow to no, change the names, and only set it to yes when the SEO URLs go live.
Link-Allow must be set to yes for this.Step 3: Activate test mode
Step 4: Adjust parameters on link tags
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.
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.Subshops without active SEO URLs and V7 shops continue to use the old service. A transition is therefore possible.
Step 7: Testing
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.
Related topics
- 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
