+ Post New Thread
Results 1 to 12 of 12
Web Development Thread, 'cloaking' URLS of individual Pages in Coding and Web Development; Good Morning all, I was wondering if anyone can tell me how to make it so that the address bar ...
  1. #1

    Join Date
    Feb 2006
    Location
    Staffordshire
    Posts
    134
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    'cloaking' URLS of individual Pages

    Good Morning all,

    I was wondering if anyone can tell me how to make it so that the address bar doesn't contain like:
    "http://intranet/Calendar.asp"
    it just shows "http://intranet" regardless of what page you're on.

    Thanks
    Rob

  2. #2

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: 'cloaking' URLS of individual Pages

    There's no easy way to do this. Especially not with ASP/IIS.

  3. #3

    Join Date
    May 2006
    Location
    Leicestershire
    Posts
    345
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Re: 'cloaking' URLS of individual Pages

    Ive never tried to do this using IIS/ASP and i never figured out if you could do it using PHP either..... the way around this i found, and which could save u time messing around with IIS settings is

    on the default.asp setup the page using frames, so that the top frame is like 0% and sits at the top and then all yr content sits in the bottom frame, and that way the URL will just stay as Http://intranet cause all the linking will take place in the bottom frame...

    One solution

  4. #4

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,401
    Thank Post
    637
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    319

    Re: 'cloaking' URLS of individual Pages

    Hi Rob, you probably have your reasons for doing this, but it is a bad idea if your users like to bookmark the pages - they won't be able to do this.

    However, if you still want this effect you can achieve it best using frames, or you could use a complex .htaccess file if you have an Apache webserver.

    Frames method:

    index.html
    Code:
    <html>
    <head>
    <title>Intranet</title>
    </head>
    <frameset rows="*" cols="*">
      <frame noresize="noresize" src="http://intranet/start.html">
    </frameset>
    <body>
    </html>
    You'll probably have to rename your current homepage (index/default) page to something else so the frames page is the default page.

    Where index.html is your default/index page in your Intranet's wwwroot and start.html has links to everything else on your intranet.

  5. #5
    ChrisC's Avatar
    Join Date
    Mar 2006
    Location
    Dorset
    Posts
    767
    Thank Post
    2
    Thanked 1 Time in 1 Post
    Rep Power
    18

    Re: 'cloaking' URLS of individual Pages

    Mind you, the other thing to think about is that they can right click the page and view the properties, which holds the address...

    Chris

  6. #6

    Join Date
    Feb 2006
    Location
    Staffordshire
    Posts
    134
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: 'cloaking' URLS of individual Pages

    Quote Originally Posted by webman
    Hi Rob, you probably have your reasons for doing this, but it is a bad idea if your users like to bookmark the pages - they won't be able to do this.

    However, if you still want this effect you can achieve it best using frames, or you could use a complex .htaccess file if you have an Apache webserver.

    Frames method:

    index.html
    Code:
    <html>
    <head>
    <title>Intranet</title>
    </head>
    <frameset rows="*" cols="*">
      <frame noresize="noresize" src="http://intranet/start.html">
    </frameset>
    <body>
    </html>
    You'll probably have to rename your current homepage (index/default) page to something else so the frames page is the default page.

    Where index.html is your default/index page in your Intranet's wwwroot and start.html has links to everything else on your intranet.
    To be honest with you theres nowt TO bookmark on the intranet, but this way it just keeps it looking a bit tidier. Cheers for that

    -Rob

  7. #7

    Join Date
    Feb 2006
    Location
    Staffordshire
    Posts
    134
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: 'cloaking' URLS of individual Pages

    Quote Originally Posted by ChrisC
    Mind you, the other thing to think about is that they can right click the page and view the properties, which holds the address...

    Chris
    Its nothing sensitive, it doesn't really NEED to be done, its just to keep it looking 'simple' for the IT Coordinator when I show them

  8. #8

    GrumbleDook's Avatar
    Join Date
    Jul 2005
    Location
    Gosport, Hampshire
    Posts
    9,930
    Thank Post
    1,337
    Thanked 1,780 Times in 1,105 Posts
    Blog Entries
    19
    Rep Power
    594

    Re: 'cloaking' URLS of individual Pages

    We have this at the moment and it makes it a nightmare for bots to scavenge or index, meaning hardly any of our site is in Google.

    A bit of a pain and I am going the other way ... removing the single site address for *everything*

  9. #9

    ZeroHour's Avatar
    Join Date
    Dec 2005
    Location
    Edinburgh, Scotland
    Posts
    5,641
    Thank Post
    894
    Thanked 1,314 Times in 798 Posts
    Blog Entries
    1
    Rep Power
    441

    Re: 'cloaking' URLS of individual Pages

    Bookmarking in IE FYI does keep a tab on which frames hold which

  10. #10

    Join Date
    Sep 2005
    Location
    Leicester
    Posts
    80
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: 'cloaking' URLS of individual Pages

    Quote Originally Posted by Mintsoft
    Quote Originally Posted by ChrisC
    Mind you, the other thing to think about is that they can right click the page and view the properties, which holds the address...

    Chris
    Its nothing sensitive, it doesn't really NEED to be done, its just to keep it looking 'simple' for the IT Coordinator when I show them

  11. #11
    Guest

    Re: 'cloaking' URLS of individual Pages

    @ palmer_eldritch

    #NOT NOW BERNARD#

  12. #12

    Join Date
    May 2006
    Posts
    159
    Thank Post
    5
    Thanked 10 Times in 5 Posts
    Rep Power
    18

    Re: 'cloaking' URLS of individual Pages

    You could probably do this with URL rewriting. I am looking at implementing the same thing as you and found this free utility after some searching:

    http://www.iismods.com/url-rewrite/index.htm

    It is basically an IIS implementation of mod_rewrite for apache.

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 3
    Last Post: 27th April 2007, 08:32 AM
  2. DIY web pages
    By goodhead in forum Windows
    Replies: 13
    Last Post: 17th February 2007, 10:56 AM
  3. Test individual access points in a dense wireless network
    By monkey_boy in forum How do you do....it?
    Replies: 8
    Last Post: 6th February 2007, 07:49 PM
  4. Joomla - editing the head of individual pages?
    By _Bat_ in forum Web Development
    Replies: 12
    Last Post: 1st February 2007, 02:33 PM

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
  •