Posted April 1Apr 1 Hello. When the database records are listed the link include a query arguments like ?&do=getNewComment&d=7&id=24932is there a way to remove this so all the database records will use only the canonical urls in listing templates?Thank you.
April 1Apr 1 Community Expert You would have to customize the templates for the databases or blocks and turn (for example) {$row->url( "getPrefComment" )} into {$row->url()}. But what is the goal? Don’t you want to jump to recent content? Or do you dislike the link structure for some reason?
April 1Apr 1 Author For SEO I think it is better to stick to the canonical urls for internal linking though I am sure eventually googlebot will figure it out.For the article pages, I think it does not make sense to jump to the recent content.Can that template be edited directly? I think for v5 that is not possible.
April 1Apr 1 Community Expert 1 minute ago, virap1 said:For SEO That shouldn’t matter. The search engine will just follow the link and find all the data it needs about canonical URLs at the target. 1 minute ago, virap1 said:Can that template be edited directly? I think for v5 that is not possible.Theme templates can’t be edited. Pages templates can still be edited.