PDA

View Full Version : website maintenance query


JBD
05-28-2008, 09:24 PM
I have been asked to maintain a website by a new client. I have only ever created sites from scratch and so I am wondering what is the best/usual way to show new updates to my client before actually adding to their live website.

I have downloaded their whole site to my computer and was going to upload it all to my own server to create a clone version as it were for testing new pages etc... would this be the recommended way to do it?

Also when I upload all the files to my server how do I change all the links to point to my server rather than my hard disk?

advice would be much appreciated

thanks!

JBD

davidj
05-28-2008, 09:44 PM
what you could do is create a production dir within domain and secure it using .htaccess

you give your client the password and he navigates to the production dir to view your changes

example...
www.clientwebsite.com/prod/ (http://www.clientwebsite.com/prod/)

Also when I upload all the files to my server how do I change all the links to point to my server rather than my hard disk?

all your links should be relative ones

they should not reference your C: drive

JBD
05-28-2008, 09:58 PM
I just quickly Googled .htaccess (as I had no idea what it meant) and it seems a little to complex for me to start using now as I need to show the updated work by tomorrow morning...

So in regards to just cloning the site what have I done wrong as this is what I get:

http://jonballdesign.co.uk/Clients%20websites/caffegus/docs/franchiseopportunities.htm

for some reason everything links to my HD???

davidj
05-28-2008, 11:00 PM
to sort this in one go you can do a find and replace

in code view just press ctrl + F

in the find box add this... (or whatever is not needed in your paths)


file:///Macintosh HD/JBD WORK/Cafe Gusto/Website/


then make sure the replace is empty and press replace all

make sure you have this correct as this can be dangerous but it should be ok for what you need this for

JBD
05-28-2008, 11:50 PM
cheers david, useful tip - had to rename some folders correctly but got there in the end

http://jonballdesign.co.uk/home/caffegus/docs/franchiseopportunities.htm

thanks again!