• How to edit .htaccess file?

    • views 566

    Specifically, where in the .htaccess file this command is inserted - RewriteRule .*\\. (Pdf|png|gif|jpg|docx)$ -

    Solutions (1)

    Good afternoon! \NYour team should be inserted after the command "RewriteEngine on" in the .htaccess file

    Answers (4)

    Clarify the question, where to insert a line, depends on the editor

    We need more information in order to best help you. What kind of editor do you use?

    For example: \nRewriteEngine on\nOptions +FollowSymlinks\nRewriteBase /\nRewriteRule .*\\.(pdf|png|gif|jpg|docx)$ -

    Insert it at the beginning of the file

We do our best for you!
Rate the article
Tell the world about it

Users (1) 5.0 of 5

  • In order to provide you with the best online experience this website uses personal data (cookies, IP, email, photo, name, website, etc). By using our website, you agree to our use of your personal data. More info we get commissions from the hostings, but our ratings are honest and the reviews are real.
  • Important

    We are in BETA. We need your help!

    Anonymous reviews are not allowed!

    Every month we add $50 to the account of a randomly selected user.*

    In addition, you will receive a free permanent link to your site after you leave an honest review!