Subdirectory Blog Hosting for Improved SEO and User Experience
complete
Karol Horosin
Description:
Implement the ability to host blogs on a subdirectory (e.g. example.com/blog) rather than the current subdomain structure (e.g. blog.example.com) to improve SEO performance and user experience.
Background:
Currently, Hashnode allows users to host their blogs under a subdomain. However, this solution is not optimal for SEO purposes, as search engine crawlers view subdomains as separate websites. This can hinder the organic growth and visibility of users' blogs. Some workarounds exist, such as using Cloudflare workers, but they are not ideal and only cater to the simplest use cases.
Example of workaround using Cloudflare workers:
Benefits:
- Improved SEO Performance - Hosting a blog under a subdirectory will allow search engines to recognize it as part of the main website, enhancing its SEO performance and ultimately increasing visibility and organic traffic.
- Unified Branding - A subdirectory blog hosting will ensure a consistent brand experience for users and their audiences, as their blog will appear as an integral part of their main website.
- Simplified User Management - Hosting a blog within a subdirectory can simplify the user management process, as users would not have to manage multiple domains and subdomains for their online presence.
Implementation Details:
- Allow users to configure their blogs to be hosted under a subdirectory.
- Provide documentation and support for setting up a reverse proxy, as this may require more advanced configuration by users.
Related feature request for custom homepage
Some of those problems can be solved by this and related requests but only for the simplest use cases.
Log In
Ayodele Samuel Adebayo
complete
Ayodele Samuel Adebayo
Hi Karol Horosin
We now have a solution for subpath, you can checkout the annoucement here: https://twitter.com/hashnode/status/1714273198127436163
Kavir
Hi Karol Horosin Foyer Venkat Ramakrishnan Ákos Kőműves we're working on something that can enable subdirectory on Hashnode. Stay tuned! 👀
elvis kahoro
Kavir: The workaround is probably wicked! Yall should make an eng blog post about it too!
Venkat Ramakrishnan
Kavir: This has been open for a very long time, although the thread indicates discussions only from April 2023.
Request to please work on it asap and make it available.
Ayodele Samuel Adebayo
Venkat Ramakrishnan: We now have a solution for subpath
you can checkout the annoumcent here: https://twitter.com/hashnode/status/1714273198127436163
Venkat Ramakrishnan
Ayodele Samuel Adebayo: thanks. I went through the link but could not quite understand how to go about it.
My blog is here:
How do I make it appear on hashnode?
Thanks!
Ayodele Samuel Adebayo
Venkat Ramakrishnan: Hi, you can use the headless feature: https://hashnode.com/headless, this allows you to use subpath and also make your articles appear on Hashnode
Kavir
under review
Kavir
Merged in a post:
Add support for subpages
elvis kahoro
Hosting a Hashnode blog on a custom domain currently supports subdomains e.g. It would be incredibly helpful, especially for SEO if we were able to also host a Hashnode blog as using subpages e.g.
Foyer
Hi there! I'm also facing the same issue and would love to see Hashnode implement support for subpages in custom domain hosting. It would greatly benefit SEO and content organization to be able to host a Hashnode blog on a custom domain with subpages, like merlin.foyer.work/blog (So that the SEO for the actual website - https://merlin.foyer.work/ This feature would provide more flexibility in structuring content and enhancing website navigation). As a blogger on Hashnode, I eagerly request the Hashnode team to consider implementing this much-needed feature. Keep up the great work!
Ayodele Samuel Adebayo
Foyer: We now have a solution for subpath
you can checkout the annoumcent here: https://twitter.com/hashnode/status/1714273198127436163
Venkat Ramakrishnan
Second this! And we need this urgently as we have established blogs already and cannot change the URL now. Thanks.
Ayodele Samuel Adebayo
Thanks for sharing your feedback with us. We’ll evaluate it 😃
Ákos Kőműves
This would be incredibly useful for SEO 🙌