selfhostedshow / wiki

The official Wiki of the selfhosted.show Podcast.
https://wiki.selfhosted.show
GNU General Public License v3.0
197 stars 61 forks source link

Custom page support allows the replacement of default canonical tag with url from author. #113

Closed Bas-Man closed 1 year ago

Bas-Man commented 3 years ago

Prevents Google Search engine confusing content that has been added, but which has an existing home.

Sample with link both top and bottom. Top shows two options.

Add canonical-template.md

rename meta.canonocal to meta.canonocal_url More inline with existing naming. Provide two options for listing the url on the page.

Update README.md with canonical template information.

If you wish to see this in action. Update a post with the following items in your meta data

---
template: canonical.html
canonical_url: http[your-link]
---

If accept this closes #112

RealOrangeOne commented 3 years ago

I feel like if we want to do this, then we should either just hard link out, or import the page content at build time (which is difficult)

I'm not sure what the use of this is? noindex would be much simpler.

Bas-Man commented 3 years ago

One of the things I am seeing is a lack of content being added to the wiki. People do not seem to want to share their solutions on the wiki itself. They are more then happy to share in discord.

I thought perhaps if the wiki could in some way promote the authors personal site. People might be willing to add some of their content.

I admit I am not knowledgeable about SEO. bit it seems to me that using the canonical reference may help the author site in the search listings. A gain for them by sharing their article / technical write up.

Using noindex could be an option. But providing a link to the authors site is at least something.

For what it is worth. I did get the idea from https://dev.to which has increased my own sites traffic.

py-crash commented 3 years ago

I feel like if we want to do this, then we should either just hard link out, or import the page content at build time (which is difficult)

Actually is not that a great idea to import the page at build time because it would be necesary to tweak sometimes the post to be a wiki article. For example, in a Blog post I would add a paragraph about comments, and/or how to contact me, and maybe tell whats comming in the next post. All those things don´t belong to a wiki article

py-crash commented 3 years ago

This PR should be linked to the discusion in the issue #112. There were some points about verification and/or guidelines for cross-posting.

Bas-Man commented 2 years ago

It should be noted that this is an optional feature that can be turned on for a given page. It does not change the default page behaviour.

BCNelson commented 2 years ago

I'm all for this

ironicbadger commented 2 years ago

Tracking discussion in #112

Bas-Man commented 1 year ago

Hi. I am in the process of cleaning up my GitHub account. This pull request has existed for about 2 years and has seen no action in about 10 months.

I have also not contributed to this repo in some the. So it might be time to close this out.