.htaccess - can i set a 301 redirect into a rewrite rule? -


Can I set a 301 redirect in a rewrite rule?

For example, can I redirect this code to 301?

  Rev. ^ long - ([एज] {2}) / ([0-9] +) \ - ([a-zA-Z0-9-] *) \ .HTML ( . *) $ /product.php?id_product=$2&isolang=$1$4 [L, E] 

If you want Apache to be interested in your PHP script for the treatment of your static URL, you do not need to set a 301 response code for your static page. The 3xx response code is used only when you are redirecting one person from Page A to Page B with a change in URL.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -