Moving site from sub-domain to main domain

Associate
Joined
10 Nov 2008
Posts
408
Location
Leeds
Hello boys and girls. I have encountered a problem when I have come to wanting to upload my site to the main URL. I have used Dreamweavers 'get' feature to get all the up to date thumbnails etc from the sub domain. So that when I copied the files over to the folder which the main domain was based it should be identical.

But when I upload it non of the images work? Bear in my I have not changed the database, it is using the one the sub domain was using.

Also when I do this the admin side of the site no longer works, the links are like this: <a href="<?php echo WEB_ROOT; ?>admin/category/" class="leftnav">Category</a>

This worked perfectly on the sub domain but now doesn't. When clicked, it tries to direct to this url:
<a href="E:/domains/g/greenpony.co.uk/user/htdocs/admin/category/" class="leftnav">Category</a>

Just to note, the domain is greenpony.co.uk


I have absolutely no idea why it is not working. So if any of you can help me, I will love you long time.


Cheers

Sam

P.S Sorry if this is really hard to understand, I appear to have started ranting
 
Back
Top Bottom