A. Using the brick&mobile Wordpress plugin:
Did you know that brick&mobile has a custom WordPress plugin that you can install on any WordPress site to make redirecting to your mobile site a breeze.
Follow these steps 7 steps to set up mobile redirection on your WordPress site.
- Download plugin from WordPress Plugin site here: http://wordpress.org/extend/plugins/brickandmobilecom-mobile-redirect-installer/
- Log into your WordPress admin interface
- Click Plugins > Add New - Find zip download file
- Activate plugin
- Click brick&mobile Redirect tab in Wordpress
- Copy PHP script from Integration section of mobile site.
- Test by typing in mobile site URL into a browser on a smartphone
B. Integrating mobile redirect codes without the Wordpress plugin
- Login into the mobile CMS and proceed to the mobile website where you want to integrate the mobile redirect codes onto a Wordpress desktop website.
- Go to Integrate settings on the left side menu.
- Scroll down to the PHP section of the Integrate settings.
- Select and copy all of PHP mobile redirect codes.
- Proceed to the Wordpress Dashboard of the desktop website.
- Go to Appearance > Editor. Once on that page, click on the header.php of the current Wordpress theme being used by the desktop website.
- On the header.php file, paste the mobile redirect codes that you copied from step 4. Paste it at the absolute beginning, before any coding begins.
- Click the Update File button.
Comments
6 comments
Does this mean you do not need to create a c-name if you have a wordpress website and use this plugin?
not clear about what to do with the copied PHP script..
John,
You can check out this article: http://support.brickandmobile.com/entries/20236267-Add-device-detection-and-redirection-script-to-your-current-website
Can someone answer the question above -- do you need to create a c-name if you have a wordpress website and use this plugin?
Can someone answer the question please -- do you need to create a c-name if you have a wordpress website and use this plugin?
We recommend creating CNAME records so that the mobile website and your desktop website will share the same domain name. Otherwise, your mobile website will use our domain m.brickandmobile.com.
The plugin will work even without the custom domain name of your mobile website.
Please sign in to leave a comment.