Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. Share your own thoughts and experience, accounts may be terminated for violations.
  • Welcome to AcornDomains.co.uk, a friendly community for UK domain investors, developers and anyone interested in domain names.

    Whether you're looking to buy or sell domains, learn more about the UK domain market, get feedback on your names, or simply chat with other domainers, you're in the right place. AcornDomains has been bringing together people from across the UK domain industry for many years, from complete beginners to experienced investors.

    Have a look around, join the discussions and, if you haven't already, create a free account and introduce yourself.

Url aliases

Status
Not open for further replies.
Joined
Sep 19, 2007
Posts
103
Reaction score
1
Hi Guy's n Gal's. I have a website with the dot co dot uk and dot com for a specific domain name. I now have a domain name which seems more suited to the site. Would I be penalised by "goggle" etc if I used the new name as an alias also?
I hope someone may be able to shed some light on this matter for me.

many thanks,
ken
 
Rather than doing an alias, why not redirect. That way Google won't see duplicate content.
 
Oddly the above link didnt state the obvious example for a 302 redirect.

PHP:
<?php
header("Location: http://www.example.com/"); /* Redirect browser */
?>


Ive also liked 301 Moved Permanently - which imo would be much better for SEO

PHP:
<?php 
header("HTTP/1.1 301 Moved Permanently"); 
header("Location: http://www.example.com/"); /* Redirect browser */
?>



lastly on this from me is to redirect your entire site from xyz to abc.com somethign like the following would be a starting point.

PHP:
<?php
$host  = "newdomain.com";
$uri   = $_SERVER['PHP_SELF']);
header("HTTP/1.1 301 Moved Permanently"); 
header("Location: http://$host$uri");
?>
 
Last edited:
With due respect, not everybody uses PHP.

edit: I misunderstood your point. Apologies.
 
You can use .htaccess file to do that if you have apache based server .. even if you have windows server you still can do it using .asp file
 
Status
Not open for further replies.
Top Bottom