good day

currently want to add a .htaccess to a wordpress-site

some musings about the creation:

well, heard that apparently the position of commands affects the performance of the site,
What about the placing of the commands - what about the positoin!?

Is it a problem that the basic commands of WordPress are placed in the third or forth place ?

Code:
<IfModule rewrite_module>
     RewriteEngine On
     ...
     ...
     ...
</IfModule>

well my friends told me that the htaccess file. It consists of four or even five parts:



note: in earlier times i had a very very simple htaccess file: it looked like so:



Code:
redirect www to non www
redirect to https
WordPress
LSCACHE
cPanel-generated handler
Code:
BEGIN WordPress


RewriteEngine On

RewriteBase /

RewriteRule ^index\.php$ ? [L]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /index.php [L]

# END WordPress

what do you say - is this all i need. Can i run the file like this!?