Problems with running a 2nd installation of WordPress on my domain?

To avoid .htaccess files of WP installations, affect other WP installations, use the following file system structure: hosting_account_folder ┌─────┴─────┐ public_html subdomains ┌────┼────┐ sub1 sub2 sub3 In this scenario, mydomain.com points to hosting_account_folder/public_html, sub1.mydomain.com points to hosting_account_folder/subdomains/sub1, sub2.mydomain.com points to hosting_account_folder/subdomains/sub2, and sub3.mydomain.com points to hosting_account_folder/subdomains/sub3. As you can see, none of WP installations, is a … Read more

Logging in to installation in subdirectory renders broken dashboard (no CSS, broken links)

Try disabling all plugins temporarily (you can do that quickly by renaming the wp-content/plugins folder to something else). See if that fixes the admin screen. If it does, make a new wp-content/plugins folder, then move plugin folders from the renamed folder back into the wp-content/plugins folder one at a time. Retest, and see if one … Read more

Change WordPress names duplicate titles (url)

For details please see this answer : Remove Dash/Hyphen From WordPress CustomPosttype Permalink In your functions.php : function no_dashes($title) { return str_replace(‘-‘, ”, $title); } add_filter(‘sanitize_title’, ‘no_dashes’ , 9999); For particular type of post : function no_dashes( $slug, $post_ID, $post_status, $post_type ) { if( $post_type == “page” ) { $slug = str_replace( ‘-‘, ”, $slug); … Read more

Need folder for CPT templates for eg: single-{post_type}.php

i was able to solve some of it // defining the sub-directory so that it can be easily accessed from elsewhere as well. define( ‘WPSE_PAGE_TEMPLATE_SUB_DIR’, ‘pages’ ); function wpse227006_page_template_add_subdir( $templates = array() ) { // Generally this doesn’t happen, unless another plugin / theme does modifications // of their own. In that case, it’s better … Read more