1
我注意到,从本地主机转移我的文件到开发服务器后,我的形式将不再有效(它完美罚款在当地的环境)。在我看来,这是因为.htaccess的内容。的.htaccess防止POST形式从工作
相关格式代码:
<form id="formbuilder" method="post" action="<?php echo get_template_directory_uri() ?>/add_entry.php">
和内容的.htaccess:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
有没有什么办法可以改变在某种程度上,它会让我更新我的职务要求htaccess的?当我在开发工具中检查它时,请求在'add_entry.php'结束。 感谢您的任何提示, S.