P
P
PO6OT2015-04-21 23:08:22
Apache HTTP Server
PO6OT, 2015-04-21 23:08:22

How to make the same redirection rules for non-existing and existing files?

I wrote in .htaccess: RewriteRule ^([\/ a
-zA-Z0-9]+)/$ ?p=$1 [L]
when requesting an existing folder site.com/bar redirects to site.com/bar/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel K, 2015-04-22
@PavelK

RewriteCond accidentally not registered above?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question