I have created a new content type and I called it Opinion
. Then using views, I have created a page with path /opinion
to be a view for all nodes of type Opinion
listing i.e. a master page.
The problem is that I could not able to access a the details something like /opinion/the-node-title
. however, It accesed like content/the-node-title
I tried to create a new page from the regarded view with contextal filter Content title
it works fine using direct access from the browsers address bar. I tried to rewrite the content on the linked title field but I could not able to find a suitable token:
<a href="[title]">[title]---</a>
i.e I could not find any way to convert title
into a slug.
Another thing for SEO, I don't want the same content to be accessed from more than one resource i.e in my case content/the-node-title
and opinion/the-node-title