Membership is FREE, giving all registered users unlimited access to every Acorn Domains feature, resource, and tool! Optional membership upgrades unlock exclusive benefits like profile signatures with links, banner placements, appearances in the weekly newsletter, and much more - customized to your membership level!

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.

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members online

Premium Members

New Threads

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
      There are no messages in the current room.
      Top Bottom