|
#1
|
|||
|
|||
|
i added on a new domain to my account... www.operationclassifieds.com. My main domain is www.justformilitary.com. I moved all of the files to OC after I added it on. The site comes up OK but a lot of the pics and some other stuff will not come up. the file names did not swith over to OC so the pics and some other items are looking for old name.
I am pretty new at this so I am not sure if anyone can understand but, if you go to the O.C. site and right click for properties on one of the items with an X, you will see the address still says a justformilitary folder file...I have moved everything to operationclassifeds folder in the root. Help???? |
|
#2
|
|||
|
|||
|
This all depends on how the justformilitary.com site was originally coded. If the link paths (in the code) are absolute (meaning has http://www.justformilitary.com/linkorimagename), than you will have to manually change each one. So do a search/replace on justformilitary.com to replace with operationclassifieds.com. If they are relative paths (which in this case arn't), than changing a domain would not be an issue. For example, instead of http://www.justformilitary.com/somefile.php, you would have somefile.php or ../somefile.php if you were in a folder above, etc.
Now either you do the replacement thing I mentioned or possibly the program you are using to develop the site, sets the website url, in which you would just change the url and save and upload the changes.
__________________
http://www.anothertakestudios.com |
|
#3
|
||||
|
||||
|
Did you just copy the files from your main domain to your new one? The path and names of the various files are coded into the pages. You have used absolute references in the pages
Code:
url(http://www.justformilitary.com/classifieds/theme/Default/mainbg.gif You should be able to edit the pages fairly easily using the application you created the pages with so that the images etc are all pointing to the new domain. Or you could use something like PSPad to do a search and replace in the files.
__________________
Dave Turnbull ![]() Official Grumpy Old Git Quote:
|
|
#4
|
||||
|
||||
|
Quote:
PSPad - free developer editor
__________________
Hosting term analogies, revised and improved (?) |
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Urgent Theme Help Needed | AngelFire | Shared Hosting Support | 7 | 10-10-2008 10:32 PM |
| changing primary domain. what will happen with addon domains? Urgent! | ronaldv | Shared Hosting Support | 5 | 03-26-2008 09:10 AM |
| Urgent Billing Issue - Account Suspended | Sentinel | Pre-Sales Questions | 15 | 07-06-2007 01:02 PM |
| Issue using custom php.ini config file, can hostgator help to solve the issue ? | jpck | Shared Hosting Support | 3 | 06-04-2007 01:29 PM |
All times are GMT -5. The time now is 06:51 AM.











