Building a WP redirect plugin with Split Testing options
4.3 (2 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
1,001 students enrolled

Building a WP redirect plugin with Split Testing options

How to build a WordPress redirect plugin with Split Testing to promote your courses or any other affiliate program
4.3 (2 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
1,001 students enrolled
Created by Philip Viljoen
Last updated 1/2017
English [Auto-generated]
Current price: $34.99 Original price: $49.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 1 hour on-demand video
  • 2 articles
  • 1 downloadable resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • At the end of this course the student will create a url redirect with rotation options to promote one or more products
  • At the end for the course the student will be able to create a Split test plugin
  • All students must have access to internet
  • All students must have at least one self hosted WordPress website
  • All students must have their Control panel login details for their WordPress website

Updated 13 January 2017

If you are a website owner who uses WordPress as your platform then this course is for you.

In this Course we will be working with WordPress sites and create  our own WP plugin to extend the websites ability to redirect selected traffic to targeted landing pages that we define upfront.

We will create a WP Plugin that will allow us to send traffic to any of the website's URL of you own hosted WP website. We setup a URL with a keyword that is linked to the "WEBSITE/KEYWORD" and then add one or multiple targeted URLs to this keyword to be redirected to your Udemy course coupons or affiliate links.

We will be looking at building the plugin step by step and discuss what every bit of code means and does. Breaking it down to what every function does and how we can do split testing with this new WP plugin

At the end we will run some tests to make sure we can do some split testing with multiple Udemy course coupon code links. YOURWEBSITE.COM/UDEMY   linked to all your udemy courses with coupon codes. 

Lastly we will also work with samples of how to use the plugin in different areas of marketing.

The major benefit of this plugin is that you can edit your promotional URL and just change the targeted info and all you Youtube, FB and Twitter links remain the same but the redirect change or your coupon code changed.

Who this course is for:
  • This course is for WordPress website owner.
  • This Course is for students who want to create a url redirect to market and promote any product or course
Course content
Expand all 13 lectures 57:21
+ Introduction to the course and instructor
1 lecture 02:21

Who is Phil Viljoen and why should you learn how to create your own WP plugins?

Preview 02:21
+ Introduction to WordPress Plugins
1 lecture 01:52

What is a WordPress plugin?

Plugins are packages of code that extend the core functionality of WordPress. WordPress plugins are made up of PHP code and other assets such as images, CSS, and JavaScript.

By making your own plugin you are extending WordPress, i.e. building additional functionality on top of what WordPress already offers. For example, you could write a plugin that displays links to the ten most recent posts on your site.

Or, using WordPress’ custom post types, you could write a plugin that creates a full-featured support ticketing system with email notifications, custom ticket statuses, and a client-facing portal. The possibilities are endless!

Most WordPress plugins are composed of many files, but a plugin really only needs one main file with a specific formatted header.

Preview 01:52
+ Lets build some code
8 lectures 28:12

What to do if you do not have a PHP Code editor?

We will use The Websites build in Code Editor that is part of File Manager on Control Panel.

Preview 02:49

WordPress needs to know what this file is and we will teach WP where to look for the information.

Plugin Header, Plugin Info and Name

Adding the Menu for this plugin in the WordPress Admin

Administration Menus, Top-Level Menus and Sub-Menus

Setup the Actions to run the redirects

Hooks, Actions settings in a WordPress plugin

Each Action in WP needs a Function to tell it what to do and where to start., what to fetch and dispaly the results. So we will build some functions

Hooks, Setup Functions in a WordPress plugin

The way we are working with this creation, we will install the plugin from the start and test it as we do the build.

Installing your new plugin on your WP website

We will test linking one or more targeted URL for split testing

Testing your new plugin on your WP website

Take time to ask questions, comment on what you have learned so far and remember to leave us a rating when you are done

Preview 06:05
+ Bonus and Resources
3 lectures 24:56

Here is the full code of the plugin that we have created in this course, you can modify it as you please and when you have a better working version please share it with us

Full PHP Code
Just for you is you would like to redirect by country as well
Complete Video for Download