📜  WordPress 创建“startupl”文件夹并写入 .htaccess - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:49.744000             🧑  作者: Mango

代码示例1
Fixed WordPress Creating “startupl” folder and Wrtting to .htaccess

My WordPress started creating an unusual folder called "startupl" in the Main WordPress Directory. .Htaccess having content like:

RewriteEngine On
RewriteRule ^.*-(\d+)-.*.action$ startupl/index\.php?id=$1&%{QUERY_STRING} [L]
RewriteRule ^brand/(.*)/\d+$ startupl/index\.php?cat=$1&%{QUERY_STRING} [L]
RewriteRule ^.*(web[a-z]+indexer\.xml)$  webindexer/$1 [L]
RewriteRule ^.*(sitemap\.xml)$  webindexer/$1 [L]

Learn More => https://stackoverflow.com/questions/65181159/fixed-wordpress-creating-startupl-folder-and-wrtting-to-htaccess