redirect url question

by 6 replies
7
How do I accomplish this...

I want to link mobile users to a mailchimp subscription page but I want to do it via my domain. Mostly because its a lot easier to type than the urls one gets from mailchimp but also because it's a catchy domain name to use.

eg.

A mobile user will type mydomain.com/businessname into their mobile browser but the page that will be displayed is mailchimp.com/that-business-subscription-form

Anyone?
#programming #question #redirect #url
  • you could always iframe the mailchimp form?
    Code:
    <iframe src="http://mailchimp.com/that-business-subscription-form"></iframe>
    or have it redirect, create a index.php plug in your mail form and upload it mydomain.com/businessname

    Code:
    <?php
    
       header( 'Location: http://mailchimp.com/that-business-subscription-form' ) ;
    
    ?>
    • [ 1 ] Thanks
    • [2] replies
    • If you're site is a WP install just use the Pretty Links free plugin and you'll be done in seconds.

      Patrick
    • That redirect worked a treat! Thank you so much. Do you know if using it creates any lag times between redirects. I didnt notice any.
      • [1] reply
  • my suggestion, you can use the user agent reader, to ensure that the visitor accessing your site via a mobile phone.
  • Cram Hit the nail on the head But as Enfusa Said i would use Pretty links depending if its a WP site of course

Next Topics on Trending Feed

  • 7

    How do I accomplish this... I want to link mobile users to a mailchimp subscription page but I want to do it via my domain. Mostly because its a lot easier to type than the urls one gets from mailchimp but also because it's a catchy domain name to use.