Best way to hide my Shorty login page.

Discussion in 'Site & Server Administration' started by Phishie, Jun 20, 2007.

  1. #1
    Hello,

    I am using a script called Shorty to cloak affiliate links. I have it hosted on a subdomain (deals.lawltech.com). I don't like how when you go to that URL, the login page is right there with all kinds of info about what I am doing. What would be a good way to hide this page so that normal users couldn't see it?

    I'd rather just redirect the page to lawltech.com but then how would I be able to access the admin?

    I don't want to host the script on a subdirectory because then the URLs will look like deals.lawltech.com/subdir/851694

    =[

    Any help is appreciated.
     
    Phishie, Jun 20, 2007 IP
  2. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Firstly you shouldn;t have divulged the actual url here when you wanna hide it.

    Make a blank index.html file there, access your script admin by deals.lawltech.com/index.php

    If the blank page doesn't load at deals.lawltech.com, then make a .htaccess file in that folder with content :

    Also put this in robots.txt at the same folder

     
    agnivo007, Jun 20, 2007 IP