Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

In this Discussion

Vanilla 2.6 is here! It includes security fixes and requires PHP 7.0. We have therefore ALSO released Vanilla 2.5.2 with security patches if you are still on PHP 5.6 to give you additional time to upgrade.

canonical just on Pg1

edited April 2017 in General Banter

Hi all,
How can i put canonical tag just for the first page.
for exemple: (canonical will be (canonical should be not )

or is there a way to remove pag2, pag3, pag4 ....



  • R_JR_J Cheerleader & Troubleshooter Munich Moderator

    Doing so is quite simple, though I'm not sure why you would do so. You would need a plugin or a themehooksfile where you could insert this method:

        public function discussionController_render_before($sender, $args) {

    But as I understand the canonical meta tag, forcing it like that would be wrong.

Sign In or Register to comment.