Portal Home > Knowledgebase > Articles Database > website relocation & reprogramming


website relocation & reprogramming




Posted by silekonn, 06-01-2009, 12:19 AM
i just temporarily took over a website and have to transfer it to a different server. the original designer is unavailable. the prev. host used /HTML as the directory for web-browsers. The new host (IGX) uses CPanel, which is /PUBLIC_HTML . Everything moved via FTP, but the new site does not display the main page correctly. It is coded with CSS and PHP. Can anyone recommend a program that will update the references to the old and new directory hierarchy? I have FP XP, which is useless (& not for PHP). Funds are unlimited to the extent of (purchasing web editing s/w), though free is also very cool. I am looking at a trial of the FP replacement, which is needlessly difficult.

Posted by Kohrar, 06-01-2009, 03:55 AM
If all you need to do is update /html to /public_html, can't you just use a text editor and do a search/replace? I'm not really aware of any refactoring tools for this type of job though. But can't you just make a sym link from /html to /public_html? Your scripts should still work properly if that's the only difference in your new host.

Posted by csparks, 06-01-2009, 10:31 AM
you can download crimson editor, and do a search and replace on files in the directory. I am assuming they are all hard coded in the files? maybe even create a new file with the a variable like $PATH, and replace the hard coded with the variable.

Posted by mwatkins, 06-01-2009, 10:41 AM
If that is the only issue, why not create a symlink -- an alias in other words: That's it. If your account does not have shell privileges, ask your host to do this for you.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Struggling with logic (Views: 1522)
Choke/Lag Help Pls (Views: 735)


Language:

LoadingRetrieving latest tweet...

Back to Top Copyright © 2018 DC International LLC. - All Rights Reserved.