This is a super simple plugin for uploaded file name sanitization.
Essentially, it’s to make your uploaded filenames easier for search engines to read, hence better for SEO, nicer to look at in the folder (who cares?), and should also help avoid any issues with naming conventions.
You might be thinking that WordPress does a good enough job at renaming, but it still allows underscores and other symbols and characters that maybe don’t belong in a filename.
This: Æ, %20 æ Ï, Ö, Ü, Ÿ-boyz_%20__=++&, ©, §)+Ţ ţ++‰+ath-club-ÆØÅæøå–.pdf
This: —-___——]- hair space U+200A.jpg
The Original idea for this was done by Vaughn Royko and so we thought we would turn this into a simple plugin with a few options for those who are worried about messing with their functions file, and or can only install plugins and cant edit the Functions file.
- Install SEO File Renamer
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Allow filename capitalization by going to the ‘Settings > SEO File Renamer’ menu.
Does this plugin work with PHP 8?
Contributors & Developers
“SEO File Renamer” is open source software. The following people have contributed to this plugin.Contributors
- Style updates
- Updated dox
- Initial version