Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

How to generate pages if a url matches a certain pattern

Avatar

Avatar
Validate 10
Level 4
Sutty100
Level 4

Likes

19 likes

Total Posts

111 posts

Correct Reply

6 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Validate 10
Level 4
Sutty100
Level 4

Likes

19 likes

Total Posts

111 posts

Correct Reply

6 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
Sutty100
Level 4

15-10-2015

I am investigating how we might use AEM to front our Ecommerce site. The key advantage I want to get out of this is that AEM allows the merchandisers to customise the look and feel of an ecommerce page without a full deploy of code etc if it is much more than a text change like we have now.

I'm sort of wondering what is the best way to handle things like different category pages for example. There are hundreds of these pages and the way I can see to do it is to create a base page eg /content/store/categories/baseCategoryPage and when somebody hits the url /content/store/categories/bread check to see if that page exists if not use the base category page. I also need each category page to have its own url for SEO reasons 

This seems a sensible approach to me as it does not require every page to be created and maintained but it gives the team the ability to customise a certain category page if they wish to.

However how in AEM can I go about doing this, how can I specify a url pattern eg /content/store/categories/* that maps to this generic category page unless there is a specific page which fully matches the url?

Any thoughts would be great!

View Entire Topic

Avatar

Avatar
Boost 5
Employee
kalyanar
Employee

Likes

5 likes

Total Posts

182 posts

Correct Reply

78 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 50
Affirm 5
View profile

Avatar
Boost 5
Employee
kalyanar
Employee

Likes

5 likes

Total Posts

182 posts

Correct Reply

78 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 50
Affirm 5
View profile
kalyanar
Employee

15-10-2015

I misunderstood ur usecase i thnk

I more saw this as specific error page for 404 in specific content tree.

something like http://adobe-consulting-services.github.io/acs-aem-commons/features/errorpagehandler.html

If you want to run this in ur author site, you can use the  catalog based approach in AEM commerce framework as Opkar mentioned. You dont need redirection at all as am hoping in an author , the users would click through links in sites /siteadmin ui to access any page.