Problem migrating site.

Problem migrating site.

Postby PeterC » Fri Feb 29, 2008 9:12 pm

I'm in the process of transferring my site to CWH, and I've run into an issue with PHP.

The code for my site has a variable in it that sets the site root as "/". Unfortunately this leads to broken links on my site with CWH.

How should I express site root on CWH?

I checked the FAQ's and found one reference that said it was "Root path: /home/username/ " but that didn't work.

I'd appreciate any help you can offer.

Thanks.

PeterC
PeterC
 
Posts: 2
Joined: Fri Feb 29, 2008 9:03 pm

Postby divya » Sat Mar 01, 2008 10:19 pm

Hello Peter,

All your website files will be under /home/username/public_html. Hence you have to use this path in your code.

If you still encounter any error, please drop a mail to support@canadianwebhosting.com.

Regards,
Divya
divya
 


Return to PHP

Who is online

Users browsing this forum: No registered users and 1 guest