Step 1

Enter your contact information.

Step 2

Enter your project information.

Step 3

Choose the PHP programmers you want to hire.

Compare Free PHP Quotes





Country



Protest SOPA: Black Out Your Website the Google-Friendly Way

*Attention PHP Programmers* - Add A Free Listing! Get more clients.

Win a new Compaq Presario Notebook!

On Wednesday Jan. 18, Reddit, Wikipedia and many other websites will black out their content in protest of the Stop Online Piracy Act (SOPA), the Protect Intellectual Property Act (PIPA) and the Online Protection and Enforcement of Digital Trade Act (OPEN). Organizers of the SOPA Strike are asking interested sites to black out their content for 12 hours and display a message encouraging users to contact their congressional representatives and urge them to oppose the legislation.

Although it was rumored that Google might join in the protest, that does not appear to be the case. The search giant does, however, have some advice for anyone who would like to black out their site and ensure that doing so doesn’t harm their Google search rank or indexed content. [Update: It appears Google will be participating in some fashion. A Google spokesperson tells Ars Technica that "tomorrow [Google] will be joining many other tech companies to highlight this issue on our U.S. home page.” Wordpress and Scribd will also be participating. You can read the full story on Ars Technica.]

Writing on Google+, Google’s Pierre Far offers some practical tips in a post entitled, “Website Outages and Blackouts the Right Way.” The advice mirrors Google’s previous best practices for planned downtime, but warrants a closer look from anyone thinking of taking their site offline to protest the SOPA/PIPA/OPEN legislation.

Far’s main advice is to make sure that any URLs participating in the blackout return a HTTP 503 header. The 503 header will tell Google’s crawlers that your site is temporarily unavailable. That way your protest and blacked out website won’t affect your Google ranking nor will any protest content be indexed as part of your site. If you use Google’s Webmaster tools you will see crawler errors, but that’s what you want — your site to be unavailable, causing an error.

Implementing a 503 header page isn’t too difficult, though the details will vary according to which technologies power your site. If you’re using WordPress there’s a SOPA Blackout plugin available that can handle the blackout for you. It’s also pretty easy to create a 503 redirect at the server level. If you use Apache ensure that you have the Rewrite module installed and then add something like the following code to your root .htaccess file:

    RewriteRule .* /path/to/file/myerror503page.php

That will redirect your entire website to the 503 error page. Now just make sure that your myerror503page.php page returns a 503 error. Assuming you’re using PHP, something like this will do the trick:

    header('HTTP/1.1 503 Service Temporarily Unavailable');
    header('Retry-After: Thu, 19 Jan 2012 00:00:00 GMT');

For more details, be sure to read up on the HTTP 503 header and see the rest of Far’s Google+ post to learn how to handle robots.txt and a few things you should definitely not do (like change your robots.txt file to block Google for the day, which could mean Google will stay away for far more than just a day). Even if you aren’t planning to participate in the anti-SOPA blackout tomorrow, Far’s advice holds true any time you need to take some or all of your site offline — whether it’s routine server maintenance, rolling out an upgrade or as part of a political protest.

[Image by SOPAStrike.com]

Source http://www.webmonkey.com/?p=53737
Tue, 17 Jan 2012 16:23:40 GMT
Tags: Google, Programming, SEO, servers, SOPA, Web Basics,

*Attention PHP Programmers* - Add A Free Listing! Get more clients.


Google


Google Video Adds YouTube Export Option

Good news Google Video users, Google has given the video sharing site a reprieve. Early this month Google announced it would shut down Google Video’s hosting services on April 29. Now Google has abandoned that deadline and is offering a new option t

Google’s New Page Speed Service Promises to Speed Up Your Website

Google still wants to make your website load faster. Google's new Page Speed Service is one part optimization tool and one part content-distribution network.

Google, Mozilla Team Up to Create a Smarter, Action-Based Web

Google has announced a new set of APIs for its Chrome web browser, which are designed to connect applications and sites across the web. Web Intents, as Google is calling its new meta-website API, allows websites to pass data between each other -- for exam

Programming


Cussing in Commits: Which Programming Language Inspires the Most Swearing?

As any programmer can tell you, programming will make you swear. But did you know that writing C++ will make you swear considerably more than PHP or Python? Developer Andrew Vos was looking for a weekend project when he decided to grab some one million co

Amazon S3 Storage Now Handles Entire Websites

Cheap, cloud-hosted web servers are a key component of a distributed web. But sometimes you don’t need a server, you just need a cheap way to host your static files, like images and videos. That’s the gap Amazon’s S3 service has long fil

Who Swears the Most? How Foursquare Used Hadoop to Find Out

We told you who swears the most in their code, but what about in the real world? Foursquare, the location check-in service, has used its rather large dataset to graph the “rudest” places in the English-speaking world — Manchester, U.K. t

SEO


How-to show popular posts on your WordPress blog?

Yesterday I replaced my list of current PHP articles on this blog with a list of popular articles. I’m sure it’s possible in WordPress to get those list if you count the number of comments, but actually I was looking for solution based on real

Members:
Petaluma
Skytec Hosting Profile
Skytec Hosting

Skytec Web Hosting is California based internet services company that specializes in web hosting solutions for corporate companies, small business enterprises, webmasters and individuals.

Petaluma, California US
Mapua
ABCDigital Web Design and Development Profile
ABCDigital Web Design and Development

ABC Digital is a design studio based in Aotearoa New Zealand. We specialise in web design and development, graphic design / design for print, sound design and audio / soundtrack production.

Mapua, Tasman NZ
Melfa
Eagle Studios Profile
Eagle Studios

Melfa, Virginia US
Zrenjanin
Mirza Delic Profile
Mirza Delic

PHP/MySQL Developer

Zrenjanin, Vojvodina RS
Stockbridge
Secure Website Services Profile
Secure Website Services

Web Design, Graphic Design, SEO, Web Hosting, Servers and Marketing Solutions. Prices start at only $50!

Stockbridge, Georgia US
Design Leads


PHP Programmers Valid HTML 4.0 Transitional Valid CSS!

Internet Explorer: The Browser You Love to Hate

Microsoft's latest promotional effort for Internet Explorer takes a humorous look at the nerd fury i



WordPress 3.2: Write More, IE Less

WordPress has released an upgrade for the popular, self-hosted blogging platform. Unlike the last fe



Internet Explorer 9 Arrives With More Speed, Better Web Standards Support

Microsoft has released Internet Explorer 9, the first major update for Microsoft’s browser in



Google Cloud Print, Now With PDF Power

An update for Google's Cloud Print service turns your Android device into a printer, making it easy



Mozilla’s ‘Do Not Track’ Header Is Starting to Catch on With Advertisers

Among the many new features in Firefox 4 is support for the Do Not Track (DNT) HTTP header. If you t



Article Tags
PHP Programmers Articles
Browsers| Web Standards| CSS| HTML5| firefox| Web Basics| Programming| Web Services| Mobile| JavaScript| Web Development| Visual Design| Multimedia| chrome| Google| responsive design| This Week in Web| CSS 3| Opera| Web Apps|
Friends:
Live Help Chat Software
Web Design Quote
Web Design