Hi All,
i created a blog post using OOTB journal component, using below url. http://localhost:4502/content/community-components/en/journal.html
after creating blog post, i seen below URL for Blog Post.
Now, i want to understand how can we remove .entry.html from above Blog Post URL.
I added URL mapping Entry in Apache sling resource resolver Factory like below
/content/community-components/en/journal.entry.html:/blog
But this is not working at all,
it will be helpful any one have idea with communities URL Mappings.
Thanks
Raj
Views
Replies
Total Likes
Look at using a Vanity URL -- Manage vanity URLs
Views
Replies
Total Likes
Views
Replies
Total Likes
Vanity URL will work only for Journal Page, when i hover on a Blog Post, it still points to a complex URL.
Views
Replies
Total Likes
If you compare blog page url (where all blogs are listed ) to blog detail page, you can notice that actual url is not changing. Only a selector (entry) and suffix (date) is being added.
Due to this selector(entry) , entry_topic.hbs file is resolved which shows the blog content and its title.
My guess is, if you would change the url, this entry_topic.hbs file will not be resolved and blog content will not be visible.
Views
Replies
Total Likes
Views
Likes
Replies