hi to all, i am facing these problem, how can i resolve these : "Search engines may think www.xyz.com and xyz.com are two different sites.You should set up a permanent redirect (technically called a "301 redirect") between these sites. Once you do that, you will get full search engine credit for your work on these sites. " Plz give me valuable suggestion
whats your problem? You are giving the solution and asking for the suggestion. Its all depend on your choice. Do you want to keep www version or without www. Just do 301 redirect to a version that you don not want to have to your preferred one.
Try this if you are using Apache server In your .htaccess file add the following code by replacing my-domain with your domain name: RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} !^www.my-domain.com$ [NC] RewriteRule ^(.*)$ http://www.my-domain.com/$1 [L,R=301]
No this is not going to work with Windows Server. You have to work on IIS to do a redirect. I don't have experience with Windows Server. You can search on Google for IIS 301 redirect. You will find many helpful links like http://www.mcanerin.com/en/articles/301-redirect-iis.asp
You can use the following code in your global include page which should then be added to every page of your site: <% If InStr(Request.ServerVariables("SERVER_NAME"),"www") = 0 Then Response.Status="301 Moved Permanently" Response.AddHeader "Location","http://www." & Request.ServerVariables("HTTP_HOST") & Request.ServerVariables("REQUEST_URI") Response.End End if %> Code (markup): For reference see the following: http://www.beyondink.com/howtos/301-redirect.php#ASP
You can also upload .htaccess file with Linux Server Here is a article on how to do 301 redirect for window server http://www.submitawebsite.com/blog/2009/07/301-redirect-for-windows-server.html ....hope this will help you
i have a windows server, i want to redirect non-www version to www version. i have Plesk control Panel, plz tell me in details what steps i have to take.