Redirect POST htaccess?

Your "add trailing slash" rule forces a header redirect: R=301,L a header redirect will drop POST values You will have to drop that rule, or disable it for POST submissions: Forces a trailing slash to be added RewriteCond %{REQUEST_METHOD}! =POST RewriteCond %{REQUEST_FILENAME}! -f RewriteCond %{REQUEST_FILENAME}!

-d RewriteCond %{REQUEST_URI}!(\. A-zA-Z0-9{1,5}|/)$ RewriteRule (.*)$ /$1/ R=301,L.

Your "add trailing slash" rule forces a header redirect: R=301,L a header redirect will drop POST values. You will have to drop that rule, or disable it for POST submissions: # Forces a trailing slash to be added RewriteCond %{REQUEST_METHOD}! =POST RewriteCond %{REQUEST_FILENAME}!

-f RewriteCond %{REQUEST_FILENAME}! -d RewriteCond %{REQUEST_URI}!(\. A-zA-Z0-9{1,5}|/)$ RewriteRule (.*)$ /$1/ R=301,L.

1 I often see that people use only regex-based comparisons, but not string-based: RewriteCond %{REQUEST_METHOD}! =POST. Why?

;-) – zerkms Jan 9 at 12:20 @zerkms fair point :) To be honest, I wasn't even aware that notation was possible. Thanks, fixed – Pekka Jan 9 at 12:21.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions