You can move the installation and also plugin and content folder. The follow source demonstrate this.
//*
// Custom content directory
define( 'WP_CONTENT_DIR', dirname( __FILE__ ) . '/wp-content' );
define( 'WP_CONTENT_URL', 'http://' . $_SERVER['HTTP_HOST'] . '/wp-content' );
// Custom plugin directory
define( 'WP_PLUGIN_DIR', dirname( __FILE__ ) . '/wp-plugins' );
define( 'WP_PLUGIN_URL', 'http://' . $_SERVER['HTTP_HOST'] . '/wp-plugins' );
// Custom mu plugin directory
define( 'WPMU_PLUGIN_DIR', dirname( __FILE__ ) . '/wpmu-plugins' );
define( 'WPMU_PLUGIN_URL', 'http://' . $_SERVER['HTTP_HOST'] . '/wpmu-plugins' );
/**/
Source for the code example. https://github.com/bueltge/WordPress-Starter/blob/master/wp-config.php
Related Posts:
- Can wordpress theme folder name be changed freely and nothing technically happens
- Dash or underscore in theme folder name?
- Categorising themes by folders in backend
- How do i structure my theme folder to avoid one huge list of files
- get_template_directory has an odd functionality
- Custom theme folder
- wp theme.. Could not create directory
- Installed theme uses get_template_directory, breaks WordPress on Windows
- How prevent someone from opening my theme directory
- Conditional config WP_HOME/WP_SITEURL does not update bloginfo(‘template_url’)?
- Get WP Install Directory
- How do I get the path to the currently in use theme’s directory?
- How do I block a subdirectory from WordPress theming?
- Categorising themes by folders in backend
- How to Link External jQuery/Javascript files with WordPress
- Am I allowed to license my WordPress theme under the aGPL
- Best practices for a Style/CSS based theme options page?
- How to license my commercial WordPress theme? [closed]
- How to Use WordPress as Static CMS Without Blog Posts
- How do I create my own admin button and theme settings page?
- How to set two different themes on one WordPress? (Desktop vs. Mobile)
- How can I add a set featured image function to a theme that doesn’t already have it built in?
- Jquery in Child Theme
- Changing the visible url path to css & js files
- Display custom_background outside wp_head()
- How to automatically highlight syntax of code in a post?
- Retaining old HTML archives and displaying themes conditionally
- Extra User Profile Field Upload File / Image
- Theme Activation, Create Database Tables
- WordPress ignoring specified template for front page. Why?
- Alternate header image
- How do you manage your theme versions when privately distributing?
- wordpress themes demo file importing problem? [closed]
- How to run word press theme on localhost in Ubuntu OS?
- How to start learning CSS and theme development?
- How do I make the category template display full posts instead of partial posts?
- Does uninstalling a WordPress theme delete its database values?
- Confit theme on WordPress.org
- Child theme not using parent theme css/styles/formatting?
- Problem after renaming wordpress template file
- 100% width Featured Image Size
- Make it possible to pick a color theme for specific pages
- X-Axis of Site is Messed Up Because it is in Hebrew
- How can I use a logo in the header?
- How to create my own sidebar in Twenty Eleven child theme?
- How to find out if page_for_posts is showing (in order to style menu item)
- style.css not reflecting changes. I have no cache installed
- the_content() is not displaying content, why? [closed]
- Unwanted edit link on front page
- My new WordPress theme based on the TwentyEleven theme doesn’t display the front page OR the blog page
- How to add logo in Thematic
- How to create a new copy of a theme currently being used?
- Creating a job board using WordPress (for free)? [closed]
- How to transform a custom made static HTML website to a WordPress website [closed]
- Translate a site based on different themes
- Problems to disable the comments for my statics pages
- Any Good WordPress Themes Compatible With The BBPress Plugin? [closed]
- Template messed up on viewing posts
- Issue with theme mod options during domain migration
- FTP + Unable to locate WordPress content directory (wp-content)
- How to access theme fonts using custom CSS style? [closed]
- Show hyperlinks only when user is loggedin
- I don’t know how to put a placeholder [closed]
- What data does WordPress theme update pull If there is an update?
- How to hide title on ‘highlights’ – Themify feature
- WordPress setup one database with two different website?
- Do all themes accommodate all features?
- How to reduce Header at the top of the page
- Custom fields not displaying on front end
- How can i set default pages to a word press theme? it shouldn’t be changed even if i install the theme in different host
- WordPress 2022 template, how to see the blocks added in post template on post edit?
- Two themes using a Multiple Themes plugin
- Broken theme, stylesheet is missing after uploading the right theme via FTP
- how to notify users about new theme updates?
- I cannot get an Advanced Custom Field code snippet to work – and ACF support say it should work
- Theme check warning about text domain
- WordPress thinks my custom theme is a theme in the public theme repository
- WP Customize API Checkbox change value
- Updating a theme
- Phone numbers showing same color as header [closed]
- Baskerville Theme – How to use the masonry grid layout on other pages
- Background image not showing up
- How to display post meta data in secure manner
- theme continuous deployment from bitbucket to windows azure
- Will this js code work in a page template?
- Create /archive page in WordPress Theme
- separate home page into separate pages
- Moving WordPress with Super Skeleton theme
- How can I allow a client to edit certain parts of a static site?
- How can I either move the nav bar down or create more space for the header? Theme – Ajaira
- To create a theme or use an existing one? [closed]
- Overwrite functions.php of a theme – What if the theme is updated?
- How to add/edit content Custom Content item in theme
- Is there a WordPress theme for twittstrap? [closed]
- change template with button
- How do I remove the dash (-) between my Site Title and Tagline?
- WordPress Theme redirects to the Index page – Theme customizer problem
- Obtaining the original unchanged Theme [closed]
- How to assign posts to different themes? [closed]
- Table of Contents in Left Navbar [closed]