I have a wordpress site ,but when I Press Ctrl+U I can see all the site information's about my site(themes,wp-content,etc). But I saw one site http://www.indiavisiontv.com/ . when I press Ctrl+U we get a source code page that doesn't reveal so much things. How they do that.
相关问题
- Views base64 encoded blob in HTML with PHP
- Laravel Option Select - Default Issue
- PHP Recursively File Folder Scan Sorted by Modific
- Can php detect if javascript is on or not?
- Using similar_text and strpos together
The website you have mentioned (indiavision) is using w3 total cache to minify the css and js hence you can't see the typical source (I was still able to locate 'wp-content' in source though).
You can use Hide my wp to hide your wordpress instance completely. It includes following abilities:
Reference: http://howtomakewebsite.ws/wordpress-plugins/how-to-hide-wordpress/731/
You can hide WordPress in a few ways. http://www.graemeboy.com/how-to-hide-that-you-use-wordpress
Removing the generator tag is a big one that some security plugins do to help with random searching for outdated installs to hack. You can also rename the directories that give WP away.
If you are new to php and mod_rewrite i suggest so you check with the section of my response. Or if you keen to try it yourself, you can use something like this to hide the wp-content/plugins path structure:
This will change the path to /modules . Apply something similar to other structure, you may need some advanced rewrites, see http://httpd.apache.org/docs/current/mod/mod_rewrite.html
If prefer something out of the box, there re few interesting plugins, some commercial, also free at WordPress repository, i suggest to try WP Hide & Security Enhancer. This include lot's of things and help to change pretty much everything to make your WordPress unrecognizable. Here are some features of the code: