Wondering if you could help me out with a question. We've registered 3 domain names: campaign51.com campaign52.com campaign53.com These are being promoted in different industry print publications. I'm looking for the best way to forward people landing on those URLs to CampaignSaver.ca I've seen several methods including: -hosting the sites and using meta tags or java -using DNS like forwarding and aliases I'm using Google Analytics on CampaignSaver.ca and hope that what ever method we choose for re-direct: [1] will show campaign##.com as the referring URL on our traffic sources report [2] won't be penalized in any way by the search engines. Any ideas? Thanks,
you can either do a 301 redirect or html redirect html redirect: <meta http-equiv="Refresh" content="0; url=http://new-url.com"> Code (markup): above html redirect code should be placed within <head></head> tag and where it says content = 0, it means zero second. if you want people to stay on the entry page longer before being redirected, then you can change the value to 1, 2, or 5 seconds
You are using windows hosting and asp or php or java for web development then you should go with 301 permanent redirection. It will help you to transfer your all seo value to destination site. following is the code to insert at your home page or desired page to transfer to your destination url: PHP Redirect <? Header( "HTTP/1.1 301 Moved Permanently" ); Header( "Location: http://www.new-url.com" ); ?> ASP Redirect <%@ Language=VBScript %> <% Response.Status="301 Moved Permanently" Response.AddHeader "Location","http://www.new-url.com/" %> ASP .NET Redirect <script runat="server"> private void Page_Load(object sender, System.EventArgs e) { Response.Status = "301 Moved Permanently"; Response.AddHeader("Location","http://www.new-url.com"); } </script> JSP (Java) Redirect <% response.setStatus(301); response.setHeader( "Location", "http://www.new-url.com/" ); response.setHeader( "Connection", "close" ); %>
The best method would be to use HTACCESS. HTACCESS is the most efficient way to perform a 301 redirect.
best practice calls for a 301 (permanent) redirect in the .htacess file. Avoid JavaScript, Meta or 302 redirects, they will just hurt your campaign.