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
SEO improvements #1080
Comments
|
We're essentially missing custom video urls, if I get the gist of this page. |
|
@rigelk a ctr+u on a video page reveals that there are no header like H1, H2, H3. So there could be more missing steps. Found another one, images have no alt="some text" attribute. If you wanna generate them automatically (instead of telling the users to do that when they upload a video), the alt text for a video thumbnail IMO can be the video title + the keywords specified by the user or only the title or only the keywords. Also this file is weird to me https://peertube.social/robots.txt
After Disallow it's usually a link or a path or nothing https://moz.com/learn/seo/robotstxt So perhaps bots aren't even allowed to enter and crawl these websites? |
|
@Zig-03 I fixed the robots.txt - not that it should have any impact though. |
|
I have changed the html tag of the video title to |
|
I'm reopening, because we still have SEO issues. For example, we need to index only local videos/accounts/video channels. Moreover, google does not index our videos because "Google chose different canonical than user". |
|
non video pages are missing opengraph/twitter tags and a canonical URL. |
|
a nice thing to add would be another opengraph tag
|
|
We need H tags as well. BTW right now comments aren't displayed when viewing the page source, was this intended to be like this? |
|
I can confirm that's an issue for video makers who want to be present in Peertube (mostly because Youtube strikes them). SEO will lower the barrier for those who don't see the advantages of Peertube (yet). |
|
PeerTube should be properly indexed now. Closing this issue. If you notice bugs, or ways to improve peertube SEO please create another issue. |
|
SEO is still very bad. I was thinking that we might need to use
https://yoast.com/rel-canonical/
In our case, each video is indexed by the many instances that are available and I believe this confuses search engines. Search engines don't know who should have the most "priority". So how should we do this? If instance A has a certain video, then all the other instances that have that video on their instance should add a We could do this for other things which might be perceived by search engines as duplicates, such as user accounts, channel description, etc. I'm not a master in SEO, but this seems right for our use case. |
|
@k09i71 It's already the case: |
|
@Chocobozzz sorry my bad. After taking another look at it, I can see that you don't have any h1 and h2 (which are critical) in the html version of the page. As someone has pointed this above and this is how Vimeo is doing it as well:
Check this video's page source out https://vimeo.com/88385603 and you'll see that their html source is much richer than our pages. |
|
Google gave this page https://peertube.pcservice46.fr/videos/watch/809a0fa0-4960-412c-8421-db64cae00d0e (peertube 2.2) 15/100 points for mobile and 70/100 for desktop.
To see what SEO issues google has found, introduce a url (this one for example) here. |
|
We have a SPA so yes, you won't see HTML using curl. Google bot should interpret JS and correctly render the page. We already use I'm not sure to understand what do you mean by SEO is still very bad.. |
If such a specific search can't find this video, then we have huge SEO problems. Try searching for the same phrase using google, you won't find that video either.
This is not ideal for all search engines, not all search engines are as advanced as google and bing. Also, most major websites and web journals I've analyzed have all these tags as html. Even https://rankmath.com/tools/seo-analyzer/ can't find the H1 and H2 tags. @Chocobozzz also, please see my comment from above. |
Hi, all!
So, why the rel=canonical meta tag point to the first link? I understand, now is all correct, duplicates has identical canonical meta, it's ok, the question only is why the first link, not second? Search Engines will give the first link in search results and links in the search results will not match the links on the pages of the PeerTube instance. Users usually copy a video URL from a browser address bar (for social networks), but this isn't a canonical URL, the share button also shows the second link. |
I found the third link: The fourth link: Note: I saw this: #3406 |
|
Hello, For historical reason we use the first URL ( I'll add the canonical tag in embed too. |
SEO - Search Engine Optimization
The thing is that almost none of the instances/video titles/content is discoverable by SEs (Search Engines).
For example, there is an instance called peertube.social, and let's say we need to find a channel called "chriswere" so if we search for:
"chriswere peertube social" - we get no results.
Let's be more exact and add 2 more keywords from this video of ()chriswere:
"chriswere peertube social Chromium BSU" - zero results.
To fix this (at least for now), this article should do: https://backlinko.com/on-page-seo (this is a general purpose article, not everything applies to peertube, but most of it I'd say)
The text was updated successfully, but these errors were encountered: