"I am webby and I think webby" - AjiNIMC aka Aji Issac Mathew - "I thought and I wrote".

 AjiNIMC logo - Aji Issac Mathew I am Aji Issac Mathew also known as AjiNIMC at various forums. I am webby and I think webby, being a part time blogger, this blog is a documentation of my experiences and my learning.
Blog Stats (06 June 2008): There are currently 306 posts and 1100 comments (and 397,307 spam comments), contained within 17 categories.
RSS for Aji Issac Mathew's blog 
  I am into professional Web Marketing services which includes Web marketing strategies, SEO/SEM, Content Designing, Web Designing for usability, conversion improvement and various other things. There are limited availability per month. We don't take too many clients but we make sure that all our clients get their share of success. I worked on in-house sites for over 5 years, now is the time to help others with my experience. I have a great team helping me achieve this. A very creative and experienced team. Contact aji.issac (at the rate) digitalavenues.com and get your share of success.  

 Home >

Video: Http Vs Https - Duplicate content issues

Jan
3


The solution using htaccess


# Redirecting the robots.txt file for htaccess to stop https crawling to avoid duplicate content.
RewriteCond %{SERVER_PORT} 443 [NC]
RewriteRule ^robots.txt$ robots_ssl.txt [L]

There are other ways of solving it too like

< ?php
if ($_SERVER["SERVER_PORT"] == 443)
{
echo "< meta name=" robots " content=" noindex,nofollow " > “;
}
?>

You can even do canonicalization but it is not always possible as you want both the urls to be accessible.

This post was written by AjiNIMC aka Web Kotler at 9:25 pm under category Online Marketing, Tech Talks, Video(




4 Comments »

  1. Great Videos! You mention to run your site through a webmaster tool to see how it’s reading the robots.txt files, do you have a tool you would recommend to use?

    Thanks!



    Miles Baker on January 19, 2008 - 9:46 am @ 9:46 am

  2. Hi Miles, great to have your comment.

    Google provides webmaster tools, it is really great, you can check and verify in detail. https://www.google.com/webmasters/tools/ (create an account if you haven’t)

    I am working on a new project based on supplement results for wordpress. I am using http://www.meabhi.com/blog/find-supplemental-ratio/ for the project. One shouldn’t miss this experiment.

    Please let me know if I can be of any further help.

    Regards,
    Aji aka AjiNIMC



    AjiNIMC on January 19, 2008 - 10:34 am @ 10:34 am

  3. Thanks a lot for the tips! I have a similar problem with my https being displayed which I don’t want.

    I am not sure I understand where would you add that php code you mentioned:

    thanks
    Gabi.



    Gabi on May 8, 2008 - 9:20 pm @ 9:20 pm

  4. This is particular to my solution, send me the website and i will help with the particular example.



    AjiNIMC aka Web Kotler on May 8, 2008 - 10:25 pm @ 10:25 pm

RSS feed for comments on this post · TrackBack URI

Share your thoughts

You are visitor number