How to Configure URL Redirects with Awesome URL module
URL redirects are essential for maintaining a seamless user experience and preserving your SEO rankings when changing URLs on your website. The Awesome URL module supports various types of URL redirects, which can be easily configured to suit your needs. This guide will explain the different types of URL redirects and provide step-by-step instructions on how to configure and add URL redirects using the Awesome URL module.
Types of URL redirects supported by Awesome URL
301 Permanently
Description: A permanent redirect indicating that the requested resource has been permanently moved to a new URL. This type of redirect is recommended once your store is live, as it helps preserve SEO rankings and transfer link equity to the new URL.
Example: Redirecting http://example.com/old-page to http://example.com/new-page.
302 Moved Temporarily
Description: A temporary redirect indicating that the requested resource is temporarily available at a different URL. This type of redirect is recommended while setting up your store or for temporary changes, as it does not transfer link equity.
Example: Redirecting http://example.com/under-construction to http://example.com/home during maintenance.
303 Do Not Link to the Newly Uploaded Resources (For Advanced Users Only)
Description: A redirect that tells search engines not to index the new resources, typically used for advanced configurations. This redirect type is less common and should be used with caution.
Example: Redirecting http://example.com/temporary-resource to http://example.com/resource-info without indexing the new resource.
Configuring URL redirects
Steps to configure URL redirects
Step 1: Navigate to the Awesome URL module's configuration page in your PrestaShop admin panel.
Step 2: Click on the "URL redirection" tab.
Step 3: In the "Settings" section, enable URL redirection by toggling the switch to "Yes".
Add URL redirect rules
Step 1: In the "URL Redirect Rules" section, click the "+" button in the top right corner to add a new redirect rule.
Step 2: Enter the Source URL (the URL you want to redirect from).
Step 3: Enter the Target URL (the URL you want to redirect to).
Step 4: Select the Redirect Type (301, 302, or 303).
Step 5: Turn the "Active" switch to "Yes" to enable the redirect.
Example
Let's say you want to permanently redirect an old product page to a new product page:
- Source URL: http://example.com/old-product
- Target URL: http://example.com/new-product
- Redirect Type: 301 Permanently
- Active: Yes
By following these steps, you can effectively configure and manage URL redirects on your site using the Awesome URL module. Proper use of redirects ensures that your visitors are directed to the correct pages and that your SEO efforts are not compromised.