php - 搞砸了.htaccess
问题描述
我一直在搞乱.htaccess,现在我无法修复它..
我的网站是:
https://crowdinvestor.org/
我试图解决我用 html 建立网站和用 wordpress 建立博客的问题,但它没有按计划进行。
HTML 页面:
网上投资:https://crowdinvestor.org/index.html
书籍:https://crowdinvestor.org/books.html
P2P 比较和优惠:https://crowdinvestor.org/offers.html
WordPress 博客:
https://crowdinvestor.org/crowdlending-for-beginners/
wordpress 博客重定向到:
https://crowdinvestor.org/crowdlending-for-beginners.html
这不是我想要的。
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]
</IfModule>
# END WordPress
解决方案
推荐阅读
- python - Python3嵌套字典中调用值的概念问题
- java - Android解密抛出java.security.InvalidAlgorithmParameterException:IV必须在CBC模式下指定
- multithreading - 使用 Rcpp 时抛出错误的线程安全方法是什么
- visual-studio-code - 有没有办法在 VS Code 中自定义 JS 中导入的颜色?
- python - 在 pandas 数据框中创建新列取决于同一数据框中的其他列但不同的行
- django - Django Mutllevel 外键管理编辑器
- r - 识别 R 中观察到的 0/1 值组合并为其分配直观(-ish)名称
- azure - 如何以编程方式更新 Azure 存储防火墙设置
- javascript - “面向 Web 和 JavaScript 开发人员的 Eclipse IDE”没有 Java Script 项目
- sql - 消息 205,级别 16,状态 1,使用 UNION、INTERSECT 或 EXCEPT 运算符组合的所有查询必须具有相等数量的表达式