WordPress Domain Mapping shows new domain in place but takes me to the sub domain
WordPress Domain Mapping shows new domain in place but takes me to the sub domain
WordPress Domain Mapping shows new domain in place but takes me to the sub domain
Multisite: Run a subdomain install from a directory install
Subdirectory and domain multisite installation
From the Codex for pre_get_posts: pre_get_posts cannot be used to alter the query for Page requests (page templates) because ‘is_page’, ‘is_singular’, ‘pagename’ and other properties (depending if pretty permalinks are used) are already set by the parse_query() method. See: Query Overview. The recommended way to alter the main query for page requests is to use … Read more
Multiple URLs to one WordPress install
How to configure WordPress for multiple blogs without using multisite?
The solution, adding this to my wp-config.php: define( ‘PLUGINDIR’, ‘wp-app-content/plugins’ ); https://wordpress.org/support/topic/domain-mapping-breaks-some-plugin-scripts-and-css
To be honest even after your Update: How may I fix the fact that the admin area preserves the original url when using the Domain Mapping plugin (the one with the sunrise.php)? I don’t quite understand whether you want to “Redirect administration pages to network’s original domain” or not. In any case, as per the … Read more
Something like this should help you. Redirect 301 /subfolder http://www.your-url.com/
Not tested…but should work. In your .htaccess file: RewriteEngine On RewriteCond %{HTTP_HOST} ^(www.)?mysite.com$ RewriteRule ^(/)?$ us [L] (and yes…make a copy of your original .htaccess before you muck with it!)