• هاست سان
  • با خرید اشتراک ویژه شما میتوانید جدیدترین آپدیت افزونه ها و قالب های زیبا و پرکاربرد زنفورو را دریافت کنید!

    هر ماه یک کد تخفیف 60 درصدی محصولات فروشگاه به کاربران منتخب بخش ویژه اهدا می‌شود

Incorrect Canonical on Tag Pagination

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

XFFA.IR Bot

پرسنل مدیریت
کاربر ویژه پلاس
کاربر ویژه طلایی
امتیازها 113
راه‌حل‌ها 27
I'm running v2.3.4 and I just noticed a bug.

I am looking at the code of my XenForo tag page number 10. This is what the canonical says:

<link rel="canonical" href="https://www.mywebsite/forum/tags/honda/" />

That's not right.

This is the code that produces it in the tag_view template:

<xf:macro template="metadata_macros" name="canonical_url" arg-canonicalUrl="{{ link('canonical:tags', $tag) }}" />

I updated the code on the tag_view template to this, which fixed the issue...

Read more
 
امضا : XFFA.IR Bot
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.

موضوعات مشابه

عقب
بالا