This Forum has been archived there is no more new posts or threads ... use this link to report any abusive content
==> Report abusive content in this page <==
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
301 redirect from rambina.com to www.rambina.com?
04-08-2014, 09:17 PM
Post: #3
 
Since you are using Windows IIS7 web server, htaccess redirect won't work for you buddy. It will work only in Apache servers only. Redirection in IIS7 is a bit complex and will be difficult for even intermediate level people. You can use either ASP or PHP redirect as you can find the link below. Unfortunately you have to add this code to every individual pages in your website. I would go with PHP redirect as it will be easier. 301 Redirection is highly recommended in SEO point of view.

<?php
// Permanent redirection
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://example.com/");
exit();
?>

Edit with PHP editor and check for syntax errors caused by white spaces.

Additionally for handling duplicate pages of (www version and non www version), kindly set a Preferred domain in Google Webmaster account. Based on your preferred domain, set the redirection perfectly. You can check the status of server header(redirection) through many online tools available.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
[] - Albert - 04-08-2014, 09:13 PM
[] - spicy_shafi - 04-08-2014 09:17 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)