Handling SEO on suffix based URLS | Community
Skip to main content
Level 2
October 16, 2015
Solved

Handling SEO on suffix based URLS

  • October 16, 2015
  • 7 replies
  • 1985 views

HI,

We have seen Sling provides suffix based URLS.

While going through the https://sling.apache.org/documentation/the-sling-engine/url-decomposition.html, i found the suffix parameters are useful to be used based on the requirement, where we want to check some condition based on the URL .

By using URL like http://www.example.com/content/project/main.html/suffix1/suffix2

But using the above URL , how dispatcher cache and SEO will get affected for the above page?

It will be helpful if i can get one solution for caching this kind of pages.

And most important whether this kind of pages are tracked by SEO?

 

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

Hi,

the dispatcher does not about suffixes, it does not decompose the query as Sling does. So

http://www.example.com/content/project/main.html/suffix1/suffix2

is not cached on dispatcher, because it does not have an extension. If you manage to have a URL like

http://www.example.com/content/project/main.html/suffix1/suffix2.html

the dispatcher is able to cache it. But depending on the amount of suffixes, the number of pages stored in the dispatcher will explode. And also be aware, that "/content/project/main.html" can be either a file or a directory (from a filesystem perspective), so either only suffixes or no suffixes at all.

kind regards,
Jörg

7 replies

Level 2
October 16, 2015

Will these kind of URLs like http://exmaple.com/content/index.html/my/suffix.html be crawled by SEO crawler?

 

can anyone help me?

smacdonald2008
Level 10
October 16, 2015

This community article talks about this subject:

http://cqblog.inside-solutions.ch/2014/04/17/caching-pages-with-suffix-paths-in-aem-cq-dispatcher/

Also - if you are interested in learning more about Dispatcher - sign up here: 

http://scottsdigitalcommunity.blogspot.ca/2015/09/september-version-of-ask-aem-community.html

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

Hi,

the dispatcher does not about suffixes, it does not decompose the query as Sling does. So

http://www.example.com/content/project/main.html/suffix1/suffix2

is not cached on dispatcher, because it does not have an extension. If you manage to have a URL like

http://www.example.com/content/project/main.html/suffix1/suffix2.html

the dispatcher is able to cache it. But depending on the amount of suffixes, the number of pages stored in the dispatcher will explode. And also be aware, that "/content/project/main.html" can be either a file or a directory (from a filesystem perspective), so either only suffixes or no suffixes at all.

kind regards,
Jörg

Level 2
October 16, 2015

Hi Jörg,

Will the URL LIKE http://www.example.com/content/project/main.html/suffix1/suffix2.html allow the Search engine crawler to track the pages as expected, when it does for the normal URL like http://www.example.com/content/project/main.html

 

Thanks

Level 2
October 16, 2015

Dispatcher i believe, we can cache the pages, is there any link for SEO handling?

joerghoh
Adobe Employee
Adobe Employee
October 16, 2015

Hi,

I don't know, I am not a SEO expert. I can only tell you, what's possible from the dispatcher's point of view.

kind regards,
Jörg

smacdonald2008
Level 10
October 16, 2015

Joerg - good questions to cover in the Sept 29th ATE session.