On-page SEO
Optimize content for search engines and users
SEO is short for Search Engine Optimization, and covers ways to optimize websites to become more visible, relevant and popular towards user search queries, and as a consequence will be ranked better by search engines.
There are two main components to on-page SEO; source code and content. For Swift, we’ve got you covered when it comes to the source code – so you’re free to focus on what you do best, which is create great content.
This article presents our recommendation for things to focus on when it comes to on-page SEO on a Swift solution.
Page title
Good page titles are an important factor for SEO. The title tag – which is the important bit when it comes to SEO – is filled by the page title which is set when creating or editing the page. So, if you name the page Frontpage this is the values which is put in the title-tag.
General advice for creating page titles:
Use keywords: If you’re writing about SEO – use SEO in the title. If your blog post is supposed to tell the world how great Trek bikes are – use the brand name Trek in the title.
Divide the title into several parts: Many people enjoy more descriptive titles – like how to create SEO friendly titles for your website instead of simply Page titles & SEO. But be practical about it – it will work for a blog post, not for your main shop page.
Back up the title with relevant content: As always, you have to back up the title with actual relevant content, as a failure to engage with your visitors will lead to bad rankings.
Meta data
Many people believe meta data is very important when it comes to on-page SEO – in reality, it has been many years since search engines used meta data to rank pages in any meaningful way. What does still matter is the meta description, which is typically shown under the page title in search engines results:

While the meta description itself isn't a direct ranking factor, a well-crafted meta description can increase click-through rates, which can indirectly improve rankings. A good meta description provides an accurate summary of the page content and includes relevant keywords, but avoids keyword stuffing.
Meta descriptions are created under the SEO tab in page settings – use the field Description. You can also add keywords, but current consensus is that they don’t improve your ranking.
OpenGraph
The meta data from the SEO tab of the page also contributes to creating Open Graph data. Once you have filled out the meta data, this information will also be reflected in the source code of the page as og:title, og:description, and og:image values. Keep in mind that these values are directly based on what you have entered in the page properties section, as illustrated below.

SEO-friendly URLs
The page URL is one of the first things search engines look at and the URL tells search engines which topic should be assessed and ranked on the website. Normally DynamicWeb generates an URL based on the page title – so the easiest way to ensure great URLs is by creating great page titles.
If this is not possible you can set a specific URL via the SEO tab in page settings, here you enter a custom URL in the Use in URL field.
When you create a custom URL, have in mind:
- Keep the URL simple and “clean”.
- Never use æ, ø or å because some search engines do not read these characters.
- Avoid symbols and numbers.
Headings and content structure
Another important area for increasing you google rank is headings – more specifically that they are structured in the correct order, with:
- A single H1 at the top of the page.
- A number of H2s, H3s, & H4s in the correct order underneath.
In Swift the heading-structure is auto-assigned. However, you can customize the heading-structure should you want to. This is done in the text editors, e.g. the Eyebrow, title, subtitle or text editors, on the specific paragraph type. Have in mind, not all paragraph types includes a text editor.
Search engines typically also give the content of a heading high priority, some general guidelines are:
- Optimize headings by including keywords.
- Use headings that describe the content.
- Don’t use the same text for multiple headings.
Text
Of course, good heading must be accompanied by good content – often text. Here are our recommendations for writing good content:
- Use your keywords early in the text.
- Focus on the number of words – try to have around 500 words between each new heading.
- Supplement your content with illustrations, images, and video.
- Create interest and/or the opportunity for interaction from the start.
When writing your text focus on adding keywords, use synonyms, and alternate between different keywords so you don’t use the same too many times. Likewise, here are things to avoid:
- Avoid creating thin content – e.g. separate pages for bridal gowns, bridal dresses & wedding gowns. This is not helpful to users and will not help your search engine ranking.
- Avoid duplicate content – don’t copy text from one page to another. Create original, helpful content.
- Avoid cloaking – adding hidden text not visible to a human visitor specifically to try to get a better search engine performance. This is actively punished by most search engines.
- Avoid keyword stuffing – writing the same critical keyword multiple times in a short text. Your text must be natural.
Images and video
Another type of content which performs well with users (and therefore with search engines) is images and videos. It makes the visitor spend more time on a website which affects search engine ranking positively.
Here are some things to consider when it comes to image & video content:
Set ALT-tags: Search engines are not capable of reading images, but will use the alt-tag on the image markup to categorize and rank a web page. Use short terms describing the image and relating to your overall site content.
Use descriptive filenames: Many people find content via e.g. Google image search – and content ranking for images is impacted by the file name, so you want to avoid file names such as IMG12359.jpg and use CannondaleEbike12359.jpg instead.
In Swift, alt-tags are set automatically for all product images, and you can set your own alt-tags for paragraph types with images.
Linkbuilding
One of the most important factors for google ranking is how crawlable a website is – and the thing which makes a website crawlable is linkbuilding, as links make it possible for search engine crawlers to find all your content.
Three types of linkbuilding are important for SEO:
Internal link
Internal links are links between pages on the same website. For search engine crawlers, internal links act as a kind of guide to your website – think of them as a way to specifically pass link equity (ranking power) to important pages on your website. Please note that links which require a click – like navigation links in a dropdown – are often hidden from search engine crawlers. Make sure important links are directly accessible on the landing page.External inbound links
Just like an internal links share ranking power from the parent page to the target page, external links to your website from highly ranked websites and pages will grant your page ranking power.External outbound links
While it’s common knowledge that internal links and external inbound links are crucial for SEO, the value of external outbound links is less known but equally important – primarily because outbound links to relevant content will boost your reputation as a useful website and help you appear as an authority on a subject. The values, then, is not one of shared ranking power but of quality content.