sitemeister
07-07-2007, 03:00 PM
Let's say I own redwidgets.com and red-widgets.com. For years I have simply pointed red-widgets.com to redwidgets.com as a domain pointer using DNS. After reading through these forums I've learned that it's best to set up a 301 redirect however, to avoid being penalized for content/site duplication issues. So I set up red-widgets.com with a 301 redirect using this syntax:
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: h ttp://www.redwidgets.com" ); (I added the space after the "h")
Now when I go to access red-widgets.com, shouldn't the address bar show redwidgets.com or still show red-widgets.com? I was under the impression that it would send me to the new url. Am I wrong?
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: h ttp://www.redwidgets.com" ); (I added the space after the "h")
Now when I go to access red-widgets.com, shouldn't the address bar show redwidgets.com or still show red-widgets.com? I was under the impression that it would send me to the new url. Am I wrong?