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
- Get a list of folders inside uploads directory
- wp-login – unable to redirect user to a custom login url
- NGINX rewrite rules for WordPress Subdirectory Multisite to support deep URL
- Change WordPress Multisite Domain to subfolder
- How to link the path of a folder situated in public.html for a random video player?
- How to do SEO friendly filters urls?
- enumerating custom taxonomies?
- insert thumbnail image from php script
- Change colour of table td based on value
- get_post_meta with variable
- offset and max_num_pages in pagination gallery
- Passing link parameter values to form
- Processing forms with php to wordpress database
- WordPress Setting API – There is no field in options.php
- WP_Query count of different meta key values [duplicate]
- Are WordPress widgets cached?
- Widget edit and add in any page
- Relationship between custom post type and page/single templates
- widget: input the px value from user and use it as inline style in widget function
- Showing the project type in HREF
- Search bar for page that searches only particular page IDs
- PHP calling function within a class
- How to use Amazon Elastic Transcoder from WordPress using AWS SDK for PHP?
- INCOMING: Wall of code for form and $_POST, not updating custom field’s value
- WordPress error on my website
- Ajax call URL 404’ing when pushed to staging server
- WooCommerce – Print Processing orders [closed]
- Create a dynamic buddupress tab