Expand my Community achievements bar.

URL Rewrites - how are you handling it? (SEO)

Avatar

Level 2

We are using AEM 6.2 and I am curious how others are handling the rewriting of urls to avoid duplicate content and a bunch of 404s.  This question is primarily related to SEO.

How are you handling these scenarios?

www.yoursite.com/en/whatever/ -> whatever.html 
www.yoursite.com/en/whatever -> whatever.html 
www.yoursite.com/en/whatever.html/ ->whatever.html 

Basically we want to rewrite, not redirect, all of these to whatever.html.  I looked at other sites using AEM and some do not address these at all, some allow the duplicate pages to work, some throw a 403 or 404 if they do not exactly go to whatever.html and some handle some of these scenarios using a 301 redirect.

 

I am curious what everyone is doing and if they are doing it through server rewrite rules or in AEM.

 

thanks

Mark

1 Reply

Avatar

Administrator

Hi 

Please have a look at this community article to tell techniques for URL Rewriting:

Link:- http://brian-vaughn.blogspot.in/2013/12/aem-url-rewriting.html

1. Sling Resource Resolver

2. Vanity URLs

3. Sling Resource Mappings

~kautuk



Kautuk Sahni