Website Development
Файл robots.txt для сайта WordPress
Публикую используемый мной robots.txt с запретом работы некоторым поисковым ботам. User-agent: Exabot Disallow: / User-agent: IDBot Disallow: / User-agent: Wotbox Disallow: / User-agent: Baiduspider Disallow: / User-agent: Baiduspider-image Disallow: / User-agent: Baiduspider-video Disallow: / User-agent: Baiduspider-news Disallow: / User-agent: Baiduspider-favo Disallow: / User-agent: Baiduspider-cpro Disallow: / User-agent: Baiduspider-ads Disallow: / User-agent: Baidu Disallow: / User-agent: MJ12bot Disallow: / User-agent: AhrefsBot Disallow: / User-agent: dotbot Disallow: / User-agent: Riddler Disallow: / User-agent: SemrushBot Disallow: / User-agent: LinkpadBot Disallow: / User-agent: BLEXBot Disallow: / User-agent: FlipboardProxy Disallow: / User-agent: aiHitBot Disallow: / User-agent: trovitBot Disallow: / User-agent: * Disallow: /cgi-bin Disallow: /wp-admin … Continue Reading
Redirect from HTTPS to HTTP
To redirect your website from HTTPS to HTTP, add the following rule in your website’s .htaccess file: # Redirect HTTPS to HTTP RewriteCond %{HTTP:X-Forwarded-Proto} =https RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]