WordPress Plugin Mobile Domain. WordPress plugin with subdomain m (redirect from www.domain.com to m.domain.com) The main purpose of this plugin is to mobilize your domain, if you run a blog and there’s an access from a mobile phone to a desktop-domain, “Mobile Domain” will redirect it to the mobile-domain based on User-agent.
This plugin will help to index your mobile-version, what you need is a mobile themes that friendly with search engine, because Google uses “Googlebot” for web search and “Googlebot-Mobile” for mobile search.
Download Plugin : http://wordpress.org/extend/plugins/mobile-domain/

Hi Yusuf.
Almost of the plugins that Ive used on WP are yours
)
I wold like to ask something. I have tried this Mobile Domain plugin.
I have another site for my mobile site and its not like m. or .com/mobile but its like http://www.mysite.com and the mobile one is http://www.mysite.mobi and I am using a mobile theme for it. The problem that I got now is, when Im trying open my site on my Mobile, it will successfully redirected BUT, on my mobile site, I put there a link where people can VIEW MY FULL SITE w/c is the DESKTOP but when Im clicking it, It keeps me redirected and I cant view my FULL SITE on my mobile. Anything you say about this?
Thanks
Kin
yous should add this function in the footer.php to your mobile theme, “wp_footer()”
Thanks for the great plugin. I ave received mails from my users thanking me for making a dedicated mobile site. All credit to you.
Hi, I am having trouble viewing my site using the mobile subdomain. Not sure if I am supposed to redirect somewhere or do something different. HELP!
may be you forgot to change the document root while creating subdomain
Hi Yusuf,
Your plugin is working great, but I seem to have this error come up? Everything still works in my mobile domain, these just flash up when i reload the page. Are you able to help?
Warning: Invalid argument supplied for foreach() in /home/mytropic/public_html/papercutme/wp-content/plugins/mobile-domain/mobile-domain.php on line 49
Warning: Cannot modify header information – headers already sent by (output started at /home/mytropic/public_html/papercutme/wp-content/plugins/mobile-domain/mobile-domain.php:49) in /home/mytropic/public_html/papercutme/wp-includes/pluggable.php on line 866
Thanks
Kristin
Kristin.
check your mobile browser dababases, is it empty?
or reset it to default.
Hi,
I am having a similar problem, but not on every phone. On one Android phone is is giving an error and on another it is not.
Warning: Cannot modify header information – headers already sent by (output started at /home/content/04/6632404/html/512LOCKSMITH/pwdinfo.php:22) in /home/content/04/6632404/html/512LOCKSMITH/wp-content/plugins/mobile-domain/mobile-domain.php on line 56
I have it redirecting to m.512locksmith.com. Can you help me?
-Sarah
Hi,
Great plugin you have here! It works great but once a mobile user clicks desktop version are they stuck there until they clear their cookies? Is there a way to add a link for mobile users who are on the desktop version to go back to the mobile version? Thanks for your help!
no it’s not, but in the next version I’ll add this feature.
@Yusuf,
I have been looking for this plugin, great work though I have not tried.
Does it work in MU & BP? I am not sure is there any suitable mobile theme which support buddypress. It will great if you can throw some light.
Thanks
@Yusuf,
Does this plugin works on network sites? I have tried to set it up but I have a problem. Please answer
I followed the instructions, including changing the document root, but I get a page saying “site not found” from a company called “MoFuse”.
Hi Yusuf,
Thank you for the great plugin. I tried couple of others and didn’t work until yours.
But I still have a problem. It is the same as Kinvhee’s.:
I used a mobile theme to build my mobile website. To bypass the plugin functionality in the footer in order to go back to full site, I put in the footer
Full Page and it did not work.
Then I saw your response to Kinvhee. I looked at the footer.php file and saw .
I hope I am clear – I am new bee. Please, what can I do so that one can go to the full site from the footer link?
Thank you very much.
Alena
I am sorry, again me. Now I am checking my posting and see that what was in the footer.php file disappeared. It was
?php wp_footer(); ?
Thank you.
installed this and now i cannot log into my wordpress….says its too many redirects…now i cannot access my website….
please update to a new version.
Hi,
URL are broken when this plugin is used having HTTPS on.
Have you found any patch or solution to it?
Thanks,
Arvind.
replace “http” on line 30,32 with “https” and replace “7″ and “11″ with “8″ and “12″ on line 36, 37.
I haven’t tried it but maybe it works.
For some reason, he redirection doesnt work and going to my desktop site.
im using iphone and android and see only my desktop site and is not redirected (im using firefox agent switcher to do the test and my htc android.
my destop site
http://www.tvqc.com/
mobile
http://m.tvqc.com/
agent switcher
http://chrispederick.com/work/user-agent-switcher/
Try to clear your browser’s cookies first.
Thank you fixed.
Is there a way to autoupdate the sitemap? i always have to click update mobile sitemap each time im doing a new post.
Also, is there a way to work on the mobile theme without changing the desktop theme?
select mobile theme with desktop theme.
Is there a way to use the plugin twice? I want tablets to get redirected to a different theme than the mobile theme. So mobile devices would go to m.website.com and tablets would go to something like touch.website.com. Is there a way I could upload the plugin twice?