Htaccess File

learn2me/simpleblog/master/public_html/.htaccess

HTTP_USER_AGENT, REQUEST_FILENAME
AddDefaultCharset UTF-8

<IfModule mod_rewrite.c>

    RewriteEngine On
  
  RewriteCond %{HTTP_USER_AGENT} libwww-perl.* 
  RewriteRule .* – [F,L]  
  
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php?_url=/$1 [QSA,L]
    
</IfModule>
Exit mobile version