Jump to content

Featured Replies

Posted

Hello. When the database records are listed the link include a query arguments like ?&do=getNewComment&d=7&id=24932

is there a way to remove this so all the database records will use only the canonical urls in listing templates?

Thank you.

  • 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?

  • 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.

  • 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.

  • Author

Great, thank you very much.

Recently Browsing 0

  • No registered users viewing this page.