---
title: "Changing your WordPress URL to a temporary address"
canonical_url: "https://www.zone.lv/help/kb/changing-your-wordpress-url-to-a-temporary-address/"
post_type: "ht_kb"
published: "2024-04-26T12:51:30+00:00"
modified: "2026-02-13T10:14:21+00:00"
language: "en"
author: "Peeter Marvet"
taxonomies:
  ht_kb_category:
    - name: "Technical"
      url: "https://www.zone.lv/help/kb-categories/technical-en/"
    - name: "Wordpress"
      url: "https://www.zone.lv/help/kb-categories/wordpress-en/"
  ht_kb_tag:
    - name: "CMS"
      url: "https://www.zone.lv/help/kb-tags/cms-en/"
    - name: "ftp"
      url: "https://www.zone.lv/help/kb-tags/ftp-en/"
    - name: "myzone"
      url: "https://www.zone.lv/help/kb-tags/myzone-eng/"
    - name: "staging"
      url: "https://www.zone.lv/help/kb-tags/staging-en/"
    - name: "URL"
      url: "https://www.zone.lv/help/kb-tags/url-en/"
    - name: "wordpress"
      url: "https://www.zone.lv/help/kb-tags/wordpress-en/"
---

# Changing your WordPress URL to a temporary address

When installing WordPress on a server, the application assumes that the domain’s web page resolves to Zone server.

If you want to set up the WordPress page on the server in advance and only after preparations are done, redirect the domain to it, then one way to do this, is to change the WordPress URL directly from the page database to a temporary address on our server.

### Database user credentials

First of all, you need to find database username and password, which you can use to access the database.

To do this, enter My Zone control panel and click on the shortcut `Files` under `Web and E-mail`.

![Webhosting, file management](https://www.zone.lv/static/sites/5/ENG-301-redirection.png)

Open the directory where the WordPress page is installed (if the page is installed on the main domain, it is `htdocs` by default).

[![](https://www.zone.lv/static/sites/5/WEBFTP1-e1675067502530.png)](https://www.zone.lv/help/kb/301-suunamine-htaccessiga/webftp1/)Then open the file called `wp-config.php` (right click and `Edit`).

[![](https://www.zone.lv/static/sites/5/WP_comfig_PHP_EDIT-e1675067540311.png)](https://www.zone.lv/help/kb/wordpressi-url-i-vahetamine-ajutise-aadressi-vastu/wp_comfig_php_edit/)

You can find the database username and password between the `define()` function, next to `DB_USER` and `DB_PASSWORD` respectively, separated by commas and quotes.

Copy them to a separate temporary text file so that they are immediately available.

[![](https://www.zone.lv/static/sites/5/wpcredentials4-3.png)](https://www.zone.lv/help/kb/changing-your-wordpress-url-to-a-temporary-address/wpcredentials4-4/)

### Logging in to database

The easiest way to connect to the database is to do it through the phpMyAdmin control panel.

If you still have the My Zone control panel open on a separate tab, you can access the phpMyAdmin panel from there by selecting `Databases` from the left menu in the server management and then `phpMyAdmin`.

If you managed to close My Zone already, the direct link to phpMyAdmin is: https://pma.ams01.zone.eu/

When going from the direct link, first enter your domain name without the www prefix (e.g. domain.ee) and press `Go`.

[![](https://www.zone.lv/static/sites/5/wpcredentials5-3.png)](https://www.zone.lv/help/kb/changing-your-wordpress-url-to-a-temporary-address/wpcredentials5-4/)

On the next screen, enter the database (MySQL) username and password that you copied from the wp-config.php file.

![logging into phpMyAdmin](https://www.zone.lv/static/sites/5/ENG-logging-into-phpMyAdmin2.png)

### Changing WordPress URL

In the phpMyAdmin panel, click on the database name in the left block, then select `wp_options` in the opened option (instead of wp, table may also have a different prefix).

![](https://www.zone.lv/static/sites/5/muu_wordpress_wp_url6.png)

Find the `siteurl` line and double-click the URL that is currently its value. Replace it with your server’s temporary URL and press `Enter` on your keyboard.

Do the same on the line with `home`.

The server’s temporary address is formed accordingly: http://yourdomain-eu.vserver.zonevs.eu (In this example [http://yourdomain-eu.vserver.zonevs.eu](http://sinudomeen-ee.vserver.zonevs.eu/ "http://sinudomeen-ee.vserver.zonevs.eu"))

[![](https://www.zone.lv/static/sites/5/wpcredentials8-1.png)](https://www.zone.lv/help/kb/changing-your-wordpress-url-to-a-temporary-address/wpcredentials8-2/)Open a new tab in your web browser and try visiting your server’s temporary address.

 Attention! When you are ready to finally publish the website and point the domain to the server associated with the page, don’t forget to change the temporary URL address of the WordPress back to the correct one!
