I am trying to set up the Website with Multiple Domains. All the domains have same content ,with some pages having slightly different content and Navigation Menu. Is it possible through this plugin ?
]]>Hi Team,
As of now, we have 2 login mechanisms on our site. 1 where we let user login with OTP, and another where I have query, i.e. SSO Login. In case of SSO, the redirection happens with the main Base URL.
We are using this plugin for doing SSO integration. Since the URL will be prefixed along with the SAML request, how can we handle this to make the SSO authentication work.
Another query is related to use of URL Shortners such as using plugins like Pretty Links, where the main URL would be trackable link, but then the destination URL will be something else.
How can we go ahead about handling both of these scenarios?
Thank you in advance for your help.
Regards,
Jay.
]]>The website is hosted on the main domain httpps://www.delosduendeszahories.com The website has a domain pointer that perfectly resolves all issues related to the content of the website. The WordPress that is on this website is the latest version: 6.4.3 In the plugin, both https://www.whwt.eu and whwt.eu are registered in the multiple domain But when accessing them, it does not show the images, and gives a 403 error. This didn’t happen before. This happens, for example, with the website logo and with the rest of the existing images in the WordPress gallery itself.
]]>I’m just going over a WordPress based site updating for PHP 8.1. I found a couple of calls to ltrim() in the redirect function that produce a deprecation error.
Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated ...
I found a solution to that by casting the values as string before attempting to trim them:
$base = ltrim((string) $base, '/');
$uri = ltrim((string) $uri, '/');
Originally it was
$base = ltrim($base, '/');
$uri = ltrim($uri, '/');
There may be a better ways of achieving the same result.
]]>Let’s assume WordPress is installed at https://example.com/home
I would like example.com to point to /home
I would like sub1.example.com to point to /home/sub1
I would like sub2.example.com to point to /home/sub2
I have pulled out all of my hair trying to figure out how to set it up.
]]>Hello, i’ve tried using this plugin as alternative to multisite, it is almost working as needed, with the exception of woocommerce cart and checkout that i’ve not been able to set so far. I’m wondering is this plugin still functioning with woocommerce as previously confirmed here at support thread by wp member @lije, can anyone confirm that still works for woocommerce after its updates?
]]>I have 3 domains. I want all of them to point to one website. However, i need the site indexed in respective domains. Like domain1.com/post-title-123 should be same as domain12.com/post-title-123 and domain13.com/post-title-123 but indexed as if they were different sites.
I gather this plugin does this.
However, what about Google analytics and AdSense code that are domain specific. How to use the right analytics and AdSense code based on domain?
]]>Love this plugin, using it for 5 of my domains. Did you come accross any way of running external plugins (e.g form filling plugin) that i can control to display on specific domain only?
Thank you
Hi
Great plugin. I’m just trying to create a query filter, but can’t seem to get it to work. I want the meta_key, ‘author_email’ to match with the shortcode in meta_value.
I’ve used this guide to create the shortcode https://www.ads-software.com/support/topic/create-shortcode-based-on-multiple-domain-settings/
function my_super_filter_function($query_args){
$query_args['meta_key'] = 'author_email';
$query_args['meta_value'] = <em>[multiple_domain_email]</em>;
return $query_args;
}
add_filter('my_super_filter', 'my_super_filter_function');
Thanks in advance ??
]]>Hi,
I would like to test this plugin, as a simple solution for multi-domain (and multi-language) website.
But I can’t add domains in setting page.
I’m developer, so I found the function storeDomains
should store added domains (and update_option(‘multiple-domain-domains’, …) ) . But I can’t see this function used anywhere. So maybe this is the reason, why it is not saving anything on settings page. Right? ??
Thanks for help.
Pavel
I would like to set multiple directory in one domain.
However, if I update on General settings(wp-admin/options-general.php), the domain disappear on the setting page.
Steps to reproduce:
Original domain:
music-magazine.example.com
Redirect domain and base path:
movie-magazine.example.com/netflix
movie-magazine.example.com/hulu
1. On General settings(wp-admin/options-general.php), fill the Original domain and redirect domain and base path
https://gyazo.com/2399375056211a0e5472cd3b00fd4282
2. Press save and update settings.
Expected Behavior:
All redirect domains and base path was saved and redirects properly.
Actual Behavior:
Original domain and one redirect domain and base path(/hulu) was saved.
Is this plugin meant to do Domain Masking?
(yes I tried and it didnt)
I have a single wordpress site, but two domains, one for each country we do business in. I want my site visitors to always see the Domain they used. I do not require to vary any content depending on domain.
Main site is domain.com.au, but if a visitor uses domain.co.nz, i want .nz to remain in the URL.
I am reading this comment in the plugin description.
When there is more than one domain set in your host, all links and resources will point to the default domain. This is the default WordPress behavior. With Multiple Domain installed and properly configured, it’ll update all link on the
fly. This way, the user navigation will be end-to-end under the same domain.
To me, I interpret that to mean domain masking works, otherwise I dont understand the point of this plugin ? Thanks.
]]>Hey beautiful people on the internet.
Sorry for that long time for responses sometimes. I regularly forget that www.ads-software.com does not send emails when there are new posts in the support forum. So sometimes weeks go by until I remember to look here again.
Greetings,
Javik
Yoast SEO v. 16.7, Multiple Domain v. 1.0.7
After Yoast SEO adding an indexing tool, the domain is displayed incorrectly in breadcrumbs, temporary solution: https://www.ads-software.com/support/topic/after-the-change-of-domain-breadcrumbs-link-partly-still-old-url/#post-14129152
]]>Dear support team,
First of all, thank you for maintaining this great plugin!
I’m trying to create the following domain:
whydonate.nl for Dutch
whydonate.eu for all other languages (French, German, Spanish and English)
Can this be done with the Multiple Domain plugin?
This is how I have tried it now:
https://ibb.co/bKBy6S5
But it doesn’t work properly. In the <head> section I’m still seeying all the whydonate.nl domains: https://ibb.co/Mhr9j4w
Any idea what’s wrong?
Thanks for your help!
Best,
Niels
Hello,
I have my first domain that is working just fine.
And a second domain in which i want to add a landing page.
I created the landing page but if i set the domain /base/path to domain2.com/landing-page all the other pages are redirecting to this one. I can’t have a contact page or anything else.
I just want the homepage to be different for the 2 domains, but all the other pages to be accessible.
Thanks
]]>Hi
I need to add new domain but from some of my users side
So my user add domain from their dashboard and with some “API” update on wordpress dynamically
How can I do that? Do you have api? or something like that?
Thank you
Hello,
Great plugin you made ! I’ve got one question. I selected the option “Add canonical links” on settings and now there is a canonical tag on all my domains, including the original one. So on originaldomain.com there are tags
<link rel="alternate" href="https://originaldomain.com/" hreflang="x-default" /><link rel="canonical" href="https://originaldomain.com/" />
And I would like to not have that on original domain. But the thing I don’t understand is The domain for canonical links will be the original domain where WordPress is installed. How do I set up the original domain for WordPress ?
Hello Guys,
I’m a bit of a noob when i comes to DNS setup.
I have the main site carproducts.be with this plugin installed.
What should I do to have carproducts.be content with the carproducts.nl domain?
]]>Added mulitple domain and the 2nd site css is not loading: https://ozbuzz.ca
original site is https://jurock.com
as per a previous post about the avada theme, I added the following to .htaccess but that did not fix it:
<FilesMatch “\.(ttf|ttc|otf|eot|woff|woff2|font.css|css)$”>
Header set Access-Control-Allow-Origin “*”
</FilesMatch>
</IfModule>
Hoe can I fix css on the 2nd site?
]]>Hi I am new to wordpress and want to use your plugin to run two domains in parallel. By this I mean I want to run https://www.SITE-1.com and https://www.SITE-2.com as the same website. If a user goes to WWW. SITE-1.COM or https://www.SITE-2.com they will see the same thing but the URL will not change.
I predominantly use WordPress through the Graphical User Interface. I have purchased two domains and have them hosted on the same service. I’m using GoDaddy.
I read this thread (https://www.ads-software.com/support/topic/help-needed-with-multiple-domain/) in the Support topics and turned off forwarding SITE-2.com to SITE-1.com in my GoDaddy hosting service.
Under the General Setting on the Word Press GUI this is what I see:
General Settings
———————————————————————————-
WordPress Address (URL) https://site-1.com
Site Address (URL) https://site-1.com
Enter the address here if you want your site home page to be different from your WordPress installation directory.
Multiple Domain
You can use multiple domains in your WordPress defining them below. It’s possible to limit the access for each domain to a base URL.
Domains
———————————————————————————-
Auto site-1.com/base/path None Remove
Auto site-2.com/base/path None Remove
[CHECKED] Ignore default ports
[NOT CHECKED] Add canonical links
Currently when I go to https://site-2.com it shows the URL as available for purchase with no website currently at this location. I am running WordPress 5.6.2 and I have the latest version of the Multiple Domain plugin.
Any ideas what to try next. Is there some other setting I have missed.
Thanks,
–Dean
]]>Hello!
This is Gustavo, I’m the developer behind Multiple Domain plugin. I made the first release of this plugin public available about 5 years ago, in 2016. Since then, I tried my best to provide support and launch new features, all in my free time. Most of the time, users were really nice, and sometimes even kindly made donations to support the development — thank you all you that did that! In the past, I had code contributors, too.
However, lately, I’m basically the only one writing code and answering support questions. And it comes to a point where I don’t have free time nor motivation to keep up with this work. I could blame the pandemic, but honestly, that’s not the cause. It’s been a while I professionally stopped working with WordPress. So, every time I have to fix a bug, test something, or build a new feature, it’s not easy or simple.
All this “sad” speech is here to say: I won’t answer support questions anymore. I hope the community of users can help each other. Most of the issues now are recurrent and/or related to DNS/server setup — which I always tried to help, but it depends a lot on the hosting, etc. Also, I won’t be adding new features or fixing bugs. There were a couple of things I wanted to add/fix (one can check the list here: https://github.com/straube/multiple-domain/issues).
If you, reading this, are a developer experienced in WordPress plugins and wanted to take over it, please reach me out at gustavo [at] straube [dot] co. I’m happy to chat about it.
Again, thanks to all the people who used and helped this plugin to become what it is today.
]]>I am using Multiple Domains successfully on my site (the original base domain and one additional new domain) but the only part I cannot seem to get working are any links for translating the pages.
The language switcher appears in the navigation of my website, but clicking on any of the languages (English, French, or Spanish) only ever redirect it back to the base domain – never the second new domain if the user is browsing the site using that. Most worryingly if the user tries to access the translated site directly (by adding /fr/ or /es/ to the homepage url) then it automatically redirects to the WordPress login page (this only occurs on the new domain added with Multiple Domain)
Polylang support has asked to confirm if this plugin is compatible with such other translations in order to help narrow down the cause.
]]>Hi Gustavo,
many thanks for this great plugin, it works much better than similar plugins i′ve used before.
i am just missing one or two features you may consider for a future update: to be able to set a separate “Site Title” and “Tagline” for each domain and be able to set the hreflang=”x-default” manually (there may be site where it is not the main domain)
if someone has an idea for a workaround or could help, please let me know, i am not able to create filters and rewrites ??
br, Eric
]]>Hi,
I’m not sure why, but the mapped base path is hitting 404. The page exists – so it should open the page normally.
What could be the issue?
Thanks
]]>Hi
I get a redirect loop on the second domain, but only when accessing the base URL. The rest of the site seems to work ok.
I just set up auto domains for the primary and secondary.
The DNS is configured for both domains as A records to the host. The WP-config setup only knows about the primary domain, obviously.
Cloudflare is set to flexible, since no option to add a SSL cert for the second domain.
Any ideas how to solve this? As mentioned, everything works (like https://secondarydomain.com/ABC/) apart from https://secondarydomain.com/
Thanks,
Rib
Hi,
I just stumbled across this plug in and I am not sure if this could solve a problem I have for a long time. I have an extreme long TLD with my blog, which is fine, because it is good to read for the users. but when someone shares a post on twitter, it is annoying, because I also love to use a long path like
www . my-really-extreme-long-domain-name.com / /%category%/%postname%/
and with this the twitter post is almost out of characters.
I now of course use stuff like bit.ly to shorten my urls.
But finding this plug in I think about a possibility to shorten the url myself. There is in fact a very short form of my long TLD free, I could buy it. lets say it is “mreldn.co” for my-really-extreme-long-domain-name.com.
Would it be possible to configure all this stuff in the way, that everything works like it does now, every menu, every plug in, every theme still user the long format, but the share-plug in for all the social stuff just posts the short url mreldn.co / ?p=123 and everything like twitter cards and stuff still works? This would be a great solution.
If so, how to set up this kind of configuration? Do I simply buy the short TLD and point it to the webspace – directiory of the existing wordpress installation? How to tell the sharing plug in that it should use the short form of the link?
It seems to be a really great plug in. But it seems to be free, and if I like something much, I like to pay for the stuff I use. So, is there any donation-button or something to give five bucks to?
]]>I was about to post a support ticket because the form kept failing on the alternate domain, but remembered I had reCaptcha turned on. Remember to log in to your Google account to also add the additional domain to My reCaptcha or it won’t work.
To the devs, if it’s not already listed, it would be helpful to add it to the support docs. If it is already there, my apologies, it’s late.
Excellent plug-in. Flawless!
]]>I have three subdomains. For example
one.domain.tld
two.domain.tld
three.domain.tld
one.domain.tld is my main wordpress site. All three subdomains have the same documentroot and have been added as multiple domains in general settings.
I want to be able to go the main site (one.domain.tld) and have links to the other two subdomains from that site. However the links get rewritten to one.domain.tld. Is there a way to avoid this?
Thanks
]]>do you mean i can have
nicewebsite.com
nicewebsite.org
nicewebsite.net
netwebiste.online
etc and it use the same wordpress install ? but stay on the same domain ?
]]>