admin管理员组文章数量:1130349
I was working on the live site, I think the plugin cause file .htaccess corrupted so my site is down "500 Internal Server Error", I read a solution to rename .htaccess but when I use Filezilla to do it get "550 rename failed" so I can not rename it, I try to go setting -> save permalinks but not working. is there anyway other way to fix .htaccess error? please help me its emergency.
I was working on the live site, I think the plugin cause file .htaccess corrupted so my site is down "500 Internal Server Error", I read a solution to rename .htaccess but when I use Filezilla to do it get "550 rename failed" so I can not rename it, I try to go setting -> save permalinks but not working. is there anyway other way to fix .htaccess error? please help me its emergency.
Share Improve this question asked Oct 12, 2016 at 12:56 YoonaYoona 391 gold badge4 silver badges11 bronze badges 2- 1 You could try just deleting the .htaccess and then re-saving the permalinks to regenerate a completely new .htaccess file. Also, what plugin did you install before this happened? – Tex0gen Commented Oct 12, 2016 at 13:51
- Custom permalinks - oh my god, it works very great at first but then it actually has something to do with woocommerce - WMPL cause my whole site went down. thanks for your help but it not .htaccess can fix it but I try – Yoona Commented Oct 12, 2016 at 15:34
1 Answer
Reset to default 2Try reverting back to the default .htaccess file with the following code:
# 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
If you're using some other "flavor" of WP (e.g. multisite) view the htaccess docs on the Codex for the appropriate .htaccess setup.
I was working on the live site, I think the plugin cause file .htaccess corrupted so my site is down "500 Internal Server Error", I read a solution to rename .htaccess but when I use Filezilla to do it get "550 rename failed" so I can not rename it, I try to go setting -> save permalinks but not working. is there anyway other way to fix .htaccess error? please help me its emergency.
I was working on the live site, I think the plugin cause file .htaccess corrupted so my site is down "500 Internal Server Error", I read a solution to rename .htaccess but when I use Filezilla to do it get "550 rename failed" so I can not rename it, I try to go setting -> save permalinks but not working. is there anyway other way to fix .htaccess error? please help me its emergency.
Share Improve this question asked Oct 12, 2016 at 12:56 YoonaYoona 391 gold badge4 silver badges11 bronze badges 2- 1 You could try just deleting the .htaccess and then re-saving the permalinks to regenerate a completely new .htaccess file. Also, what plugin did you install before this happened? – Tex0gen Commented Oct 12, 2016 at 13:51
- Custom permalinks - oh my god, it works very great at first but then it actually has something to do with woocommerce - WMPL cause my whole site went down. thanks for your help but it not .htaccess can fix it but I try – Yoona Commented Oct 12, 2016 at 15:34
1 Answer
Reset to default 2Try reverting back to the default .htaccess file with the following code:
# 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
If you're using some other "flavor" of WP (e.g. multisite) view the htaccess docs on the Codex for the appropriate .htaccess setup.
本文标签: How to fix htaccess corrupted
版权声明:本文标题:How to fix .htaccess corrupted 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1749071899a2311707.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论