This has been answered many times. Search this site, as toscho points out above.
And see Ben Word – Hide WordPress, who shows how to:
1 – Clean up the output of wp_head and removing the generator from
RSS feeds2 – Hide /wp-content/ by rewriting static theme assets (CSS, JS, and
images), rewriting the plugins directory, and also changing the
location of WordPress uploads3 – Clean up the output of navigation menus with a custom walker
4 – Show root relative URLs
Related Posts:
- subdirectory index.php is not working
- Resource 404 error on multisite subdirectory install
- How to create custom 401, 403 and 500 error pages?
- PHP – redirect https to http and www to non-www
- Namespacing WordPress project according to FIG standards
- Bypass .htaccess when using download_url
- How can I run a .php file located in my site’s root folder?
- Does wordpress allow me to add a php file to the root directory to execute custom scripts?
- Fix 403 error on WordPress multisite network using subdomains
- How to redirect all 404 in a WordPress subdirectory to the index.php of subdirectory?
- How to run multiple websites from single WordPress setup
- Using PHP in a Stylesheet (possibly a “.htaccess” problem?)
- How to override .htaccess with new rules without ftp or edit it manual
- WordPress-site can be reached on x.x.x.x/index.php – but not directly on the IP without index.php
- What’s the proper way to use wp_enqueue_script/style?
- Add htaccess rules with insert_with_markers at beginning of htaccess
- Accessing site’s root from themes folder
- Cannot get media type from ‘x-mapp-php5’
- How to rewrite URL with PHP variables with htaccess to a normal looking URL?
- Custom location for attached images
- Using a `Template Parts` folder instead of an `Includes` folder in a Custom WordPress Theme
- How to Arrange PHP Files to Allow for Multiple Types of Pages?
- How to change home or site url using action hooks or filter?
- Apache Fallback instead of add_rewrite_rule
- Correct folder permissions?
- 3 blogs same installation, without WP MU
- Two Different Links for Same Product – WooCommerce [closed]
- Was told to change the .htacess file form .html to .php so this would work properly
- How to change redirection route to a php page for making it only accessible by logged-in members?
- how to combine wordpress htaccess on my root domain + php on subfolder
- custom url rewrite for wordpress
- Accessing an image folder inside public web directory
- Loading index.php contents which located outside blog folder for post single page
- WP & Server Speed [Teacher Question]
- WordPress add_rewrite_rules for custom URLs ending in .html
- Troll the hackers by redirecting them
- PHP in CSS file?
- Seo Friendly Filter URLs
- How to allow download url redirection only if user logged in WordPress site?
- How to disable all logins except Network login in WordPress Multi site?
- Removing files programmatically
- Is it possible to restrict files from your wordpress uploads (not logged-in users or guest)?
- Simple seo-friendly custom $_GET url rewrite with htaccess
- How to make Subdomain work for product_tag?
- How to serve WordPress folder over subdomain?
- Pages from admin dasboard missing after site migration
- Rewrite rule not working, but only when parameter is text
- Internal Server Errors – Moving working multi-site install to my localhost
- New user – Create a folder
- Autoloading Classes in Plugins
- Deny php execution in /wp-includes – using .htaccess in /wp-includes VS root folder
- How come there is no error if I upgrade WordPress core after locking .htaccess permissions to 644?
- How to block access to a folder inside of wp-content for non logged in users?
- WordPress Redirect / Add_Rewrite_Rule – Non Index.php Page
- How to change query string with pretty URL in WordPress using .htaccess file
- Upload images from one server to an other in wordpress
- Problem with ajax request and directory structure after site migration
- How can I add “.html” to the end of a single URL on a WordPress website?
- How do I prevent a folder from reappearing in my home directory?
- redirect 301 with special character like WIX site “#!”
- 301 redirect from webpage to wordpress page in the same root
- Rewrite /keyword1+keyword2.html to search page | .htaccess
- Redirect homepage /page/1/ to /blog/page/1/
- Permission functions within wordpress
- Enabling XSendFile causes 404 for images on WordPress Multisite / Network
- Why I can download any file except PHP files from a URL but I can download any from another site?
- 3 domains, 1 wordpress install, redirecting and changing domains on live site
- WP white screen of death after duping a site that works fine on same server
- Correct Syntax for uploading files to custom directory in WordPress
- Can I have a php site on subdirectory of WordPress?
- How to use multiple 404 Error Pages in WordPress
- Increase Upload Size with htaccess | MAMP
- WordPress and event-driven programming – what is it about?
- How WordPress encrypt password? [duplicate]
- Adding a custom image upload size and making it selected by default?
- Conditionally loading JavaScript based on the Advanced Custom Fields in the post
- Limit the Excerpt field in WP-Admin in words
- How to change / delete product short description in Woocommerce
- How do I add HTML to a PHP function [closed]
- register_activation_hook isn’t adding table to DB
- Pass get_option value to an array [closed]
- how could I load a different template part by page
- Notice : add_theme_support( ‘post-formats’ ) was called incorrectly [closed]
- How to call plugin function per site in a multisite?
- Auto 301 to full post permalink? (using : /archive/%post_id% to %post_name% )
- Why doesn’t PhotoSmash plugin play well with wp_query?
- Integrating Yii2 and WordPress
- PHP E_WARNING being shown despite php.ini [closed]
- After disabling WPML multi currency, the currency is still handled by the WPML
- How to execute WordPress as though it is in the root folder while it is installed in a subdirectory?
- how to get wordpress page url php code [duplicate]
- retrieve “Link Color” value
- Adding column to wpex_users
- Trying To Call a Dynamic Email Address
- Create html tree sitemap
- Display a query with multiple post types and same relationship on a single page
- How to quickly/easily make an analysis (reverse engineering) of WordPress?
- a problem in class in class-wp-hook.php
- How do I a custom search form by taxonomies?
- WordPress REST API – Custom field not added to pages