我有以下.htaccess:
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^projects/([a-zA-Z0-9\-]+)$ project.php?project=$1 [NC,L]
RewriteRule ^objects$ category.php?category=objects [NC,L]
RewriteRule ^environments$ category.php?category=environments [NC,L]
RewriteRule ^studio$ studio.php [NC,L]
RewriteRule ^submitted$ contact-form-thank-you.php [NC,L]
RewriteRule ^$ index.php [NC,L]
在我的本地开发过程和测试服务器上工作得很好。我把它放在生产网站上,突然mysite.com/studio
给了我404错误。所有其他人都很好。并且,转到mysite.com/studio.php
工作正常
这是一个GoDaddy网站。