SMF Support > Install and Upgrade Help
Moving forum to another domain but on the same hosting account
(1/1)
Sybille Yates:
Hi, I added the text below to another thread with a similar question, but that had been already marked as solved so little chance I get an answer there:
I need to move my forum from one domain to another, but on the same hosting account. Having read several threads about this I think I figured out the theory, but in case I got something wrong can somebody please have a look at the steps I plan to take and tell me if I got it right? Thanks!
Copy all forum files and folders from olddomain.com/forum to newdomain.com/forum
Upload http://wiki.simplemachines.org/smf/Repair_settings.php to newdomain.com/forum and run it.
Check that all is working well.
Delete forum files and folders on olddomain.com/forum
Redirect olddomain.com/forum to newdomain.com/forum
Did I get it right? Thanks!
Doctor Deejay:
You might want to try this: What is repair_settings.php?
Also, create an index.php in every directory of your previous site:
--- Code: ---<?php
header('Location: new_url');
die;
--- End code ---
:)
Sybille Yates:
--- Quote from: 医生唱片骑师 on May 02, 2012, 08:38:36 AM ---You might want to try this: What is repair_settings.php?
Also, create an index.php in every directory of your previous site:
--- Code: ---<?php
header('Location: new_url');
die;
--- End code ---
:)
--- End quote ---
Ehm, yes, I mentioned that already in my post and yes, I did look at it. Question, what do I need the index for if I do a 301 re-direct of the domain itself, not sure I understand what you mean ...
N3RVE:
That just came as a suggestion, whichever method you use to re-direct doesn't matter as long as you get your forum working in the new location. I'm assuming the MySQL server is accessible from the new domain considering that it's the same hosting account? You might want to check with your host if you're unsure.
K@:
Pssst... Don't forget to get the database, too, unless the software can access it where it is. (Never been too sure about that, when you stay with the same host. Thought it best to mention it, just in case.)
Navigation
[0] Message Index
Go to full version