A Site Administrator can move a WordPress website from a previous host to Hostek's infrastructure. This process involves migrating the website's files and the associated database to ensure the site remains functional after the move.
Before you begin
You will need:
Administrator access to the current WordPress site.
Access to the current hosting environment (e.g., via FTP/SFTP or a control panel).
Access to the current database (e.g., via phpMyAdmin).
A Hostek account with a prepared domain or subdomain.
The login credentials for your Hostek account.
Migration Preparation
Before moving any data, it is recommended to perform a full backup of your current site's files and database.
Step 1: Prepare the Migration
Identify the current site's database name, username, and password.
Note the current site URL (e.g.,
https://example.com).Determine the new destination URL on Hostek (e.g.,
https://example.com).
Step 2: Export the Current Site Data
Log in to your current hosting control panel.
Open the database management tool (typically phpMyAdmin).
Select the database associated with your WordPress site.
Select all tables and click the Export tab.
Choose the SQL format and click Go to download the
.sqlfile.Connect to your site via FTP or SFTP.
Download all files from the WordPress directory to your local computer.
Step 3: Import Data to Hostek
Log in to your Hostek account.
Access your hosting control panel.
Create a new database and a database user. Note the database name, username, and password provided by the system.
Open phpMyAdmin in your Hostek control panel.
Select the new database you created.
Click the Import tab.
Select the
.sqlfile you exported from your previous host and click Go.
Step 4: Upload Files to Hostek
Connect to your Hostek server using an FTP client (such as FileZilla).
Upload all the files you downloaded from your previous host to the public_html directory (or the specific directory assigned to your site).
Step 5: Update Configuration and URLs
Locate the
wp-config.phpfile in your site's root directory via your FTP client or the Hostek File Manager.Edit the file and update the following lines with your new Hostek database credentials:
DB_NAMEDB_USERDB_PASSWORDDB_HOST(usuallylocalhost)
If your site URL is changing (e.g., moving from a temporary URL to a primary domain), use a tool like the "Better Search Replace" plugin or a manual SQL query to update the
siteurlandhomevalues in thewp_optionstable.
Confirm the result
The site loads successfully on the new Hostek URL.
All pages, images, and internal links function correctly.
The site is accessible via the WordPress login page (e.g.,
example.com/wp-admin).
Limitations
This procedure does not include the process of updating DNS records. You must update your nameservers or DNS records to point to Hostek before the site will be visible to the public on the new server. If you are changing your domain name during the move, you must also perform a search and replace of the old URLs in the database.
