logo
  • Entries
  • Comment
  • Popular
Recent Posts
  • Improve you PLR ebooks sales with these 5 steps...
  • Here Are the Six Keys to Effective Internet Market...
  • Finding a correct niche...
  • Article marketing Part 2 : Keyword Research...
Recent Comments
  • Azman Sure you can do that. In fact I'm a...
  • imeye review If you use imeye software the proce...
  • Azman Glad you find it useful. Azman...
  • Rich Thanks for the clear instructions. ...
Popular Articles
  • Hiding your urls through php codes (2)
  • Article marketing Part 2 : Keyword Research (2)
  • Selecting the best affiliate username (1)
  • OpenOffice your free office tools (1)
  • Home
  • About IM2U
  • Contact us

Hiding your urls through php codes

icon1 Posted by Azman in Tips and Tricks, Tools on 07 22nd, 2009 | 2 responses

Currently I’m only using two type of redirection. The first one is through WP plugin called GoCodes. I did discuss about this method is this GoCodes redirect post. My second method is through php redirect.

The method is very simple. However you need to have access to your hosting as the php files need to be placed somewhere in your hosting. Here is how.

In a text editor, type the following codes. Make sure you replace the url with the correct url.

<?php
header( ‘Location: http://www.myaffiliate.com/index.html’ ) ;
?>

now just save the file as index.php or any file name with php extension.

There are two possible approaches. One is to create a directory and use index.php. So when our visitor visits the directory he will be directed to the correct url. We just need to direct our visitor to the directory. There is no need to include the index.php. index.php is the default file that our browser will look for.

http://www.mysite.com/myurl

Alternatively we can name the php codes with different file name. So what we need to do is to point our link to the php file. Just like in the following example

http://www.mysite.com/myurl.php

Our valued customers will not see any of the original urls. The redirection will be fast and quick.

Hope you like the short tutorial.

Related posts:

  1. Hiding your urls through GoCodes wordpress plugin

2 Responses to “Hiding your urls through php codes”

  1. Rich says:
    August 1, 2009 at 1:29 am

    Thanks for the clear instructions. I installed GoCodes and needed help figuring it out. You saved the day. I’ll play with the php method when I have some time.

    Cheers,
    Rich

  2. Azman says:
    August 2, 2009 at 6:20 am

    Glad you find it useful.

    Azman

Leave a Reply

Click here to cancel reply.

Get two FREE e-books on internet marketing and affiliate marketing. (Click image below)

Internet Marketing world

  • Affiliate Marketing
  • Article Marketing
  • General
  • Keywords
  • Marketing
  • Tips and Tricks
  • Tools

What’s new

  • Improve you PLR ebooks sales with these 5 steps
  • Here Are the Six Keys to Effective Internet Marketing
  • Finding a correct niche
  • Article marketing Part 2 : Keyword Research
  • Article marketing Part 1 : Fundamental

Recent Comments

  • Article marketing Part 2 : Keyword Research | Internet Marketing 101 on OpenOffice your free office tools
  • Azman on Article marketing Part 2 : Keyword Research
  • imeye review on Article marketing Part 2 : Keyword Research
  • Azman on Hiding your urls through php codes
  • Rich on Hiding your urls through php codes
  • naim on Selecting the best affiliate username
Recommended hosting
Copyright © 2007 - 2010 NoorAzman.com