Gustavo Straube
Forum Replies Created
-
Forum: Plugins
In reply to: [Multiple Domain] WP v5.3.2Hello,
The plugin is supposed to work with 5.3.2. Could you give me specifics on the issue you’re facing, please?
Regards
Forum: Plugins
In reply to: [Multiple Domain] how to respect permalinks in the hreflang tagHello,
Multiple Domain is currently not compatible with WPML. Some users have been able to hook snippets to their own codebase (a.k.a. theme’s functions.php file) in order to make them two play together. This is not an official solution but you might take a look at it here: https://github.com/straube/multiple-domain/issues/73.
Also, there are cases where with a little customization WPML alone can fulfill your use case, check out this other topic: https://github.com/straube/multiple-domain/issues/74. Mainly, the last paragraph, which I quote here:
If you want more than one domain per language, this is an old tutorial from WPML that might work for you.
Forum: Plugins
In reply to: [Multiple Domain] Multiple Domain plugin: Gustavo StraubeHello,
The language setting for each domain in the plugin options is only for SEO purposes. It’ll simply add a hreflang link tag to the page. You can read more about telling search engines (Google) about other languages through hreflang tags in here: https://support.google.com/webmasters/answer/189077.
If you want to have completely different content, in different languages, for each domain, you should WPML plugin instead. It allows you to translate the content of your WordPress site and set a domain for each language.
Forum: Plugins
In reply to: [Multiple Domain] Language constant has no effect of the languageHello,
This is an old tutorial from WPML but perhaps you can give it a try: https://wpml.org/tutorials/2016/04/use-wpml-different-domains-per-language/. It’s supposed to help you enabling multiple domains per language.
Forum: Plugins
In reply to: [Multiple Domain] Language constant has no effect of the languageHello,
For your use case, I’d recommend setting WPML to use language in domains, instead of in directories. Then, you don’t even need Multiple Domain plugin, since WPML will handle the multiple domains.
The language option in Multiple Domain settings is only used to render hreflang links, for SEO purposes. It has no relation with WPML.
Regards.
Forum: Plugins
In reply to: [Multiple Domain] Can’t activate pluginFabio,
You’re running a really old PHP version (5+ years old — https://www.php.net/eol.php), which is not supported by Multiple Domain plugin. You should upgrade to a newer PHP version, preferably a still active one: https://www.php.net/supported-versions.php.
Regards
Forum: Plugins
In reply to: [Multiple Domain] SubdomainHello Istvan,
I got busy for the last few weeks. Have you managed to make the plugin work? What did your hosting provider say about the redirects?
Forum: Plugins
In reply to: [Multiple Domain] Help needed with multiple domainSince no extra info was provided in the past month, I’m marking this topic as Resolved.
Forum: Plugins
In reply to: [Multiple Domain] New Domain isnt workingSince I got no updates in the past 2 weeks, I’m marking this topic as Resolved.
Forum: Plugins
In reply to: [Multiple Domain] 302 RedirectI’m wondering if you have some cache plugin in place. That could be messing with URL rewriting.
Forum: Plugins
In reply to: [Multiple Domain] 302 Redirecthave you changed something? It worked over here. I’m able to access articles from https://dailymaverick.co.uk/section/declassified-uk/. This loaded as expected: https://dailymaverick.co.uk/article/2020-02-07-explainer-is-the-uk-a-rogue-state-17-british-policies-violating-domestic-or-international-law/
Forum: Plugins
In reply to: [Multiple Domain] 302 Redirect@jdembowski Sure, no problem.
So, @skinnyninjah, as I said in my last reply, could you send me your current settings? It seems link rewriting is not working on dailymaverick.co.uk.
Also,
ping
expects a hostname (such asdailymaverick.co.uk
) not a full URL. That’s why it didn’t work.Forum: Plugins
In reply to: [Multiple Domain] 302 RedirectYes, please.
Forum: Plugins
In reply to: [Multiple Domain] 302 RedirectHave you removed the base path from the plugin settings? I mean, set the field blank and save.
- This reply was modified 4 years, 9 months ago by Gustavo Straube.
Forum: Plugins
In reply to: [Multiple Domain] 302 RedirectI’ve just checked the order WordPress fires the hooks (actions and filters) and it seems the action I suggested (
template_redirect
) fires afterinit
, which is used by the plugin. I hope the following will finally work as a replacement for theadd_action
call in the previous snippet.add_action('init', 'force_section_redirect', 1);
I’m sorry for this game of trial and error.