dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: Redirect to hidden dir

  1. #1
    Join Date
    Apr 2014
    Posts
    1

    Redirect to hidden dir

    I'm trying to redirect to a dir when the user types /theword. The redirect works fine but trying to figure out how to hide the dir in the URL or better display the dir as a bunch or characters to hide the dir name. For example, it would nice to display the URL if possible like - mysite/j#$*f < just an example. The j#$*f (This would be the masked dir of say thedir.

    Right now I have -

    Redirect /theword http://www.mysite.com/thedir

  2. #2
    Join Date
    Jul 2003
    Location
    Lansdale, PA
    Posts
    88
    I'm not sure what you trying to accomplish, but the web browser has to know what URL to load - so you can rewrite it any way you want, but that URL would still have to send back the file / content requested. So if you are trying to prevent sharing a URL or something like that, this method wouldn't work very well.

    -Jim

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles