Podcast Episode

064 – WordPress Redirects for Affiliates and MultiSite

Announcements

The all new WordPress for PlayBook™ app allows you to write posts, edit pages, and manage comments on the go. Both WordPress.com and self-hosted WordPress (2.9.2 or higher) sites are supported. Download the app and start blogging on the go in no time.

To find out more information go to blackberry.wordpress.org

Listener Feedback

Joe from Joe-Cannon.com asks: 1. How do I create a 301 redirect? 2. Is there any difference – for affiliate marketing purposes – between using the plugin “Pretty Links” and a 301 redirect?

Code for Single Page Redirect .htaccess file

Options +FollowSymlinks
RewriteEngine on
Redirect 301 /dropbox http://dropbox.com/referrallink

Mike asks: How to create / mask URLs to folders / subdomains while using WordPress MU.
1. Add domain in hosting account cPanel.
2. Change the DNS settings at your new domain registrar (hover, godaddy, etc)
3. Manually install WordPress MU Domain Mapping Plugin.
4. Add this code to wp-config.php file:

define('WP_DEBUG', false);
define('WP_ALLOW_MULTISITE', true);

define('SUNRISE', 'on'); // Add this line here:

define( 'MULTISITE', true );
define( 'SUBDOMAIN_INSTALL', false );
$base = '/';
define( 'DOMAIN_CURRENT_SITE', 'localhost' );
define( 'PATH_CURRENT_SITE', '/' );
define( 'SITE_ID_CURRENT_SITE', 1 );
define( 'BLOG_ID_CURRENT_SITE', 1 );

/* That's all, stop editing! Happy blogging. */
  1. Save these changes
  2. Map the External Domain to One Of your child sites.
  3. Under ‘Settings’ -> ‘Domain Mapping’ put the IP address of your server. Find your website’s ip address
  4. Save these changes.
  5. Next go to the dashboard of one of your child sites.
  6. Under ‘Tools’ -> ‘Domain Mapping’ add the external domain which you registered.

Read the entire article here.

    • friendlytim Reply

      Hi Dustin, I just discovered your podcast on iTunes last night. It’s very well done. I downloaded a few of the most recent ones and really liked your delivery. So I cherry picked through and downloaded some more to listen to while I’m at work. This morning, I’ve given in and just downloaded all of the episodes. I’ve been building sites with WordPress for a few years. Mainly as hobby and for family/ friends.
       
      Thanks for the great podcast, I hope you keep it up. I’ll look forward to tuning in.

      Feb 28, 2012
      • dhartzler10 Reply

         @friendlytim I’m glad you discovered this podcast and I hope that you learn great things from it!  If you ever run into something you can’t figure out, please let me know.

        Mar 5, 2012
    • Scripts Bay Marketplace Reply

      great blog for sure

      Jul 4, 2012

Leave a Reply