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:
  1. 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.
  2. 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.
  3. 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.