Overview
You may need to configure a redirect for a specific page/ link on your website.
Solution
You need to have ROLE_PRODUCTION added to your account to complete the steps below.
- Log in to Symphony Manage.
- Navigate to Site Configuration > URL Mapping.
- Click on the NEW button at the top of the page.
- Select the URL mapping type and enter From and To URL in the correct format according to the type.
- Forward - When a user opens the page configured in From URL, but the content is loaded from the To URL page but the From URL is displayed in the address bar.
This type can be used to display content only from another page of your website.
- From URL: Enter the partial URL of the page which will forward to the content of another page.
For example, if you want to configure forwarding for the pagehttps://company.com/demopage
, you need to enterdemopage
in the From URL field (without slash '/'). - To URL: Enter the partial URL of the page from which the content will be displayed.
You need to add a forward slash '/' at the beginning.
For example, if you want to configure forwarding to display the content of the pagehttps://company.com/product/demopproduct
, you need to enter/product/demoproduct
in the To URL field.
- From URL: Enter the partial URL of the page which will forward to the content of another page.
- Redirect - When a user opens From URL link, they are redirected to the To URL. Can be used for the pages of your website and external websites.
- From URL: Enter the partial URL of the page which will forward to another page.
For example, if you want to configure forwarding for the pagehttps://company.com/demopage
, you need to enterdemopage
in the From URL field (without slash '/'). - To URL: Enter the partial URL of the page with forward slash '/' at the beginning (e.g.,
/product/demoproduct
) or full URL of an external website (e.g.,http://google.com
).
- From URL: Enter the partial URL of the page which will forward to another page.
- Proxy - When a user opens page configured in From URL, the content of the page added in the To URL field is displayed, while the address bar does not change (From URL is displayed).
- From URL: Enter the partial URL of the page which will forward to another page.
For example, if you want to configure forwarding for the pagehttps://company.com/demopage
, you need to enterdemopage
or/demopage
. - To URL: Enter the link to the site which will be displayed on the selected page of your website. For example,
https://google.com
Note: The same protocol must be used on your website and the target site (To URL), i.e., both sites should use either HTTP or HTTPS protocol.
- From URL: Enter the partial URL of the page which will forward to another page.
- Forward - When a user opens the page configured in From URL, but the content is loaded from the To URL page but the From URL is displayed in the address bar.
- Click Save.
<supportagent>
If the brand requested to create a large number of redirects, create a Change Request Jira under the SPC product, including the following query for each redirect:
insert into UrlMapping(fromUrl,toUrl,type,site)
values('<From URL>,'<To URL>','<Redirect type, can be:FORWARD, REDIRECT, PROXY>','<brand>');
</supportagent>
Testing
Open the full link to the page that you entered in the To URL field (e.g., https://company.com/demopage
) - it should forward/redirect/display the content of the page added in the To URL field.
If the redirect does not work right away, wait for 1-2 minutes and press Ctrl+F5.
Comments
0 comments
Article is closed for comments.