Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove prev/next <link>s #285

Closed
cmb69 opened this issue Aug 30, 2017 · 3 comments
Closed

Remove prev/next <link>s #285

cmb69 opened this issue Aug 30, 2017 · 3 comments
Assignees
Milestone

Comments

@cmb69
Copy link
Member

cmb69 commented Aug 30, 2017

CMSimple traditionally emits <link> elements in the <head> which refer to the previous and the next page. This concept doesn't necessarily apply to any CMSimple_XH website, however. Even worse, such prev/next links could be more reasonable used by plugins which use some kind of pagination (lb_Gallery, Forum_XH, Calendar_XH). See also https://support.google.com/webmasters/answer/1663744?hl=en, which states:

Use rel="next" and rel="prev" links to indicate the relationship between component URLs. This markup provides a strong hint to Google that you would like us to treat these pages as a logical sequence, thus consolidating their linking properties and usually sending searchers to the first page.

Therefore I suggest to drop the prev/next <link> elements in the <head> or to make them configurable.

@cmb69 cmb69 added this to the 1.7.1 milestone Aug 30, 2017
@cmb69 cmb69 modified the milestones: 1.7.1, 1.8 Sep 29, 2017
olape-git referenced this issue in cmb69/cmsimple-xh Jan 25, 2018
The first published page of a CMSimple_XH installation can be requested
with or without its page URL (unless we're in admin mode).  To avoid DC
we omit the page URL if possible.  We're doing some trickery in
loginlink(), so that the page URL is always passed there – otherwise
we'd get the unpleasant "No page selected" notice.
@cmb69
Copy link
Member Author

cmb69 commented Nov 14, 2018

But see https://cmsimpleforum.com/viewtopic.php?f=13&t=14271. For such use cases the head-links make sense (perhaps make that configurable?)

@olape-git
Copy link
Contributor

If it's to be kept in, then configurable. For plugins like Realblog these links are wrong. Here Realblog should create, if, then even some.

@frase-git
Copy link
Contributor

If it's to be kept in, then configurable.

I agree with that. Standard should be "off".

olape-git added a commit to olape-git/cmsimple-xh that referenced this issue Apr 24, 2024
@olape-git olape-git self-assigned this Apr 24, 2024
olape-git added a commit to olape-git/cmsimple-xh that referenced this issue Apr 25, 2024
olape-git added a commit that referenced this issue Apr 29, 2024
* Remove prev/next <link>s

#285

* domain fhseidel.de

Remove or edit all links to the domain fhseidel.de.

#585

* Remove onload()

Remove onload() in the body tag of the templates.

#586

* Server error: 500 during "Check links

Server error: 500 during "Check links (xampp as of PHP 8.1)

#582

* Domain webdesign-keil.de

Remove links to webdesign-keil.de.
Correct links to Google Material Icons.

#588
olape-git added a commit that referenced this issue Apr 29, 2024
* Remove prev/next <link>s

#285

* domain fhseidel.de

Remove or edit all links to the domain fhseidel.de.

#585

* Remove onload()

Remove onload() in the body tag of the templates.

#586

* Server error: 500 during "Check links

Server error: 500 during "Check links (xampp as of PHP 8.1)

#582

* Domain webdesign-keil.de

Remove links to webdesign-keil.de.
Correct links to Google Material Icons.

#588

* Intl transliterator transliterate 1.8

#357

#337

#413
olape-git added a commit that referenced this issue Apr 29, 2024
* Remove prev/next <link>s

#285

* domain fhseidel.de

Remove or edit all links to the domain fhseidel.de.

#585

* Remove onload()

Remove onload() in the body tag of the templates.

#586

* Server error: 500 during "Check links

Server error: 500 during "Check links (xampp as of PHP 8.1)

#582

* Domain webdesign-keil.de

Remove links to webdesign-keil.de.
Correct links to Google Material Icons.

#588

* Filebrowser: Correct links in the help files.

#581
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants