A short guide for you if you have a site which is administered with a Plesk control panel, and you are using the Mobile Smart Pro plugin to perform a domain switch when a mobile device hits your main site, e.g.:

http://www.test.com

would be redirected to:

http://m.test.com

1. Set this information in the Domain Switching tab in Mobile Smart Pro

Domain Switching in Mobile Smart Pro

2. Configure your DNS add an A record for m.test.com to point to your site’s IP address

3. Set up the domain alias for m.test.com in Plesk. See the ‘Domain Alias’ section in this handy guide from Media Temple https://kb.mediatemple.net/questions/710/Add+or+Delete+Domains+and+Domain+Aliases+in+Plesk#dv_managed

Add Domain Alias in Plesk for Mobile Smart Pro

 

The Domain Alias will tell your website to serve up the WordPress site when m.test.com is visited. The Mobile Smart Pro plugin will then display the mobile theme based on the URL.

Any problems, please leave a comment below.

Tagged with:
 

2 Responses to Setting up domain switching with Plesk and Mobile Smart Pro

  1. Larry Doyle says:

    I have mobile smart pro installed at level 1.0. I would like to upgrade to 1.1. Do I have to purchase a new licence to pro to be able to download and install from codecanyon? Thanks, Larry

    • dansmart says:

      Hi Larry,

      Unfortunately to be able to get the continual updates from CodeCanyon, you’ll need to be a customer on CodeCanyon – the plugin was moved across there a couple of years ago, so if you bought your plugin via the wp-plugins marketplace, you are won’t receive the updates. However, if you drop me a line on http://www.mobile-smart.co.uk/support, then you can forward me any proof of purchase email, I can get you a complementary copy of the latest version (currently 1.2.13). The plugin is now retailing for $15 on CodeCanyon and as the terms and conditions are slightly different on there, you would receive all future updates.

Leave a Reply

Your email address will not be published. Required fields are marked *

Mobile Smart Pro

So much more:
  • Domain switching: redirect users to m.yoursite.com or switch theme when user arrives at m.yoursite.com (requires you to change some DNS settings)
  • Mobile Pages: mobile-specific content on the same edit screen as your main content
  • Mobile Menus: set up mobile-specific menus for simpler navigation
  • Mobile Plugins: disable selected plugins on a mobile site for speed and reduced functionality
  • Mobile Widgets: control which widgets are shown on your mobile site
  • Mobile Shortcodes: display content selectively for mobile, tablet, and desktop
Find out more »

Developer tools

Making life easier for mobile site developers:
  • Template functions: to help determine which tier of mobile device (touch/smartphone/other) is viewing your site, to allow conditional content inclusion.
  • CSS Selection: Adds device and tier specific CSS selectors to the body_class, to allow conditional CSS (e.g. so in the same way you have “.single” that you can target “.iphone” or “.mobile-tier-touch”.)
  • Boilerplate mobile theme: barebones theme to enable developers to create their own theme.

Features

  • Switch themes: Switch your theme to a mobile-ready theme if a mobile device is detected (all major devices supported)
  • Tablet or not: Choose whether to switch theme when viewing site with an iPad, Nexus 7 and other tablets.
  • "View full version of this site": allow your user to manually switch between desktop and mobile versions. Available in 3 versions: widget, option to automatically insert into footer, or template tag.
  • Simple image transcoding
Set your Twitter account name in your settings to use the TwitterBar Section.