Custom Redirect Page

Do you want to have an individual redirect page for dereferring? Here is how to make one in five steps. It is free, ad-free and it doesn't require registration. Everything works automatically on our side, so you don't need to wait on anything.

  1. Read how it works.
  2. Get a filename for your redirect page.
  3. Design your own redirect page.
  4. Add a meta-tag to the head section of your redirect page.
  5. Upload your page to your site.

How It Works

Let's look at an example: You are the owner of example.com and have saved your custom redirect page as derefer03b22780302dd8d8.htm – the filename you calculated below.
If a visitor of your website clicks on one of your links anonymised with custom.derefer.me, his browser accesses our server. Our server analyses the referer sent by your visitor and finds that he came from your website example.com. Our server loads your custom redirect page from our cache or from your server respectively and displays the page to your visitor, who is then redirected to the target. Now without sending your address as referer, of course!

Scope

One redirect page works for one domain name of yours. That means the redirect page for example.com works for:

  • ftp://example.com/
  • http://example.com/index.htm
  • https://example.com/info/new.php?id=2

But the same redirect page does not automatically work for:

  • http://www.example.com/info/new.php
  • http://phun.example.com/index.htm

So you can create individual redirect pages for each subdomain. This is especially useful if subdomains are administered by different persons as is often the case with free hosting services. This also applies to the subdomain www. So, if your site is accessible with and without www-prefix, you should create custom redirect pages for both ways.

Error-Handling

Derefer.me will use the standard redirect page, if your redirect page cannot be accessed or if your visitor already suppresses the referer information himself.

Using custom.derefer.me

You can easily create custom dereferring links with the generator at our homepage. The link is almost identical to the standard link with the only difference of using custom.derefer.me instead of derefer.me.

Get a Filename

Required

Your redirect page is stored on your own webspace. This leaves you in full control over the page and guarantees that nobody else can set up an unwanted redirect page for your site. Enter an internet address of yours below and click on "Go!" to get the address for your custom redirect page:

Optional (advanced)

If you prefer to use a dynamically generated dereferring page and need a different file extension such as php or asp, you can use mod_rewrite or set up a redirect from the generated address to your script. Using mod_rewrite is faster. # .htaccess mod_rewrite example RewriteEngine On RewriteRule ^derefer0123456789abcdef\.htm$ my-redirect-page.php [L] # .htaccess Redirect example Redirect /derefer0123456789abcdef.htm http://example.com/my-redirect-page.php

Design Your Custom Redirect Page

Required

Your redirect page is basically a regular web page. Create it as if you would design a normal web page. However, the page without external files must not be larger than 100 KiB. The smaller it is the faster it is. Please make sure that you either use absolute paths to external files such as images, CSS- or JavaScript-files or add a base address to the head-section as shown below. Your redirect page is mirrored at custom.derefer.me, the external files are not. This is why absolute references are needed to locate them. <head> <base href="http://example.com/" /> ... </head>

Optional

You can use the following placeholders in your page:

  • {{TARGET}} for the address the user is redirected to
  • {{REFERER}} for the address where the user came from
  • {{REFRESH}} for the time in seconds that the redirect page is shown
  • {{CACHE}} for the time in seconds that the redirect page is cached

Add the Meta-Tag

Required

Please add the following meta-tag to the head section of your custom redirect page. <head> ... <meta name="derefer" content="cache:300; refresh:2;" /> </head> The refresh value defines how many seconds the redirect page shall be shown before it automatically redirects to the target site. The value can be a positive number or no for no automatic redirection. The cache value defines how many seconds your redirect page shall be cached. The value can be a positive number or no to switch caching off. The maximum cache duration is currently 3600 seconds.

Upload Your Custom Redirect Page

Required

Upload your custom redirect page to the address you got in step two. Finished!

 
 

© 2008–2012 derefer.me