301 and 302 redirects
A 301 redirect is a permanent URL redirection that signals to search engines and users that a specific URL has been replaced by a new one. A 302 redirect is a temporary redirect and will have no negative impact on SEO when or if removed. 302 should also be used for Vanity URLs, VV and VA links.
It helps preserve search engine rankings and ensures users are automatically redirected to the correct page, preventing broken links. This type of redirect also transfers the SEO value of the original URL to the new one. It's important to note that once implemented, a 301 redirect is permanent and cannot be easily undone.
301 redirects are forever and should never be removed
Best practice
If you are unsure whether a page should be permanently redirected, it is better to use a 302 redirect (temporary redirect) as it won't negatively impact SEO if it is removed.
- VV: dynamic links in the Internet Bank and app to direct customers to pages on the Swedbank or Savings Banks' websites without encountering error pages (e.g., 404 errors).
- VA: dynamic links in the virtual assistant (Nina chat) to direct customers to pages on the Swedbank or Savings Banks' websites without encountering error pages (e.g., 404 errors).
Note: 302 redirect should be used when creating VV and VA links in AEM Cloud.
A Vanity/short URL is a custom web address designed to replace a long and hard-to-remember URL with a shorter, more user-friendly one. It makes accessing specific pages easier and is often used in marketing campaigns for simplicity and branding.
Example:
swedbank.se/varmepump redirects to https://www.swedbank.se/privat/privatlan-och-krediter/varmepump.html
Note: 302 redirect should be used when creating Vanity URLs.
Use lowercase
Please note that all Vanity URLs must be written in lowercase when entered into the Redirect Manager.
A 302 redirect is a temporary redirect that ensures no negative impact on SEO when removed. It signals to search engines that the redirection is temporary, allowing the original URL to remain indexed.
If you're unsure whether a page will be permanently removed, it's best to use a 302 redirect.
Exsisting Short URLs/Vanity URLs that are used on product sheets or letters
Here you can find the list of exsisting vanity URL:s that are used on for exampel product sheets or letters. These vanity URL:s are important that you have on your website, redirected on relevant pages.
Redirects managed in Redirect Manager
- 301(permanent)
- 302 (temporary)
- Vanity URLs
- VV links
- VA links
Two types of redirects in Redirect Manager
301 redirects:
- 301(permanent)
302 redirects
- 302 (temporary)
- Vanity URLs
- VV links
- VA links
Configuration in AEM
To manage redirects, specific access are required. Only users with the appropriate access level can create, modify, or remove redirects. Read more about access
Redirect config shortcuts
- Savings Banks, copy this path and add your bankid: https://author-p108427-e1183719.adobeaemcloud.com/apps/acs-commons/content/redirect-manager.html/conf/sites/BANKIDse/settings/redirects
Redirect Manager (not working at the moment)
- Click on the site you want to configure
- + Redirect Configuration: used for one or two redirects
- Import of a spreadsheet: used when bulk uploading
Here you can;
- search for a redirect (on each page if multiple)
- check state of redirects
- create new redirects
- edit redirects
Source path
- Where to redirect from
- Always have .html in the end
- Written in lowercase letters
- "Path browser" can be used
Evaluate request URI
Shall not be used.
Ignore Case
This option should be checked when there is a "risk" that the URL may be typed with capital letters, such as;
- /seo.html
- /gdpr.html
Target path
- Where to redirect to
- Use "Path browser"
or
- Paste the full external URL (htttps:///www...)
Status code
- 301
- 302 (default)
- Note: once 301 is applied, it is forever
On time
- The time when the redirect should go live
- Can be left empty if it should go live instant
Off time
- The time when the redirect should stop working
- Only for 302 redirects
Export redirect map
- Export the redirect map before importing new redirects or updating existing redirects in a bulk.
The spreadsheet file must contain; the first column containing the source path, the second column containing the redirect destination and the third column containing the redirect status code (301 or 302).
Import redirect map
Import can be used when you are updating existing redirects and/or when you are adding new redirects in a bulk.
- Choose the file to be uploaded
- Replace Mode - enable it if you are uploading a file that should overwrite the existing redirect list (if you have a large number of redirects, we do not recommend using this feature as the upload is limited to a maximum number of rows). Do not enable "Replace Mode" if you want to add new redirects in addition to the existing ones.
- Click on "Import Redirect Map"
- Go to tab "Manage" and review the uploaded redirect(s)
- Continuing with publishing
Publishing
When you are done with importing the list of redirect, you need to publish it.
Status code
After you have published the redirect list, you will see the green symbol under status code, indicating that the redirect is published and active.