Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Is it possible with different domain names?

Status Resolved
Add-on / Version Publisher Domain Control 1.0.0
Severity
EE Version 2.10.1

Verve -Webdesign und Grafik

Jan 12, 2016

Hi Brian

I am using publisher for a website with 3 languages (DE, FR, IT). DE ist the main language.

Now I have 3 different domain names, one for each language (basiskurs-betreuung.ch/cours-acompagnement.ch/corso-assiszenza.ch).

Is it possible with Publisher Domain Control to ‘connect’ each domain name with the matching language version?
If possible - how can I do this?

Thanks for your support
Greets
Res

 

 

 

 

#1

BoldMinded (Brian)

Yes, you can do this. Publisher Domain Control would be the best option. https://boldminded.com/add-ons/publisher-language-control

This of course means the server needs to be configured so all 3 domains are pointing to the same EE installation.

#2

BoldMinded (Brian)

Oops, this one https://boldminded.com/add-ons/publisher-domain-control

#3

Verve -Webdesign und Grafik

Thanks Brian - sounds good, but …

This means to add some code to the config file of EE? I am new to this. Do you have a sample code this could look like? Res

#4

BoldMinded (Brian)

PDC makes it so you don’t have to add anything to your config file.

#5

BoldMinded (Brian)

Look at the screenshot on the product page, there is 1 field for each language, just put the domain name in each field. As long as your server is configured so all domains are pointed to the same EE folder on the server then everything should work. I can’t provide help with the server configuration though.

#6

Verve -Webdesign und Grafik

Hi Brian

I see. So I configured the server and ‘Publisher Domain Control’ (see screenshots in the Edit Ticket section) but on the website in the 2 other languages (FR and IT) the url stays in DE.

Any idea?

Thx Res

#7

BoldMinded (Brian)

The language switcher will not work when using this method. You’ll need to make your own language switcher to switch between URLs. If this isn’t what you mean by “the url stays DE”, then you’ll need to be much more descriptive.

#8

BoldMinded (Brian)

It appears to be working for me going to all the URLs. I see translated navigations in each.

#9

Verve -Webdesign und Grafik

Did you see the screenshots? When I am in the german version on the the german url, (beispiel.ch/kurs) and the call the french url (a different url name) the website switches to beispiel.ch/cours and not to the french url (example.ch/cours) More clear?

#10

BoldMinded (Brian)

Comment has been marked private.

#11

BoldMinded (Brian)

The URL beispiel.ch/kurs is not in the screenshot.

#12

BoldMinded (Brian)

Please provide detailed step by step instructions to replicate the issue.

#13

BoldMinded (Brian)

What are you using to generate your navigation? On this URL http://www.cours-accompagnement.ch/ The Cours navigation link points to http://www.basiskurs-betreuung.ch/cours, a totally different URL. This seems more like an issue with the template logic or whatever you’re using to generate the navigation.

#14

Verve -Webdesign und Grafik

Comment has been marked private.

#15

BoldMinded (Brian)

Somewhere in the header of your template put {site_url} so I can see what the value is for each site.

#16

BoldMinded (Brian)

Thank you for providing FTP and CP info. Something maybe overriding the site_url variable, which is what is causing the links to not render correctly.

#17

BoldMinded (Brian)

Looks like you have Deeploy Helper and Reelocate installed, both of which are setting the site_url to http://www.basiskurs-betreuung.ch/, which I’m betting is the issue. Try removing all site_url values from those 2 module’s settings and see what happens.

#18

Verve -Webdesign und Grafik

I removed now both of them. Seems not changing the problem.

#19

BoldMinded (Brian)

Ok, I think its fixed now. There was a bug in PDC and it wasn’t setting the site_url correctly.

#20

Verve -Webdesign und Grafik

Looks good now! Thanks a lot Res

#21

BoldMinded (Brian)

I updated ext.publisher_domain_control.php, so you may need to commit it to any version control you’re using, or back it up to your dev environment.

Login to reply