简体   繁体   English

WordPress上的.htaccess

[英].htaccess on WordPress

I'm not sure about the location that my .htaccess should be. 我不确定我的.htaccess的位置。 I'm working on a WordPress theme. 我正在研究一个WordPress主题。 Is it ok to leave it inside the theme's folder? 将它留在主题文件夹中是否可以? Or should I overwrite the original WordPress .htaccess on the root folder? 或者我应该覆盖根文件夹上的原始WordPress .htaccess? Thanks in advance! 提前致谢!

你应该始终在wordpress文件的根目录中有.htaccess文件,而不是在主题内。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM