giln343
Forum Replies Created
-
Forum: Plugins
In reply to: [MultilingualPress] language selector in main menuI guess it’s this :
http://make.marketpress.com/multilingualpress/2014/10/how-to-add-icons-to-the-language-nav-menu-items/I let you know
Forum: Plugins
In reply to: [MultilingualPress] language selector in main menu@dperinha yeah but i did want it like as it s displayed with widget. with flag…
Forum: Plugins
In reply to: [MultilingualPress] language selector in main menuI nearly managed with a plugin which adds widget to MenuBar.
I’m trying to change the html code of the widget, without breaking the next upgrade of the plugin. I guess I can do it with MU-plugins ?
regards,
Forum: Plugins
In reply to: [MultilingualPress] language selector in main menuI want to display the language switcher in the WP Menu
Forum: Plugins
In reply to: [MultilingualPress] Default language websiteThe correct code after debugging:
<?php add_filter( 'mlp_redirect_url', function ( $url, $redirect_match, $current_site_id ) { if ( 'fr-FR' === $redirect_match['language'] ) { return $url; } if ( 1 === $current_site_id ) { return ''; } $urls = mlp_get_interlinked_permalinks( get_queried_object_id() ); $url = ! empty( $urls[1] ) ? $urls[1] : get_site_url( 1 ); return $url['permalink']; }, 10, 3 );Thanks
Forum: Plugins
In reply to: [MultilingualPress] Default language websiteHi,
I do have this error:
Fatal error: Call to undefined function get_interlinked_permalinks() in /home/website/www/wp-content/mu-plugins/mlp-redirect.php on line 15So I’ve edited to
mlp_get_interlinked_permalinksBut then I had
Call to undefined function get_site_link()so i putget_site_urlinstead.Is that ok ? it seems weird as result
$ curl -I -H “Accept-Language: en” “http://fr.domain.com/” 2>/dev/null
HTTP/1.1 302 Found
Location: Array$ curl -I -H “Accept-Language: fr” “http://domain.com/” 2>/dev/null
HTTP/1.1 302 Found
Location: http://fr.donkeez.com/?noredirect=fr_FR$ curl -I -H “Accept-Language: ru” “http://fr.domain.com/” 2>/dev/null
HTTP/1.1 302 Found
Location: ArrayForum: Plugins
In reply to: [MultilingualPress] Default language websiteI’m struggling in which file I have to put that ?
multilingual-press/inc/functions.php ?
Forum: Plugins
In reply to: [MultilingualPress] Default language websiteThks for your link.
Why I would do this ? for me everyone understand english. so if a non french and no english browser user see a link of my website fr.donkeez.com, he have to be redirected to my english version of website. It’s about usability.
The Russian user who click on fr.mywebsite.com should be redirected to my English version of website if I don’t have the russian version. no?
Forum: Plugins
In reply to: [MultilingualPress] Default languageI have 2 websites:
fr.mysite.com
mysite.comI’ m using https://ww.wp.xz.cn/plugins/multilingual-press/ for multilingual.
How can i specify mysite.com as being the default website? I mean if any user go on fr.mysite.com and is anything except fr, redirect to mysite.com.
Regards
Forum: Plugins
In reply to: [Language Redirect] Redirect MappingDo you know a plugin that could handle my needs?
Up.
Hello, i’m having the same issue here.I have a 503 – Service unavailable
Error message
Unknown Error – See Log File.The log file is similar to yours, it ‘s ending with:
********************************************************************************
INTEGRITY CHECKS:
********************************************************************************
SQL File: 3.65MB
Installer File: 318.88KB
Archive File: 148.18MB********************************************************************************
RECORD ID:[7]
TOTAL PROCESS RUNTIME: 57 sec.
PEAK PHP MEMORY USED: 40MB
DONE PROCESSING => 20160119_************* 2016-01-19 19:57:01What was the issue?
Forum: Plugins
In reply to: [Language Redirect] Redirect MappingHi,
I wasn’t precise enough.
What i meant is to redirection to all equivalent page.each page have the équivalent translated.
I want domain.com/ redirected to fr.domain.com/
domain.com/myenpage redirected to fr.domain.com/myfrpage
And so…Now, When i access to domain.com/myenpage i m redirected to fr.domain. com…