TAILIEUCHUNG - Tìm Hiểu về Wordpress - part 32

Tham khảo tài liệu 'tìm hiểu về wordpress - part 32', công nghệ thông tin, đồ họa - thiết kế - flash phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Taken together the previous two sets of directives give us this Disallow wp- Disallow .php Disallow feed Disallow trackback Disallow 20 See the pattern here We use the Disallow directive to restrict the crawling of any URL matching the specified regular-expression regex pattern. But use caution regular expressions are powerful stuff so be sure you know what you are doing before experimenting on your own. How to Allow Search Engine Access The Allow robots directive is designed to explicitly allow search engine access to specific files. When using wildcards to disallow entire directories for example the Allow directive may be used to override the setting for a specific directory or file. For example I use the following directives to prevent compliant search engines from accessing anything contained within my Mint statistics directory Disallow mint This works great because it keeps Google et al from trespassing where they don t belong. As it turns out however there is one otherwise affected URL pattern that I want the search engines to access namely my downloadable files. Using the Download Counter Pepper http u 220 to monitor my site s downloads my download URLs are rewritten as follows http press mint pepper orderedlist downloads With my directive in place search engines will never see my downloadable goodies. This is where the awesome Allow directive comes into play. I now allow access to all of my downloads with a single robots directive Allow mint pepper orderedlist downloads Now any download URL otherwise blocked via the previous Disallow directive is now explicitly allowed. Awesome. 297 Express Yourself For more help with regular expressions check out this reference from http uZ221 XML Sitemap Plugin Using a sitemap for your site is an effective way to help the search engines crawl and index your content. For an easy way to set up a sitemap for your site check out .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.