wordpress multisite domain mapping redirects to original subdomain
Check if the Primary option is selected for the second domain under domain mapping settings. It should say Yes under Primary in Settings->Domains for that domain.
Check if the Primary option is selected for the second domain under domain mapping settings. It should say Yes under Primary in Settings->Domains for that domain.
Answered from this thread. Summary: The .htaccess redirect for www/non-www… # www redirect RewriteCond %{HTTP_HOST} ^subdomain.com RewriteRule ^(.*)$ http://www.subdomain.com/$1 [R=301,L] Put it ABOVE your WordPress rules on domain.com. Should work. Example: RewriteEngine On # DOMAIN #1 – Redirect non-www urls to www RewriteCond %{HTTP_HOST} ^domain1.com RewriteRule ^(.*)$ http://www.domain1.com/$1 [R=301,L] # DOMAIN #2 – Redirect non-www … Read more
Try to set the constant COOKIE_DOMAIN to an empty value or the value of the real address. Example: define( ‘COOKIE_DOMAIN’, ” ); Be aware WordPress has a lot of issues with symlinks, so there might be other problems too.
If I understand the questions (and it is possible I don’t so some clarity would be nice). You have multiple domain names and you would like to run WordPress on them all. You have two options here Install multiple copies of WordPress (one for each domain) the folder structure of this method is entirely up … Read more
Do not alter any table names. In both sites (just to be sure) in wp-config.php set the WP_SITEURL and WP_HOMEURL to the related domain so these constants should be http://wow7.ro on the main domain install and http://lol.wow7.ro on the subdomain install. See Codex. Note that it doesn’t work for links insrted inside post or page … Read more
Depending on what server setup you have (operating system, http server & control panel – if you have one), the main way to go would be to have separate DNS zones for each domain (with an A record for the domain name, then MX records, NS if you want the nameservers to be linked to … Read more
There are two aspects to site’s URL in WP (baseline case, multisite aside): Which URL it considers “real”, responds to, and uses to generate links. URLs previously generated and persistently stored in content. Former is pretty malleable and as you discovered already is simply a matter of configuration. More so it’s technically easy (and practically … Read more
When I move domains and have to change the domain in the database, I use interconnectit’s Search and Replace tool. Here is a very brief overview of the process. Export the database and upload it to the new server. Upload interconnectit’s Search and Replace tool to the new server. Configure what I want to be … Read more
I finally found the answer. When we use a subdomain (xyz.com) on the cpanel and create a wordpress multisite on it, we need to simply assign 123.com add-on domain in the cpanel and change the domain root to the same root of xyz.com. For example, if domain root of xyz.com is /public/xyz.com, then when we … Read more
Finally found the way after a lot of testing: RewriteRule ^terms /blog/index.php/termspage [NC,L]