mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/12555] Allow to set canonical URLs to avoid duplicate content
PHPBB3-12555
This commit is contained in:
parent
a496015b98
commit
613f4f7525
2 changed files with 8 additions and 0 deletions
|
@ -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" />
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue