/page to /page.php
RewriteRule ^([az]+)/{0,1}$ $1.php [QSA,L] What other variants of such redirection by mod_rewrite could be?
/page to /page.php
RewriteRule ^([az]+)/{0,1}$ $1.php [QSA,L] What other variants of such redirection by mod_rewrite could be?
Source: https://ru.stackoverflow.com/questions/469437/
All Articles
header("HTTP/1.1 404 Not Found");, more precisely, it works, but no redirection happens: the user remains but the page where this header was called. - Plush[QSA,L]with[QSA,L,R]and see which page it tries to open. - VismanError 403and in the address bar opens the full path to the file from which the 404 header was sent (this is on localhost) - Plush