SitRed is a simple, yet powerful, server that fetches a website's sitemap, parses it to extract the URLs, and then redirects incoming HTTP requests to a random URL from the list.
The server is written in Go and was designed for sitemaps generated by the Yoast SEO WordPress plugin, but as long as you don't feed it a sitemap index, you should be able to use with it other kinds of sitemaps. Additionally, it should work efficiently even with large sitemaps.
Hosting your own instance of SitRed is easy:
Using SitRed is even easier:
First install the dependencies:
- Go 1.21 or above.
- make.
- scdoc.
Then compile and install:
make
sudo make install
Anyone can help make SitRed better. Send patches on the mailing list and report bugs on the issue tracker.
You must sign-off your work using git commit --signoff
. Follow the
Linux kernel developer's certificate of
origin
for more details.
All contributions are made under the EUPL license.
The following resources are available:
- Support and general discussions.
- Patches and development related questions.
- Instructions on how to prepare patches.
- Feature requests and bug reports.
Released under the EUPL License.