DudaMobile & DudaOne | Support Troubleshoot How to and Tutorials > DudaMobile > Redirect & Custom Domain > Redirect a WordPress site without the plugin

Redirect a WordPress site without the plugin

Table of Contents

Overview

There are two ways you can redirect your Wordpress site. The first, and easiest, is to use our plugin. To get started with that follow the instructions found here: http://www.dudamobile.com/redirect/wordpress

When you first open the WordPress plugin, it may ask you to create a a new site. If it does, you'll want to set up the redirect manually instead. For most WordPress installations, this can be done in a few easy steps:

Video

Get Adobe Flash player

Steps

1. Login to your WordPress dashboard, this is usually http://www.yoursite.com/wp-admin

2. On the left side, click Appearance

3. Then click Editorwordpress_redirect.jpg

Once this is done, 

1. On the right side, find the HEADER.PHP FILE.wordpress_redirect_header.jpg

2. In the header.php file, find the <head> tag. This is usually a few lines from the top.wordpress_redirect_header2.jpg

3. Paste the following redirect code immediately after the <head> tag:

<script src="http://static.dudamobile.com/DM_redirect.js" type="text/javascript"></script>
<script type="text/javascript">
DM_redirect("http://mobile.dudamobile.com/site/yoursitename");
</script>

4. Be sure to replace mobile.dudamobile.com/site/yoursitename with your mobile URL

5. Click update file at the bottom.

Once this file updates, your wordpress installation should redirect visitors to your mobile site!

 

Note: This tutorial is designed for WordPress.org sites. If you have a WordPress.com site, please click here.

You must to post a comment.
Last Modified
14:51, 20 Mar 2014

Page Rating

Was this article helpful?

Tags

Need more help?

Our support team is here to help.

Email Us