Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

AEM SEO Best Practice | AEM Community Blog Seeding

Avatar

Administrator

BlogImage.jpg

AEM SEO Best Practice by Aemblogs

Abstract

The best SEO practices are

Short URL – URL shortening
Page names should hyphen as separators, avoid camel case, spaces and underscore in page name. Note: Usually when you enter page title in AEM. Spaces will be automatically replaced by hyphen. Just remember not to change it from crxde.
In case of selectors in URL. Kindly use a human readable format.
AEM Sitemap generator
Robots.txt
URL Shortening deep dive
SEO states that http://localhost:4502/magazine.html should be preferred over http://localhost:4502/content/wknd/us/en/magazine.html

This can be done in AEM by a configuration called Apache Sling Resource Resolver Factory (pid:org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl).

url mapping
Resource Resolver Factory – url mapping
After adding thing configuration your AEM will take time to process the changes. Even crxde will not load. Don’t panic let it resolve and once AEM is up hover over url in navigation. You will find short urls in the link. If you are new to this topic you will be amazed at start and later figure out a headache. If you did feel same dont panic you are in right tract.

This is a interesting topic on its own with dispatcher mod_rewrite rules and in java 1. resoureResolver.map(String resourcePath) – Outgoing url (Short ones)

2. resoureResolver.resolve(String shorturl) – resolves to the resource. You can get long path from its resource.

Robots.txt – Implementation
Remember that while setting up Robots.txt, Keep in mind the environment where the robots.txt are place.

Read Full Blog

AEM SEO Best Practice

Q&A

Please use this thread to ask the related questions.



Kautuk Sahni
0 Replies