- Drupal 6 Search Engine Optimization
- Ben Finklea
- 820字
- 2021-04-01 14:01:53
Google Webmaster Tools
If you've got a site that shows up in Google then you need a Google Webmaster Tools account. The Google Webmaster Tools provide you with detailed reports about your pages' visibility on Google. It's one of the most direct ways that you can communicate with Google about your site. It allows you to upload an XML sitemap, see if there are any problems with your site and fix them. It even lets you control the Google spider so that it doesn't drag your site down with constant visits.
To use the tool, you need to verify your site. Fortunately, there is a great module called the Site verification module that helps you verify your site with the search engines. It was created and is maintained by Dave Reid. Thanks, Dave! You'll always be verified in my book!
Verify your site with Google
Carry out the following steps to verify your site with Google:
- Go to http://www.google.com/webmasters/tools and sign in using your Google account.
- Type the URL of your web site in the empty box, named Dashboard, and click on Add Site. Your site is now added and it needs to be verified.
- Click on the Verify link, located next to your site name, as shown in the following screenshot:
- Under the Choose verification method... option, select Upload an HTML file.
- Copy the filename provided, as shown in the following screenshot:
- Now, install the Site verification module. Refer to the earlier part of this chapter for the step-by-step module installation instructions.
- Go to http://www.yourDrupalsite.com/admin/build/site-verify/add/google. You'll see a screen similar to the following screenshot:
- In the Verification file field, paste in the filename that you got from Google and click on the Save button.
- Test the URL. In your browser, open the following link: http://www.yourDrupalsite.com/<nameofspecialGooglefile.html>. You'll be able to see a screen similar to the following screenshot:
- Go back to Google Webmaster Tools and click on the Verify button. In a few seconds, you should see the success message, as shown in the following screenshot:
Google Webmaster Tools settings
Now that your site is verified with Google, you can take advantage of all the great features that Google Webmaster Tools has to offer. Here are a few to which you should pay particular attention.
Depending on how you set up your .htaccess
file (refer to Chapter 7, robots.txt, .htaccess, and W3C Validation), you can access your Drupal site using a www
or not. For example, http://www.yourDrupalsite.com/ or http://yourDrupalsite.com/ both will point to the front page of your site. This is not ideal because Google may treat those two URLs as two different pages and assume they contain totally different content. You'd actually be competing with yourself in Google and that's not a good thing.
Fortunately, you can fix this problem using the preferred domain setting. The preferred domain is the one that you would like used to index your site's pages and to have show up in Google. If you specify your preferred domain as http://www.yourDrupalsite.com and Google finds a link to your site that is formatted as http://yourDrupalsite.com, they'll treat that link as if it was http://www.yourDrupalsite.com. In addition, Google will take your preference into account when displaying URLs in the search results.
To set a preferred domain in Google Webmaster Tools carry out the following steps:
Tip
Does it matter, which one?
No, not really. You can choose either www
or non-www
— there is no advantage between the two. However, you should pick one. If you don't specify Google may split the value of the incoming links to your site between the two options, which will lower your overall ranking.
If you are on a slow server, you may want to consider asking Google to be a bit more considerate about how much data it grabs from your site at a time. This is called the crawl rate. It doesn't effect how often Google visits, just how many pages they ask for at a time. It can be very helpful if you're experiencing a server slowdown.
- 中文版After Effects CC實(shí)用教程
- ERP沙盤(pán)模擬簡(jiǎn)明教程
- 視覺(jué)封王:Photoshop CC 2019立體化教程(素材+視頻+教案)
- 中文版Illustrator CC 2018基礎(chǔ)培訓(xùn)教程
- PS App UI設(shè)計(jì)從零開(kāi)始學(xué)
- JBoss Tools 3 Developers Guide
- CINEMA 4D新手快速進(jìn)階實(shí)例教學(xué)
- UG NX12中文版實(shí)用教程
- 中文版UG NX 7.0基礎(chǔ)教程
- 電腦寫(xiě)作與定制五筆(第2版)
- Deep Inside osCommerce: The Cookbook
- 中文版Photoshop 2020基礎(chǔ)培訓(xùn)教程
- Building Websites with Mambo
- Photoshop CS6淘寶美工完全實(shí)例教程(全視頻彩色版)
- SolidWorks 2015中文版機(jī)械設(shè)計(jì)從入門(mén)到精通