mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 07:18:08 +02:00
[ticket/12555] Allow to set canonical URLs to avoid duplicate content
PHPBB3-12555
This commit is contained in:
@@ -18,6 +18,10 @@
|
|||||||
<!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{U_FEED}?f={S_FORUM_ID}&t={S_TOPIC_ID}" /><!-- ENDIF -->
|
<!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{U_FEED}?f={S_FORUM_ID}&t={S_TOPIC_ID}" /><!-- ENDIF -->
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF U_CANONICAL -->
|
||||||
|
<link rel="canonical" href="{U_CANONICAL}" />
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
phpBB style name: prosilver
|
phpBB style name: prosilver
|
||||||
Based on style: prosilver (this is the default phpBB3 style)
|
Based on style: prosilver (this is the default phpBB3 style)
|
||||||
|
@@ -17,6 +17,10 @@
|
|||||||
<!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{U_FEED}?f={S_FORUM_ID}&t={S_TOPIC_ID}" /><!-- ENDIF -->
|
<!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{U_FEED}?f={S_FORUM_ID}&t={S_TOPIC_ID}" /><!-- ENDIF -->
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF U_CANONICAL -->
|
||||||
|
<link rel="canonical" href="{U_CANONICAL}" />
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />
|
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />
|
||||||
<link rel="stylesheet" href="{T_STYLESHEET_LANG_LINK}" type="text/css" />
|
<link rel="stylesheet" href="{T_STYLESHEET_LANG_LINK}" type="text/css" />
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user