8
votes
Does adding a huge list of bots on .htaccess slow the site down?
It may have some impact, but it is usually very low (if properly configured). Here's a StackOverflow answer for a user who claimed in their experiments it took 10-12ms for a 1500 line file.
Some ...
1
vote
How to redirect all pages of Site A to home page of Site B using .htaccess to track referrals using Google UTM
The following solution works for me. This code was added to the .htaccess file and it redirected all the pages in Site A to the Home Page of Site B.
RewriteEngine On
RewriteRule ^(.*)$ https://SiteB....
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
htaccess × 1626mod-rewrite × 400
redirects × 383
apache × 342
301-redirect × 248
url-rewriting × 187
seo × 156
wordpress × 130
php × 130
url × 93
apache2 × 92
https × 84
subdomain × 62
domains × 48
404 × 41
security × 33
web-hosting × 30
google-search-console × 27
no-www × 27
robots.txt × 26
cpanel × 26
web-crawlers × 25
html × 24
dns × 24
google × 18