I have a view which shows a list of articles, located at:
mypage.com/articles
Each article is linked to its main sub page view, like this:
mypage.com/articles/name-of-my-artile-yay
The URL path is created with autopath & URL aliases.
In views, how do I create a contextual filter to show only the selected sub page view?
I have this as my path in views:
articles/%
but don't know where to go from here. I tried title and making it lowercase and replacing spaces with a hyphen, but that won't always work and the URL aliases change the URL such that it removes words like:
a, an, as, at, before, but, by
And if a page title is:
This is my page title - with this
The URL alias becomes:
my-page-title
Therefore it won't be able to match in my contextual filter using the page title.
What am I missing?
URL path Alias
and not title.articles/my-page-title
which is the URL path alias.