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

Thread: Test new website on the current website folder

  1. #1
    Join Date
    May 2005
    Posts
    59

    Test new website on the current website folder

    Hi Guys,

    I'm working on a new website. I like to keep all the paths relative to the root so they all start as "/". So now I want to test this on the live server (Godaddy) where the current site is hosted. How can I test it there without affecting the old website. If I upload it to a subfolder ofcourse, all my links get broken because they are relative to the root.

    Please help.

    Thanks

  2. #2
    Join Date
    Nov 2006
    Location
    Springfield, MO
    Posts
    1,541
    Couldn't you just add a folder inside the root called "newsite" and then make every link in there site root relative?

  3. #3
    Join Date
    Sep 2009
    Location
    Toronto, Ontario, Canada
    Posts
    163
    Quote Originally Posted by fozail View Post
    I'm working on a new website. I like to keep all the paths relative to the root so they all start as "/".

    Those are absolute, not relative.
    So now I want to test this on the live server (Godaddy) where the current site is hosted. How can I test it there without affecting the old website. If I upload it to a subfolder ofcourse, all my links get broken because they are relative to the root.

    Make the links relative; that is, relative to the current page.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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