📜  将规则 wp 博客重写到子目录 - PHP 代码示例

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

代码示例1
..... 


    RewriteEngine On
    # wordpress rules 
    DirectoryIndex index.php
    RewriteRule ^blog/(.*)$ blog/$1 [PT,L]

    # symfony rules 
    DirectoryIndex app.php
    .....