1

I'm doing a major re-desing of an old EE1 site and would like to stick a copy of the old site on the subdomain archives.mystie.com for future access. With EE2 there are wonderful addons like REElocate to make this process easier. I haven't found anything similar for EE1

I've updated my config and path fiels and I'm able to navigate the CP using the following URL structure

mysite.com/archives/systemfolder/index.php

I have a couple of questions.

ONE

I can't seem to get it to work using the subdomain url archives.mysite.com/systemfolder/index.php

Not sure what could be preventing that, but if someone has some ideas I'd love to hear them.

TWO

The paths to my file assets (images, css, js ect) are not updating. I must be missing some setting, but I just don't know what or where.

Due to limitations on newbies posting links I was not able to add the notes on what I've done so far inline. To read what steps I've taken go to http://webbdemo.com/files/moving-ee1-site-to-subdomain.txt

NOTE: Except for one, all "links" are config settings.

Thanks for any insights or solutions! Jules

1 Answer 1

2

For your #1, can you browse static files (e.g., put a robots.txt in the root folder) at http://archives.mystie.com? Can you browse http://archives.mystie.com/robots.txt? Make sure that works, as a starting point.

From the point of view of EE, it doesn't really know that a subdomain is a subdomain--it's just a domain name / URL. So, in your config file, you should have things like this:

$conf['site_url'] = "http://archives.mysite.com/";
$conf['cp_url'] = "http://archives.mysite.com/systemfolder/";

And, for your paths, you'll want to use the full path (most likely), like:

$conf['system_folder'] = "/home/un/public_html/archives/systemfolder/";

For your #2, take a look in the control panel under: CP Home › Admin › Weblog Administration › File Upload Preferences

You'll need to update your file paths for each of your file upload destinations.

(Note that if you have hard coded full URLs to http://mysite.com/... in your content entries, those won't update.)

I think, if you tweak a few things, and double-check that you have the URLs and paths right, you should be good to go.

23
  • For some reason I can't add a line break to these comments. Struggling to get my response added
    – JulesWebb
    Sep 1, 2013 at 0:25
  • RE: #1 $conf['site_url'] was not included in the config file so I added it.
    – JulesWebb
    Sep 1, 2013 at 0:27
  • After a small tweak to my htaccess file I was able to get to archives.mystite.com/robots.txt
    – JulesWebb
    Sep 1, 2013 at 0:28
  • I'm really close to getting the site to work on the new subdomain. The main issue that I can see right now is that the templates are not updating, even after I clear all the caches. I've updated my basepath to the template file directory to /home/username/public_html/arhives/memanager/templates. Is there some other setting location that needs to be updated?
    – JulesWebb
    Sep 1, 2013 at 0:29
  • NOTE: Just to be clear --- I'm updating the files locally and uploading them to to the server.
    – JulesWebb
    Sep 1, 2013 at 0:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.