最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

.htaccess URL Rewrite: POST data lost. How to preserve it? - Stack Overflow

programmeradmin1浏览0评论

This is my .htaccess file.

RewriteEngine on
RewriteCond %{REQUEST_URI} !(/$|\.) 
RewriteRule (.*) %{REQUEST_URI}/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?path=$1 [L,QSA]

It works. However, It does not preserve POST Data that is send from a Page... Let's say: www.exampledomain/newsletter to www.exampledomain/newsletter ...

How can I preserve the Post Data?

Thanks for any help...

I tried to look up some solutions online but nothing worked.

发布评论

评论列表(0)

  1. 暂无评论