تفصیل
Remove the version from your WordPress website completely, increasing security and thwarting potential hacks by hiding WordPress version information from the source code.
This plugin:
– Removes the WordPress version number from the HTML meta generator tag.
– Removes version query strings (?ver=x.x.x) from CSS and JavaScript files.
– Hides the WordPress version from RSS feed generator tags.
– Adds security headers to prevent attacks and improve site security.
انسٹالیشن
- Upload
remove-version-info.phpto the/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Go to your homepage, CTRL+U to view the source, and confirm that the WordPress version number has been removed from:
- Meta generator tag.
- Query strings in CSS and JS files.
- Optional: You can check your security headers using developer tools in your browser to verify that headers like
Content-Security-PolicyandX-Content-Type-Optionsare being set.
عمومی سوالات
-
Why should I use this plugin when I can just put the code into my functions.php file?
-
You can do that, but when you update or change your theme, it will be removed (along with any other modifications done to the
functions.phpfile). -
Will this plugin persist even if I change or update my theme?
-
Yes. This plugin works independently of your theme and will continue to function regardless of theme changes.
-
What happens if I deactivate or uninstall this plugin?
-
If you deactivate or uninstall this plugin, the version information will no longer be removed.
-
What security headers does this plugin add?
-
The plugin adds the following headers:
– Content-Security-Policy: Helps prevent XSS attacks by specifying allowed sources for content.
– X-Content-Type-Options: Prevents browsers from interpreting files as a different MIME type.
– X-UA-Compatible: Forces Internet Explorer to use the latest rendering engine.
شراکت دار اور ڈیویلپرز
“Remove Version Info” اوپن سورس سافٹ ویئر ہے۔ مندرجہ ذیل لوگوں نے اس پلگ ان میں حصہ لیا:
شراکت دار“Remove Version Info” کا اپنی زبان میں ترجمہ کریں۔
ڈویلپمینٹ میں دلچسپی ہے؟
کوڈ براؤز کریں، ایس این وی ریپوزیٹری کو چیک کریں یا ڈویلپمینٹ لاگ کو سبسکرائب کریں بذریعہ آر ایس ایس۔
چینج لاگ
1.2
- Combined filters for version removal to improve code efficiency.
- Added security headers like Content-Security-Policy and X-Content-Type-Options for enhanced security.
- Added localization support for plugin translations.
- Improved code comments for better maintainability and readability.
1.1
- Initial release.

