New website - while customer has one and live help
Posted 15 years 9 months ago
Ok so I'm at the point were a client has asked me to provide him with a new commerce site as his is a little dated
No problem I'm thinking. But what I need to know is how I can build a site for a client when he has one already live.
I mean to say, I have always built mine from scratch with domain name etc. I have no idea how to go about a build, and then to switch from old site to new in a seamless fashion.
The site isnt Amazon or the likes, but I want it to run smoothly for us all
Re: New website - while customer has one and live help
Posted 15 years 9 months ago
There's several ways you could go about this.
Firstly, I NEVER EVER EVER EVER EVER EVER build a new website on a live domain. It goes live once the account is paid in full. So, the easy answer there is to set up a subdomain of perhaps your own domain, build it there, then move it all over once he actually owns it (I don't care if he is an existing client / old buddy / whatever).
- or -
If the old website is static HTML, make sure the .htaccess file points at the index.html and you can build the Joomla site in peace.
- or -
You can build the Joomla website in a subdirectory.
Personally, I'd give serious consideration to option 1 if I were you.
Re: New website - while customer has one and live help
Posted 15 years 9 months ago
Thanks Ragdata
So I guess I need to learn how to set up a sub domain with my host - Im sure that won't be difficult. It will be the moving over part i'll need help with I think
Re: New website - while customer has one and live help
Posted 15 years 9 months ago
Julian Campbell wrote:
Thanks Ragdata
So I guess I need to learn how to set up a sub domain with my host - Im sure that won't be difficult. It will be the moving over part i'll need help with I think
I really am a learner
Moving over the site with
JoomlaPack
is very easy to do, it's similar to a RocketLauncher installation.
Re: New website - while customer has one and live help
Posted 15 years 9 months ago
I agree, JoomlaPack is your solution you could even build the site locally on a virtual server then use JoomlaPack to upload this will copy the SQL etc if just a few clicks.
One thing to remember though, when adding images to your site use the relative path and not the absoloute else this method will not work with your images.
Re: New website - while customer has one and live help
Posted 15 years 9 months ago
I'm a rotten old mongrel who is stuck in his ways - so I never trust anything except FTP and CSV for exactly this reason (never know if the third-party application I'm moving things with will break something on me).
But if these guys are giving JoomlaPack the thumbs-up, you can bet it's good stuff.
Don't forget the relative paths Justin mentioned though - very important.
But it does get more complicated - there are many instances where you need to consider what's going on here, but I'll only cover the 2 you are most likely to encounter in this endeavour - your template index.php and css files (this is simplified a bit).
Your path needs to be relative to the 'master' file calling the 'slave' file when it's PHP. So, a relative path in your index.php template file is relative to the location of the MAIN Joomla index.php file. Thus, the following in your template index.php file is correct:
However, a relative path in your template CSS file is read as relative to the physical location itself (because the CSS file is loaded from its physical location by your template index.php file using the path above). So, the following relative path is correct there: