How to remove my temporary URL

The temporary URL is used while or before your domain has moved to us. You can use the temporary URL to ensure that your site appears well and set everything up before approving a move of your domain.

We will never recommend you to refer to the temporary URL in your HTML code, or pass the URL to others - it is ONLY meant for testing.

Move away from temporary URL

When your domain points to Simply.com, you no longer need to use your temporary URL.
If you use the temporary URL in your CMS (Wordpress, etc.) you should now change the URL for your domain URL instead. It is often done in the setup of the individual CMS.

Disable temporary URL

If you want to disable the temporary URL, it can be done with mod_rewrite.

Eg:

RewriteEngine On
RewriteCond %{HTTP_HOST} .linux[0-9]+.unoeuro-server.com$
RewriteRule ^(.*)$ - [G,L]

This code turns off the temporary URL and sends a 410 Gone error to the browser.

Instead, if you want to forward the temporary URL to your domain, you can use the following:

RewriteEngine On
RewriteCond %{HTTP_HOST} .linux[0-9]+.unoeuro-server.com$
RewriteRule ^(.*)$ http://www.domain.dk/$1 [R=301,L]

Both examples must be inserted into your .htaccess file, which can be placed in the root of your web hotel.

Article from the support category: PHP