Solved! Go to Solution.
Views
Replies
Total Likes
Add the following rewrite rule to redirect requests from the root domain to the desired landing page:
RewriteEngine On
RewriteRule ^$ /content/wknd-spa-react/us/en/home [L,R=301]
The RewriteRule directive matches requests with an empty path (root domain) and redirects them to /content/wknd-spa-react/us/en/home. The R=301 flag indicates a permanent redirect, which is recommended to preserve SEO rankings and indicate to search engines that the redirection is permanent.
then restart apache service.
Add the following rewrite rule to redirect requests from the root domain to the desired landing page:
RewriteEngine On
RewriteRule ^$ /content/wknd-spa-react/us/en/home [L,R=301]
The RewriteRule directive matches requests with an empty path (root domain) and redirects them to /content/wknd-spa-react/us/en/home. The R=301 flag indicates a permanent redirect, which is recommended to preserve SEO rankings and indicate to search engines that the redirection is permanent.
then restart apache service.