The Changelog

New features, fixes, blurbs, and other changes to Neocities.

Support for hotlink protection

New feature: hotlink protection! Hotlinking is when another site embeds your images, music, fonts or anything else straight from your site instead of hosting it themselves. Now you can choose to block hotlinking in your settings if you want to.

This helps protect your work: If another site tries to use your art, photos or music by embedding it from your site, it gets an HTTP 403 error instead of your file.

This also protects your bandwidth: When another site hotlinks your files, every visitor to that site is using your bandwidth instead of theirs. If a busy site embeds one of your images, that adds up fast. With protection on, those requests don't use your bandwidth.

The pages on your site are not affected (custom domains too), and links to your site still work. Only embedding from other sites is stopped.

Some history: hotlinking used to be listed as a free site limitation, and being able to hotlink was a supporter feature. Now this is a controllable setting on both free and supporter sites.

Hotlinking protection will be enabled by default for all new sites. To be safe we did not enable this for existing sites, but if you already have an account, you can turn it on under Hotlink protection in your site's settings.

CDN performance improvements

We made some changes to how we run the CDN that improved the speed of page serving by up to 10%. You probably won't notice it, because site loads are already really fast, but it's still a nice improvement so we wanted to highlight it.

Site file path fixes

We are slowly deploying some site file path fixes over the next few days. For the rare few sites this affects, it may cause new files to suddenly appear (the file was there, it was just missing a site file record), or remove some phantom files/folders that were not deletable.

This was a lingering issue caused by badly behaving WebDAV clients (the great thing about WebDAV standards is there are so many to choose from!), which has since been fixed. If you haven't tried the new SFTP server yet, you should. It's better.

Permanent site deletion

Deleted sites are now permanently erased 30 days after they're deleted. Until then, you can still restore a deleted site by logging in with your old credentials.

After a site is erased, the only thing we keep is the username and the dates it was created, deleted and erased. That's for abuse prevention, because spammers like to register recently deleted usernames to take advantage of their old links and search ranking.

This also covers GDPR erasure requests. Delete your site in Settings, and it will be gone for good after 30 days.

Relaxed CSP for free sites

Starting today, free sites have a more relaxed Content Security Policy, allowing widgets, third-party analytics, etc.

The stricter policy was initally put in place to prevent abuse. We now have a full-time moderation and support team to deal with this instead, so we don't need this restriction anymore.

Don't do anything too scary with it. Happy Halloween!

Free site file type fixes

We recently did a major upgrade of the servers to do security fixes and performance upgrades, but it caused some regressions in the way our file detection works with certain files (JS, XML, TXT). The TLDR is that libmagic changed how it interpreted certain files unexpectedly.

This has been fixed in the code. If there are any other lingering issues with file uploads that should work, let us know.

SFTP Support

SFTP support is in beta! SFTP works a lot better than WebDAV, which tends to be slow and inconsistently implemented on clients.

The SFTP beta is starting out as a supporter feature. Please try it out and let us know if you run into any issues.

AI crawler blocking

Added a setting to hard block known AI crawlers with an HTTP 403 response. It's under AI bots in your site's settings, and it's available for all sites.

A good robots.txt is still recommended and is the most effective deny method. Per Known Agents:

You should always have [robots.txt] as a first line of defense. The data shows that the vast majority of first-party AI Data Scrapers and third-party AI Data Providers actually do follow robots.txt rules.

You can use this list for your robots.txt. Newly created Neocities sites have this bundled in their robots.txt.

CLI and API docs

Reworked the command line guide and API docs, with command examples, API key setup instructions, and a cleaner layout. For security reasons, we're planning to deprecate using username/password for API access and will be requiring API keys in the near future, and the documentation is now reflecting that.

There's been too many design changes to mention, suffice to say we've been improving the site design this year, which hasn't changed much since we launched 13 years ago. It's slow work (70% of which has been trying to figure out how to center a div) because it's a lot of legacy CSS, but the work put into the design this year has been badly needed. We're not going to do a total redesign, it's mostly going to be touch-ups and glow-ups.

Site transfers

Added the ability to transfer a child site to another Supporter account. Use Transfer site in the site's settings to create a link for the recipient. They have to accept the transfer. The site's address and files stay the same. The ability to split a site into it's own new account is on the TODO.

Stats page changes

Reworked the stats page. For privacy reasons, detailed stats are now only visible to the site owner.

Dark mode

Added a light/dark theme switch to the navigation. Opted for default light mode instead of "OS preference" for initial theme.

Hotcat Search Engine

Google decided to deprecate their Search API this year (why?!), so we built our own DIY search engine. Introducing Hotcat, the search engine for Neocities sites.

Back in the 90s, sites used homebrew software like ht://Dig to DIY our own search engines. But for some reason, open source web site search engines have become a lost art, even though they're.. fairly.. simple to make. And as you know, we're big on reviving lost arts around here :)

We think it's producing better search results than the Google version did. Give it a try.

Bulk file deletion

Added multi-select to the dashboard so you can delete several files at once.

API downloads and directories

Added API endpoints for downloading individual files and creating directories, including nested directories. File downloads were added on April 28, followed by directory creation on May 1. This was done to move more internal code to also using the API, so there's one point of access for the site files.