eclipse - How do I set a canonical uri on jetty and redirect www users to non www address? -
It's been a bit annoying to me, I appreciate the solution very much.
I am currently using Jetty (Jetty-7.3.3.0 v20110202) to host a stationary site. I intend to host written applications using JRuby in the future. I chose Jaiti in the first place because someone told me that there was a low memory footprint I am open to suggestions.
I want to redirect the user to a canonical address. The above method just does not work for me and I do not know why.
I want my canonical address and want to be guided by any visitor SEO friendly.
I just want to use Jetty XML files for configuration.
I say that there is a lack of JT documentation, but I am not a Java programmer, so I am probably wrong.
I managed to fix it, after the guide included in the link included in the question.
What was not indicated is that you have your site. The virtualhost section in the xml file
This is commented by default in the test.xml file example, and definitely need to be inconsistent to work on your site!
Comments
Post a Comment