Have two domains point to the same content on a wordpress multisite
Have two domains point to the same content on a wordpress multisite
Have two domains point to the same content on a wordpress multisite
After posting the question, I thought about the process of how htaccess can affect the URL and the results of that request. Then I realized that the new domain is one that would match this statement: #rewrite to landing RewriteRule ^$ /landing.php [L] That would rewrite the domain.com request to domain.com/landing. Which is not what … Read more
You can set up Caddy to reverse proxy requests to the Multisite installation: In your Caddyfile, add a reverse_proxy directive for the Multisite: somedomain.com/blog { reverse_proxy blog.example.com } This will forward all requests to somedomain.com/blog to the Multisite installation at blog.example.com. Next, update the WordPress Multisite configuration to use the new domain: In your WordPress … Read more
First clear your browser’s cache (including cookies) and your server’s cache (cache plugins, etc.) Then set the following in your wp-config.php file: define(‘ADMIN_COOKIE_PATH’, “https://wordpress.stackexchange.com/”); define(‘COOKIE_DOMAIN’, ”); define(‘COOKIEPATH’, ”); define(‘SITECOOKIEPATH’, ”); Also, you may checkout the answer from HERE: define(‘WP_ALLOW_MULTISITE’, true); define(‘MULTISITE’, true); define(‘SUBDOMAIN_INSTALL’, false); define(‘DOMAIN_CURRENT_SITE’, ‘your-domain.example’); define(‘PATH_CURRENT_SITE’, “https://wordpress.stackexchange.com/”); define(‘SITE_ID_CURRENT_SITE’, 1); define(‘BLOG_ID_CURRENT_SITE’, 1); define(‘SUNRISE’, ‘on’); If … Read more
This is more a general hosting question, rather than WordPress. Nonetheless, since you mentioned that you have your website on WordPress.com, you can have your new domain point to your WordPress site by it’s CNAME. In your case, your CNAME would look be example.wordpress.com (change example to your actual site). This is the recommended approach … Read more
It seems that this was simply a matter of waiting: the less trafficked pages updated their addresses quickly and the more trafficked pages (e.g., the home page) took longer to be update in Google search results. Other users with more heavily trafficked sites might wish to refer to this article on demoting site links to … Read more
What you’re asking for is very easy with this plugin: http://premium.wpmudev.org/project/domain-mapping/ It does cross-domain cookie syncing with all of your sites on one Multisite installation. I’ve used this a couple times and it works dandy.
Site Address (URL) Enter the address you want people to type in their browser to reach your WordPress site. This is the directory where WordPress’s main index.php file is installed. The Site address (URL) is identical to the WordPress address (URL) (above) unless you are giving WordPress its own directory. WordPress will trim a slash … Read more
This is something you can do with your DNS / Domain Name Host. You choose in WordPress (WP-Admin > Settings > General ) if you want to use www.somename.com or just somename.com If you login in to your Domain Name Host (I use 123-reg) then look for Manage DNS CNAME / A / TXT records … Read more
This is because your admin user account isn’t recognised on sub-domains anymore. Log into the network dashboard sites section, http://<your-domain>/wp-admin/network/sites.php, edit each of your sub-domains and add your user account as an admin role.