Setting up redirects
If an address changes, old links lead nowhere. Under “Redirects” (in German: „Weiterleitungen“) you create rules that take effect on the server side, before the page is built. Every rule keeps count of how often it has been used.
Create rule
- In the WordPress menu, open the entry “Kakapo SEO” and, in the “Technical” group, choose the item “Redirects” (in German: „Weiterleitungen“).
- Click on “Create redirect”.
- Under “Source path (e.g. /alte-seite)”, enter the old path.
- Under “Target URL (e.g. /neue-seite or https://…)”, enter the target, as a path or as a complete address.
- Set the “Redirect code (301 permanent, 302 temporary)”; 301 is preset.
- Confirm with “Save”. The rule then appears in the table with From, To, Code and Hits.
Rules and limits
- The codes 301, 302, 307 and 308 are stored; any other value is filed as 301.
- The source path is shortened to the bare path and stored with a leading slash. A standalone / is declined.
- There can be only one rule for the same path; a second attempt is declined with a message.
- A trailing slash makes no difference in the comparison.
- If a rule points back to the same path, it is skipped — that prevents an endless loop.
- Addresses below /wp-admin and /wp-json are not redirected.
Changing and removing
An existing rule cannot be edited. Remove it with “Remove” in the table — a confirmation prompt confirms the step — and then create it anew. The hit counter then starts at zero again.
A target without a domain is resolved relative to your own website. If you enter a complete external address, the redirect leads there; the loop protection does not take effect in that case, because it only compares paths of your own domain.
Was this article helpful?