If you had a site on one of the old portfolio websites (portfolio.io.utwente.nl or creators.ewi.utwente.nl), read this manual on how to transfer your current site to this site.
Since the old sites are no longer available since 1-1-2017, you cannot transfer your old site to the new site anymore, unless you have a backup of your own. In excepional cases a backup can be requested from the site admininstrator. This manual is updated to reflect a situation where you have your own backup and want to restore that on the new site.
Before you can use this site, you have to sign-up for a new portfolio site.
If you are moving your site from
portfolio.io.utwente.nl to this site, it is important you choose the same
These are the basic steps you should take. Each step is described in detail below.
Since the old sites are no longer available since 1-1-2017, you need a backup of your own. Try to locate the files of your website on your own computer or a backup. Remember the folder, you need it in the next step.
In excepional cases a backup can be requested from the site admininstrator.
After you uploaded your site you might want to consider these points:
If your site contains links to external resources via a http-url, for example like this:
You will have to replace
<link rel="stylesheet" type="text/css" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
https:. If you open the Console (in Chrome: CTRL+SHIFT+J) while viewing your page, you will see which links are causing trouble.
Filenames on the new site are case-sensitive. It is recommended to use only lowercase characters for all filenames.
If you run into problems (eg. images not loading), first look at the
to see what is the exact error.
If you get errors like
"Failed to load resource: the server responded with a status of 404 (Not Found)" you probably have to check the mentioned filename.
The filename in HTML and/or CSS code should match the actual filename exactly.
Use FileZilla to check this, as you can see the whole filename there, including the extension.
To redirect visitors from your old site to the new, create a file
index.php with this content:
Replace the parts highlighted in red with the appropriate values for your site. Upload this file to your old site.
<?php header("Location: https://portfolio.XX.utwente.nl/student/XXXXXXX"); ?>
If you have a HTML-based site (which consists of html-pages, css-files and images) that does not use a database, you are done. Check your site if everything is Ok. If not, eg. if you use WordPress, continue with the steps below.
Select your database (name is your studentnumber) in the left side of the window. Then click on "Import". Then press "Choose File". Locate the .sql file (you downloaded in step 3.1.2) in your Download-folder and select it. Press "Go" to start the import.
This is the most challenging part of the migration. All actions have to be done on the new site.
Open the file
wp-config.php with a texteditor.
(You can find it in the folder on your computer you created at step 1).
Find the part which looks like this:
And replace the values with the values for the new server (you can find these in your confirmation-mail).
/** The name of the database for WordPress */ define('DB_NAME', 'databasename'); /** MySQL database username */ define('DB_USER', 'username'); /** MySQL database password */ define('DB_PASSWORD', 'password'); /** MySQL hostname */ define('DB_HOST', 'localhost');
Next, at the end of the wp-config file, add this line:
Now save the file and upload it to the new site (replace the original).
Check if there is a
.htaccess file in the
public_html folder on the new site.
If there is, remove it.
You use the admin-account of WordPress to login to the Dashboard. If you do not know this anymore, use the 'Lost your password?'-link at the Login-page to retrieve the password.
Log-in to the dashboard.
If you are unable to log-in to the Dashboard, you have to update the URL of the site in the database manually: use the second option below.
Set 'WordPress Address (URL)' and 'Site Address (URL)':
(These two values are usually the same) There are two ways to do this:
Settings > Generaland update the fields 'WordPress Address (URL)' and 'Site Address (URL)' with the address of the new site. If this fails, try the next option:
wp_optionsand replace the options
homewith the address of the new site. View example.
Next, in the WordPress dashboard, go to
Settings > Permalinks, choose your setting and press Save Changes
(even if you do not change anything, you MUST press Save Changes).
Install the plugin "Better Search Replace" and activate it.
Tools > Better Search Replace.
For each entry in the table below, execute a Run. The entries shown here are examples, you might need to modify them yourself. Choose your old site to see the proper values you need:
|Search for||Replace with|
|Search for||Replace with|
s1234567with your studentnumber and replace
SITENAMEwith the sitename of your new site.