I’m testing the Mobile Domain plugin, and I’m having a problem using a “Child” theme. It looks like the select box for picking the theme is using the parent theme name instead of the child theme.
Would that be an easy fix?
]]>Hi,
I really like your plugin, I used most of the time for mobile devices.
But I found something weird:
get_nav_menu_locations and other core functions return empty values ??
Do you have any idea for this?
Thank you!
]]>How can I add Chrome for iOS to the list of redirected browsers?
]]>I would like to present different information on my mobile front page than is on my main website. Is there a way to change it with this plugin?
]]>I have tested this plugin on the last few versions of WordPress. While the redirect works every time for me, the plugin does appear to prevent admin users from logging into the admin using the WordPress App. I personally use iPhone so I am not sure if the same issue happens with the Android app.
]]>for some reason the redirect work some time and other time it just get the normal non mobile website. sometime it will redirect on mobile main domain only and not on blog page. my subdomain work.
If ime trying to redirect to mobile theme with htaccess, i get all king of redirection error.
my main site is https://www.tvqc.com/ my mobile is https://m.tvqc.com/
]]>Hello, I have installed mobile domain, established a subdomain at https://www.m.warponysmokeshop.com, set up a child theme for mobile, and entered all the settings. When I navigate to the domain on my mobile device (or go to the subdomain on my desktop) I get the index screen and that is all.
What did I do wrong?
]]>sometime, the redirection just doesnt work and going to my desktop site.
im using iphone and android and see only my desktop site.
https://www.tvqc.com/
Hi There,
Great plugin, with theme management availability for mobile.
Just wanted to ask if there is a way to add “switch to desktop version button”.
Please help !!!!!
Thanks,
Milap Gajjar
I uninstalled Mobile Domain but the mobile version still shows on desktop as well as mobile. I CANT VIEW THE DESKTOP VERSION OF MY SITE AT ALL!
]]>Everything is installed, configured and working well.
One question, however, is how you configure theme options for the selected mobile theme. Since the theme is not being marked as active in WordPress the theme options are not presented.
]]>I just want to use for the main site in MU but got this error “The site you were looking for, https://m.kockyn.com/ does not exist, but you can create it now!”
Any help?
]]>Don’t know what am I doing wrong, but I’m almost sure it’s not a plugin issue. Still, maybe you could give me a hint of what’s going on.
I get this error on my m.mysite.com :
<< You don’t have permission to access / on this server.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.>>
Many thanks!
]]>For those who wanted to auto generate the mobile xml sitemap. Add the following codes into your themes functions.php:
/*----------------------------------------------------------*/
/* Auto Update Google xml sitemap for mobile domain plugin
/*----------------------------------------------------------*/
if ( function_exists('mobiledomain_sitemap') ){
//Auto update sitemap after posts publish, edit and delete
add_action('publish_post', 'mobiledomain_sitemap');
add_action('edit_post', 'mobiledomain_sitemap');
add_action('deleted_post', 'mobiledomain_sitemap');
//Auto ping google after xml sitemap update
add_action('publish_post', 'ping_google');
add_action('edit_post', 'ping_google');
add_action('deleted_post', 'ping_google');
function ping_google(){
wp_remote_request('https://www.google.com/webmasters/tools/ping?sitemap=https://m.domain.com/mobiledomain.xml');
}
}
]]>
Hello, when I go to my site home (www.leanoticias.com) using a mobile device the redirection works perfect, but if I click on a link to a post (i.e https://www.leanoticias.com/2012/02/06/el-teclado-fantasma-del-ipad-fotos/?fuente=noticiasdverdad ) it remains in desktop site.
Most of my visitors come from twitter, using a link to the post. What I need to do in order to make the switch works all the times?
]]>Seems like the ywpmd_request_siteurl() function is returning an extra slash for the mobile domain.
I had to change line 312 from this:
$go = str_replace(WPMD_DESKTOP, $get['domain'], WPMD_SITEURL);
to this:
$go = str_replace(WPMD_DESKTOP, $get['domain'], $my_domain);
in order to get it to work with jQuery Mobile. The extra slash was messing up the links and ajax wasn’t working.
Also, your plugin doesn’t properly handle when the wordpress directory is not in the same directory as the site URL, but I don’t have time to figure out what’s wrong there.
]]>Hello;
Installed Mobile Domain, set up my domain (m.nodeju.com) which was created as /public_html/nodeju/m in Cpanel.
I click on the mobile link option under Mobile Domain settings in Word Press and m.nodeju.com works fine.
I try accessing my site from HTC Mytouch 4g phone with Android and my site loads, no redirection taking place to m.nodeju.com at all.
What did I do wrong?
Thanks
Lode
]]>Hello
I want to use this plugin but I think there is a bug in it.
After installing and setting up the m.domain.com address the plugin loops mobile devices from https://www.domain.com to domain.com to m.domain.com and does this almost 4 times.
After finishing this loop it sends a mobile device to m.domain.com but the mobile browser states that the website doesn’t exist.
This is in the latest stable dolphin browser on android.
I am using a directadmin interface and I can’t change the m.domain.com subdomain to use the root directory of the website. Is there any alternative to solve this problem? For instance with a .htaccess file?
Thanks in advance for the help.
]]>Hey I have a problem, the redirection function in the plugin stopped working when I switched my site to SSL only. The plugin was working excellent. Now the mobile domain (m.mydomain.com) works and shows me the mobile theme but mobile browsers aren’t redirected automatically.
This is the relevant information in my virtual host file from Apache (on pastebin sorry for breaking the Forum rules): https://pastebin.com/UyuWarzh
]]>Looking to allow the user to go to a couple pages on the main domain (not the mobile domain – using subdomain m.). Is there a way to allow someone to go to those without redirecting them?
Thanks!
]]>I am using this plugin, but the mobile theme does not seem to be able to detect if a user is logged in or not using the is_user_logged_in() function – is there any other way to determine if a user is logged into the main site?
Thanks!
]]>I’ve been testing your plugin and so far it works flawlessly at redirecting to the mobile subdomain. I would like to use Mobile Domain going foward on other sites, but first there are two issues standing in the way. Please let me know if you can provide a solution…
1) I would like to customize my mobile theme with a “Visit the Desktop Version” link in the header. I’ve tried using Click for Desktop Version for the link, but it keeps redirecting to the subdomain site when clicked on a mobile device. Is there a way bypass redirection from a mobile site to go to the primary domain?
2) Also, I’ve noticed that clicking on any page link other than the home page from Google on my iPhone results in a redirect to a 404 Page Not Found. Is it possible to direct all links from the primary domain to direct to the mobile subdomain’s home page?
Just FYI, my subdomain is located in the domain root, but runs on a separate WP installation with only the mobile theme (Mobius) activated. The subdomain is only for displaying unique content, meaning it does not mirror the primary domain’s content, page names, and permalinks.
I appreciate any help you can offer!
]]>Please add this patch. It checks for is_admin()
33 foreach($browsers as $browser) {
34 if (preg_match("/".$browser."/i", $_SERVER['HTTP_USER_AGENT'])) {
35 if (!isset($_COOKIE['wordpress_mobile_domain_plugin'])) {
36 if ($_SERVER['SERVER_NAME'] == WPMD_DESKTOP) {
37 $get = get_option('wpmd_db_options');
38 if (!empty($get['domain'])) {
39 if( ! is_admin() ) {
40 header ('location:https://'.$get['domain'].''.$_SERVER['REQUEST_URI']);
41 die();
42 }
43 }
44 }
45 }
46 }
47 }
]]>