Results 1 to 2 of 2

Thread: Testing On A Local Drive

  1. #1
    Join Date
    Jul 2005
    Posts
    1

    Testing On A Local Drive

    Hi everybody, I was recently put on a website maintenance project and the site menus are implemented mostly with javascript menus. I have copied all the files, about 300, to a folder on my local drive. The files on the server were all in one directory. I would like to test the *.htm pages on my local drive but when I click on menu links, I constantly get prompted to connect to the internet. This is because all the a href links are prefixed with the site name. In other words, instead of the link being service.htm it's http://www.somewebsite.com/service.htm. So this leads to two questions. #1 is it bad, whoever implemented all the links this way, in other words seems to me it would increase the bandwidth to the site, unless the server's smart, because every link hits the server from the outside again. And #2, how do I test this locally? Is there a way to fool the browser into thinking that the url www.somewebsite.com is actually on my local drive? Thanks everybody.

  2. #2
    Join Date
    Apr 2005
    Location
    Florida
    Posts
    213
    Truthfully-
    a) its best to have the images and links that way so bots like google pick up on teh domain more often
    b) it does NOT use more bandwidth

    The only way would be to change them all to links without the http://blah.com/ in them (then again, making such a drastic change could mess with the google/msn/yahoo ratings). So i say just connect to the net and deal with it
    ProHostCP - All-In-One Web Host Billing, Support, and Live Chat Solution -- Entering Soon!Public Beta

Posting Permissions

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