Forum Moderators: phranque
I m using Tomcat server for my website. Please let me know how do i implement 301 redirection code in tomcat server to resolve url conanicalization?
For Apache server we can place seo friendly 301 redirection code in .htaccess file, But what about in Tomcat server how and where to insert 301 permanent redirection code.
Your experiences, suggestions ideas are most welcome.
Usually for Apache servers we place 301 redirection code in .htaccess file to redirect index.jsp file to .com/ right, Here the problem is that all applications are on tomcat server and i have no idea how to do 301 redirection from www.example.com/index.jsp to www.example.com/ when all website files are on TOMCAT Server.