How Do I Install My Mobile Redirect on My WordPress Site?

Published on
April 3, 2015
Contributors
Megan Malone
megan@vicimediainc.com

Megan Malone is a Founding Partner with Vici, and leads our Operations division.  Megan has both a radio and digital marketing background working for the Philadelphia Eagles, Beasley Broadcast Group, and Cox Media Group. In her career she has helped plan and implement thousands of digital media campaigns.   She holds a certification from Disney Institute’s People Management, Google Analytics, and was awarded the top 10 advertisers in Louisville from the American Advertisers Federation.  In her free time Megan is relaxing in Phoenix, Arizona with her husband Dave and toddler Zoey.

Subscribe to our newsletter
Read about our privacy policy.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Your mobile optimized site is complete! You’ve beat the April 21 Google deadline and your mobile site is ready to ensure your customers the most user-friendly website experience of their lives, right? Not so fast. Now it is time to make sure your site visitors are properly redirected from your desktop site to the mobile optimized site

Redirect scripts are installed in a desktop site and tells the site to automatically send customers visiting your site from a mobile phone to the mobile website instead of the desktop site. Mobile redirects are installed on your homepage, and every other page that you would like to redirect to the mobile version

The scripts are about 2 lines long and will typically resemble this, note that this is Vici’s specific redirect script and cannot be used for any site

<script src="http://static.mobilewebsiteserver.com/redirect.js" type="text/javascript"></script><script type="text/javascript">Mobile_redirect("http://mobile.vicimediainc.com");</script>

Depending on where your desktop site is hosted, redirect directions can vary slightly. However, the general steps of pasting the code after the <head> tag are all the same. Here are the steps to install a mobile redirect on Wordpress

First, log in to the dashboard or administrator section of the site

Locate the “Editor” section of the site

step 2

Then, locate the Templates header, likely on the right hand side of your screen

step 3

Locate the Header button, click it, and find the <head> tag in the template. You can click CTRL+F or search "Find" on your computer and type in <head> to locate it quickly

step 4

Copy and paste the redirect code directly after the <head> tag

step 5

Save or update the changes you made to the template file

step 6

Check out your new and improved mobile optimized site! You should now be redirected to the mobile site when you search for/visit your desktop site on a mobile device

Capture

Keep in mind that any time a change is made to the HTML script of your site, it can take up to 24 hours to adjust. So do not panic if you cannot see your savvy new mobile site right away! If 24 hours comes and goes and your mobile site is still not visible, double check the placement of your redirect code and make sure all changes made in the template are saved

Related Posts

Tips, guides, industry best practices, and news.
Category Link
Class Dismissed, The Digital Campaign Mastered It!
A local college was looking to enroll new students for the 2023-2024 school year. The campaign highlighted the college’s Artificial Intelligence and Data Science master degree programs.
Vici Team
June 30, 2025
Category Link
YouTube+: The Branding and Awareness Machine
In today’s digital landscape, attention is everything and YouTube is where that attention lives. With billions of users, laser-sharp targeting, flexible budgets, and measurable performance, advertising on YouTube isn’t just a trend it’s a strategic advantage.
Dan Charon
June 25, 2025
Category Link
From Pitch to Performance: Selling Smarter with Digital Media
The best digital salespeople aren’t just selling—they’re guiding. With the right materials, mindset and momentum, your pitch becomes a performance your client won’t forget.
Tracey Geary
June 9, 2025