Description
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.
e.g.
This: ?, %20 ? ?, ?, ü, ?-boyz_%20__=++&, ?, §)+? ?++‰+ath-club-??????–.pdf
Becomes: AE-20-ae-I-O-U-Y-boyz-20-T-tath-club-AEOAaeoa.pdf
This: —-___——]- hair space U+200A.jpg
becomes: hair-space-U200A.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.
Installation
- 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.
FAQ
-
Does this plugin work with PHP 8?
-
Yes.
Reviews
Contributors & Developers
“SEO File Renamer” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “SEO File Renamer” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.3
- Style updates
1.0.2
- Updated dox
1.0.1
- Initial version