"; } if($comments == null) { $error=1; $errormessage .= "Comments is blank
"; } if($email == null) { $error=1; $errormessage .= "Email is blank
"; } // check for an error, print error message and exit. if($error == 1) { echo $errormessage; exit(); } //If it has been pressed send the email //Set variables for email $to = "info@bipan.com.np"; //Set this to your email address $sub = "My Bro"; //Set this to the subject of the email $msg = "email: " . $email . "nName: " . $name . "nComment:n" . $comments; //Set this to the content of the email $headers = "From: " . $email . "rn"; $headers .= "Date: " . date("r"); //Send email mail($to,$sub,$msg,$headers); //Confirm that email has been sent echo"Email sent."; } else{ //If it has not been pressed display form ?>
Name:

Email:

Comments:
Our Guarantees Why A Website? News Hosting Reseller

Web Hosting News

HANDLING DUPLICATE CONTENT IN YOUR WEBSITE

[03/08/2010]

When you are building your own website, sooner or later you run into the question - how to handle duplicate content? What do I mean by that? Imagine that you have a highly visited web page, which receives most of the daily visits. You are planning to re-design the website, and give this web page a new URL and a fresh new look, but don’t want to lose all that traffic from that old page. And you can’t keep both of them online, since they will have most likely the same content text-wise - something, which is often penalized by search engines. How do you proceed from there?

The best practice is to do a 301 redirect. The 301 message on the Internet is handled by the search engine as: moved permanently. Here is how you can make a 301 redirect for your web page:

With PHP:

The code needs to be placed in the Header section of the website, so that the search engine can read it first.

Header( “HTTP/1.1 301 Moved Permanently” );
Header( “Location: http://www.new-url.com” );

With .htaccess:

RewriteEngine on
RewriteRule ^old\.php$ http://www.domain.com/new.php [R=permanent,L]

The code above will direct all the traffic from the old.php to the new.php page.

With the rel=”canonical” directive:

If you run an online store and want to sell a custom made handbag, which is available in several colors, and decide to dedicate a separate page on your site for each color, then you have about 3 or 4 identical pages. You can use the rel=”canonical” element to direct all traffic to the page with the most popular color.

This will lead a search engine to point all the traffic from the similar pages to the page you have specified. This code needs to be placed in the header section of all the web pages you wish to lead somewhere else.

With the URL Redirection Manager in the Web Hosting Control Panel:

If you don’t like to meddle with code, or with new file creation, or anything like that, you can use the handy URL Redirection Manager available with all our shared web hosting plans, where a simple web interface will allow you to choose which pages to be redirected and what redirection code to be used.



Home   |   Web Hosting   |   Domain Names   |   Free Bonuses   |   Order   |   Support   |   Members   |   About us
Privacy Policy   |   Domain Resolution Policy   |   Terms & Conditions
Toll Free Phone Numbers
Please say our ID: 63470
99.9% Uptime Guarantee30 Day Money Back GuaranteeAcceptance MarkAmerican ExpressMasterCardVisa
free and cheapest web hosting, domain registration, web promotion, e-mail service provider from Nepal kathmanduWant to Study Abroad? AbroadEducation Contains all the information about Student Visa Process, Work permit, Universities list, Courses, Student Life, Scholarships and Financial aids available in USA, Canada, UK, Australia, Germany, Netherlands, Poland, Cyprus, France, Ireland, Japan, China, Switzerland, New Zealand, Singapore and Russia. And practicing test like IELTS, TOEFL, GRE, GMAT, SAT online.A furniture Company industry, cheap and fast wooden furniture manufacturer from nepal, kathmandu, Bed, Sofa, Cupboard, Dining Table, Computer Table, Readymade and order, desksLandMark Educational Consultancy Centerbipanfree and cheapest web hosting, domain registration, web promotion, e-mail service provider from Nepal kathmanduFree Press ReleaseArticle DirectoryTourism site of NepalWeb Directory