August 2017
Intermediate to advanced
278 pages
8h 53m
English
In this rewrite, we use a 301 HTTP call, which means that the URL has moved permanently. This indicates to any upstream system (be it a web crawler or proxy) that the change is final and not to look for the old URL. From an SEO perspective, this is critical, as any links or rankings applied to the old link should then be transferred to the new link.
The $request_uri variable passes the full URI, including arguments. This means that scenarios such as subdirectories (for example, /about/) as well as any arguments (for example, id=123) are redirected. This ensures that all bookmarks and direct links will remain working seamlessly after the change.
Read now
Unlock full access