How to prevent the usage of temporary URL when the domain is being used?


EXPERIENCING PROBLEMS WITH OUR SERVICES? RUN A DIAGNOSE FIRST TO SAVE YOURS AND OUR TIME

Added: 03.07.2008 16:52:29     Last updated: 06.10.2016 14:20:08

Before your domain is registered/transferred your website can be viewed via the following URL:
http://cpanelX.proisp.no/~bruker/

will need to be replaced with the servers number (you will find this information in the email we sent earlier). bruker is replaced with your username for cpanel.

When the domain is registered/transferred it is often requested to prevent the temporary URL being used. If the temporary URL has been posted online the search engines will index this address. This may cause the actual address for your domain to receive a lower ranking in search engines due to duplicate content. To avoid this, you can insert the following content into a .htaccess file in the folder public_html:

RewriteEngine On
RewriteBase /

RewriteCond %{HTTP_HOST} ^cpanelX.proisp.no
RewriteRule (.*) http://dittdomene.no/$1 [R=permanent,L]

will need to be replaced with the servers number (you will find this information in the email we sent earlier). dittdomene.no needs to be replaced with your domain.