How to Create Robots.txt file February 7, 2019 bizadmin Make Friends with the Robot or How to Create the Robots.txt File What is the robots.txt file? The robot.txt file is a text file which should be placed on the web server and tell the web crawlers rather access a file or not. What is the point? The robot.txt is a very powerful file to delete the indexing pages without quality content. For example, you have two versions of a page: the one for viewing in browsers and the other for printing. You had better the printing version expunged from crawling, or else you would risk being imposed a duplicate content penalty. Basic robots.txt examples: Note: to be applicable; the robots.txt should be placed in the top-level directory of a web server, i.e., https://yoursite.com/robots.txt How to create a robots.txt file? As long as a robots.txt file is just a text file, you can use the Notepad or any other plain text editor. You can also create it in the code editor or even “copy and paste” it. Don’t focus on the idea that you are making a robots.txt file, just think that you are writing a simple note. They are pretty much the same process. You can create the robots.txt file in two ways: manually and using online services. Manually: As previously mentioned, you can create the robots.txt using any plain text editor. Create the content, depending on your requirements, and save it as a text file with the name of robots in txt format. It is simple as ABC. Creating the robots.txt file should not be a problem even for beginners. Online: You can create the robots.txt file online and download it cut and dried. There is a great number of online servers for robots.txt creation. It is up to you which one to use. But you have to be careful and check your file if it contains some forbidden information. Otherwise, the creation of the file robots.txt online can turn into a tragedy. To create the robots.txt, this manner is not that safe, as manually because the file created manually reflects more accurately the structure of restriction. How to set up a robots.txt file? The proper robots.txt file configuration prevents the private information to be found by the search engines. However, we should not forget that the robots.txt commands are no more than a guide to action, and are not the protection. The robots of reliable search engines, like Google, follow the instructions in a robots.txt, but other robots can easily ignore them. To achieve the result, you have to understand and use robots.txt correctly. The correct form of the robots.txt begins with the directive “User-agent” naming the robot that the specific directives are applied to. For example: Please note that this setting makes the robot use only the directive corresponding to user-agents name. Here are the examples: The user-agent directive provides only the task to a particular robot. Right after the directive, there are the tasks for the named robot. In the previous example, you can check up the usage of the prohibited directive “Disallow” that means “/*utm.” That is how we close the pages with UTM-marks. The example of an incorrect line in robots: The case of a correct line in robots: As you can see in the example, the tasks in the robots.txt go in blocks. Every block considers the instruction for the certain robot or all the robots “*” Plus, it is very important to observe the right order of the tasks for robots.txt when you use both directives “Allow” and “Disallow” “Allow” is the permission directive which is the opposite to the “Disallow” directive, the forbidden one. The example of using both directive: This example forbids all the robots to index the pages beginning with “/blog”, and permits to index the pages beginning with“/blog/page”. The same example in the right order: At first, we forbid the whole part, and then we permit some of its parts. Here is the other way to use both directives: You can use the directives “Allow” and “Disallow” without switches, though it will be read opposite to the switch “/”. The example of the directive without switches: So, it is up to you how to create the right directive. Both variants are appropriate. Just be attentive and do not get confused. Just put the right priorities and point the forbidden details in the switch of the directives. Robots.txt syntax The search engine robots execute the commands of the robots.txt. Every search engine can read the robots.txt syntax in its way. Check the set of the rules to prevent the common mistakes of the robots.txt: Every directive should begin from the new line. Don’t put more than one directive on the line. Don’t put the space in the very beginning of the line. The directive switch must be on one-line. Don’t put the directive switch in quotes. Don’t put a semicolon after the directive. The robot.txt command must be like: [Directive_name]:[optional space][value][optional space]. The comments must be added after hash mark #. The empty line can be read as the finished directive User-agent. The directive “Disallow” (with a null value) is equal to “Allow: /” and means to allow everything. There is just one switch put in the directives “Allow” and “Disallow”. The uppercase letters are not allowed in the file name. For example, Robots.txt or ROBOTS.TXT is not correct. It is inappropriate to put the initial uppercase letters in the directive name. The robots.txt is not so case-sensitive, while the names of files and directories are very case-sensitive. In case the directive switch is the directory, put slash “/” before the directory name, i.e. Disallow: /category. Too heavy robots.txt (more than 32 Kb) are read as allowed and equal to “Disallow:”. Unavailable robots.txt can be read as allowed one. If the robots.txt is empty, it will be read as allowed one. Some listing directives “User-agent” without empty lines will be ignored, except the first one. Using the national characters is not allowed in robots.txt. As far as different search engines can read the robots.txt syntax in their way, some rules can be missed. Try to put just compelling content to the robots.txt. Remember that brevity is everything. The fewer lines you have, the better the result will be. And also attend your content quality. Testing your robots.txt file To check the correctness of the syntax and file structure, use one of the special online services. For example, Google proposes its website analysis service: https://www.google.com/webmasters/tools/siteoverview?hl=ru The robot that Google uses to index its search engine is called Googlebot. It understands a few more instructions than other robots. To check the robots.txt file online, put the robot.txt to the root directory of the website. Otherwise, the server will not detect your robots.txt. It is recommended to check your robots.txt availability, i.e.: your_site.com/robots.txt. There is a huge amount of online robots.txt validators. You can choose any. Robots.txt Disallow Disallow is the prohibitive directive that is frequently used in the file robots.txt. “Disallow” prohibits to index the website or some of its parts. It depends on the path given in the directive switch. The example of forbidden website indexation: This example closes the access for all robots to index the website. The special symbols * and $ are allowed in the Disallow directory switch. * – any quantity of any symbols. For example, the switch /page* suffices /page, /page1, /page-be-cool, /page/kak-skazat. $ – points to the switch value correspondence. The directive Disallow will prohibit /page, but the website indexation /page1, /page-be-cool or /page/kak-skazat will be allowed. If you close the website indexation, the search engines can react with “URL restricted by robots.txt” error. If you need to prohibit the page indexation, you can use not just robots txt, but also the similar HTML-tags: meta name=»robots» content=»noindex»/> — not to index the page content; meta name=»robots» content=»nofollow»/> — not to follow the links; meta name=»robots» content=»none»/> — forbidden to index the page content and follow the links; meta name=»robots» content=»noindex, nofollow»/> — equal to content=»none». Robots.txt Allow Allow is opposite to Disallow. This directive has a similar syntax with “Disallow”. The example of forbidden website indexation allowed some of its parts: It is forbidden to index the whole website, except the pages beginning with the /page. Allow and Disallow with an empty value Robots.txt file is one of the most important SEO tools, as it has a direct impact on your website indexation process. This tool is indispensable to interact with the web crawlers. – Nancy Ryan, Magenet
5 Tips to Keep Your Chin Up December 27, 2018 bizadmin Don’t you find the infographic above colorful and attractive? Well, as it is self-explanatory, I shall not delve deeper into the contents. The titles are as below: 1. Do something impulsive 2. Have rituals 3. Exercise at least 10 minutes a day 4. Take Breaks – add some novelties in your daily routine. 5. Learn something new – this is so pertinent now especially in the new technology age where it keeps changing and newer programs and apps come out very fast. If you don’t change, you will be left behind and need to keep up with the new in-thing. People progress because they are able to innovate or learn new kinds of stuff and features of applications daily. I also need to remind myself not to be too complacent or lazy; because it is human nature to take things easy. A nugget of wisdom from Instagram that I recall is this: Don’t sleep like you are rich, but work like you are broke! And follow the example of the ant – always hunting for food and store it up during summer for winter. Else the grasshopper that sings all day will go hungry during winter. For more details, just read through the infographic above that is carefully curated for your reading pleasure.
Coding Dojo for the Beginner December 9, 2018 bizadmin Hey future developer, We understand that learning to code is tough — especially if you’ve never done it before. One way we get our students to break the ice and code is by having them go through our Algorithm App. Coding Dojo’s Algorithm Platform Your tool to master the fundamentals Launch Algo App You’ll learn the fundamental building blocks of programming, so you can jump right into learning any programming language. Everything is self-paced, and there’s no cost to use the platform (it’s also a great way to get your feet wet!). If you’re thinking about landing a career in tech, our Onsite Bootcamp can get you there. Scholarships (up to $1,000) and financing options available — begin your application today. Happy Coding 🙂 OVERVIEW Our Algorithm Platform offers a free collection of online lessons and challenges designed to refine your knowledge of algorithms – the basic building blocks of all computer programming. Throughout the platform you will learn through a mixture of exercises, video tutorials, and coding challenges that will cover fundamental concepts such as for loops, if/else statements, array manipulation, and more. If programming is indeed a passion of yours, we offer more extensive courses at Coding Dojo for aspiring and advanced developers, such as our full-time coding bootcamp and online courses. Rajan Have a question that can’t wait? Schedule a time with an advisor
Fight Against Fraud and Protect Your Revenue with Ads.txt December 6, 2018 bizadmin There is a presentation by Google on the fight against fraud and protect your revenue. You can check out more information and for my own reference too at this link >> HERE using Ads.txt If I own a Shopify store again or an e-commerce store, I will surely implement Ads.txt for my online shop in the root domain. By the way, ADS stands for Authorized Digital Sellers and Ads.txt enables content owners to create a public record declaring who is authorized to sell their inventory. It stops counterfeits and protects your earnings. Almost 600,000 domains have already added Ads.txt to their sites. You can check out the link above for more information. Should I need Ads.txt in the near future, I will come back to read this blog post as a reminder of how to implement it. Happy weekday and happy working!
Secure Your Site with HTTPS November 22, 2018 bizadmin Secure your site with HTTPS Protect your site and your users What is HTTPS? HTTPS (Hypertext Transfer Protocol Secure) is an internet communication protocol that protects the integrity and confidentiality of data between the user’s computer and the site. Users expect a secure and private online experience when using a website. We encourage you to adopt HTTPS in order to protect your users’ connections to your website, regardless of the content on the site. Data sent using HTTPS is secured via Transport Layer Security protocol (TLS), which provides three key layers of protection: Encryption—encrypting the exchanged data to keep it secure from eavesdroppers. That means that while the user is browsing a website, nobody can “listen” to their conversations, track their activities across multiple pages, or steal their information. Data integrity—data cannot be modified or corrupted during transfer, intentionally or otherwise, without being detected. Authentication—proves that your users communicate with the intended website. It protects against man-in-the-middle attacks and builds user trust, which translates into other business benefits. Best practices when implementing HTTPS Use robust security certificates You must obtain a security certificate as a part of enabling HTTPS for your site. The certificate is issued by a certificate authority (CA), which takes steps to verify that your web address actually belongs to your organization, thus protecting your customers from man-in-the-middle attacks. When setting up your certificate, ensure a high level of security by choosing a 2048-bit key. If you already have a certificate with a weaker key (1024-bit), upgrade it to 2048 bits. When choosing your site certificate, keep in mind the following: Get your certificate from a reliable CA that offers technical support. Decide the kind of certificate you need: Single certificate for single secure origin (e.g. www.example.com). Multi-domain certificate for multiple well-known secure origins (e.g. www.example.com, cdn.example.com, example.co.uk). Wildcard certificate for a secure origin with many dynamic subdomains (e.g. a.example.com, b.example.com). Use server-side 301 redirects Redirect your users and search engines to the HTTPS page or resource with server-side 301 HTTP redirects. Verify that your HTTPS pages can be crawled and indexed by Google Do not block your HTTPS pages by robots.txt files. Do not include meta noindex tags in your HTTPS pages. Use Fetch as Google to test that Googlebot can access your pages. Support HSTS We recommend that HTTPS sites support HSTS (HTTP Strict Transport Security). HSTS tells the browser to request HTTPS pages automatically, even if the user enters http in the browser location bar. It also tells Google to serve secure URLs in the search results. All this minimizes the risk of serving unsecured content to your users. To support HSTS, use a web server that supports it and enable the functionality. Although it is more secure, HSTS adds complexity to your rollback strategy. We recommend enabling HSTS this way: Roll out your HTTPS pages without HSTS first. Start sending HSTS headers with a short max-age. Monitor your traffic both from users and other clients, and also dependents’ performance, such as ads. Slowly increase the HSTS max-age. If HSTS doesn’t affect your users and search engines negatively, you can, if you wish, ask your site to be added to the HSTS preload list used by most major browsers. Consider using HSTS preloading If you enable HSTS, you can optionally support HSTS preloading for extra security and improved performance. To enable preloading, you must visit hstspreload.org and follow the submission requirements for your site. Migrating from HTTP to HTTPS If you migrate your site from HTTP to HTTPS, Google treats this simply as a site move with URL changes. This can temporarily affect some of your traffic numbers. See the site move overview page to learn more. Add the new HTTPS property to Search Console: Search Console treats HTTP and HTTPS separately: data is not shared between properties in Search Console. See the troubleshooting page for sitemap moves to troubleshooting problems with your migration. More information More details on implementing TLS on your site: Qualys SSL/TLS best practices SSL/TLS Mozilla wiki