This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
installation:migrating [2012/02/24 07:50] Connie |
installation:migrating [2018/03/07 22:26] (current) Carlos [Moving Between Web Servers or Uploading from a Local Server] Remove .htaccess |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Moving or Migrating Hosts ====== | + | ====== Migrating, Moving and Uploading Complete Sites ====== |
+ | |||
+ | ===== Moving Between Web Servers or Uploading from a Local Server ===== | ||
Install GetSimple on your new/public server (don't worry about username, password, and settings -- they will be replaced). | Install GetSimple on your new/public server (don't worry about username, password, and settings -- they will be replaced). | ||
Line 9: | Line 11: | ||
/plugins/ | /plugins/ | ||
/theme/ | /theme/ | ||
+ | gsconfig.php | ||
</code> | </code> | ||
(If your site is not in English, also upload your language file(s) to ''admin/lang'' folder.) Now log in again, but with the username and password you used for localhost/old site. | (If your site is not in English, also upload your language file(s) to ''admin/lang'' folder.) Now log in again, but with the username and password you used for localhost/old site. | ||
- | Check the files ''gsconfig.php'' and ''.htaccess'' at the new destination and compare them with the corresponding ones at the original place. Compare paths, salts, rewrite base etc. | + | Browse to http://yourUrl.com/admin |
- | Do the edits if necessary. | + | Login |
- | + | Click "Settings" | |
- | Go to **Setup -> Website** Base URL: | + | Change "Website URL" to your new site URL. Hint: You can copy it from the "Our suggestion is:..." message that should be displayed below. |
- | + | ||
- | Change ''http://localhost/'' (or whatever) to your new site URL. Hint: You can copy it from the "Our suggestion is:..." message that should be displayed below. | + | |
Click **Save Settings** | Click **Save Settings** | ||
Line 30: | Line 31: | ||
* do a global search and replace, update by this the URLs of all objects which refer to http://www.olddomain.tld.. | * do a global search and replace, update by this the URLs of all objects which refer to http://www.olddomain.tld.. | ||
* after that, upload these updated files to your server | * after that, upload these updated files to your server | ||
+ | There are [[http://get-simple.info/wiki/plugins:guide#migration|several plugins]] in the [[http://get-simple.info/extend/|GS Extend]] which will automate the rewriting of urls to match a new domain or location. | ||
+ | ===== How to Move GetSimple from one Folder to Another ===== | ||
+ | |||
+ | If you want to move a GetSimple installation to another folder, there are at least three things you need to be aware of: | ||
+ | |||
+ | - Go to the Admin panel and, in ''settings'', change the ''Website URL'', if needed; | ||
+ | - If you use Fancy URLs, you may need to manually edit the ''.htaccess'' file and correct the ''RewriteBase'' rule, otherwise you may get a 503 error when trying to access some pages in your site; | ||
+ | - If there are any images, files or links with relative or absolute paths, they might get broken. Please double-check your site to see if there's anything broken. | ||
+ | ======Links====== | ||
+ | Back to the GetSimple Wiki [[:start|Contents Page]] | ||
+ | ==Pages in this Section== | ||
+ | ===Installation=== | ||
+ | *[[:installation|Installation on a Web Server or a Local Server]] | ||
+ | *[[installation:migrating|Migrating, Moving and Uploading Complete Sites]] | ||
+ | *[[installation:requirements|Server requirements and Apache Modules]] | ||
+ | *[[installation:upgrade|Upgrading to the Latest Version of GetSimple]] | ||
+ | *[[installation:specific-webhosters|Guidance for Specific Hosting Companies]] | ||