Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Handling SEO on suffix based URLS

Avatar

Level 2

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

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

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

View solution in original post

7 Replies

Avatar

Level 2

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

 

can anyone help me?

Avatar

Correct answer by
Employee Advisor

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

Avatar

Level 2

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

Avatar

Level 2

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

Avatar

Employee Advisor

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

Avatar

Level 10

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