Hi All,
Got some requirement my one of the site to new domain redirect means like old domain to new domain redirect.
It would be great help if someone share the articles / experience - what all files are need to modify .
Thanks in advance.
-- Nani
Solved! Go to Solution.
Views
Replies
Total Likes
I think you can handle it thru webserver level. You need to just have a rewrite rule for one domain to other.
I think you can handle it thru webserver level. You need to just have a rewrite rule for one domain to other.
Ok , could you please give an example
Views
Replies
Total Likes
Hi @GowthamKu ,
see below examples:
RewriteEngine on
RewriteRule ^myfolder/$ http://other.example.com/anotherfolder/ [P]
https://httpd.apache.org/docs/2.4/rewrite/remapping.html
hope this helps
Umesh Thakur
Views
Replies
Total Likes
@Apmag If it is for on-premise AEM, acs commons provides an options to maintain the redirections. please check below.
https://adobe-consulting-services.github.io/acs-aem-commons/features/redirect-map-manager/index.html
Hi @Apmag
You should make such change in Apache Server files where you make changes to redirect all your pages to new domain using apache rewrite rules.
I have got some good articles that might help.
https://serverfault.com/questions/344614/simple-apache2-redirect-from-one-domain-to-another
https://ubiq.co/tech-blog/how-to-redirect-all-pages-to-new-domain/
Hope it helps!
Thanks,
Nupur
Views
Likes
Replies
Views
Likes
Replies