Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
mod_重写Wordpress url更改_Wordpress_.htaccess_Mod Rewrite - Fatal编程技术网

mod_重写Wordpress url更改

mod_重写Wordpress url更改,wordpress,.htaccess,mod-rewrite,Wordpress,.htaccess,Mod Rewrite,我想处理以下特定url: www.testing.com/board/uehtietfmretvbcuymwvrbqtmvrktkqtrycitfqtvbiutfwkqeyfktwbcuhtwchtmihy1(这将是浏览器中的url) 到 www.testing.com/board?Data=uehtietfmretvbcuymwvrbqtmvrktkqtrycitfqttvbiutfwkqeyfktwbcuhtwchtmihy1(这将是请求的url) 我正在使用wordpress,其中已经有以

我想处理以下特定url:

www.testing.com/board/uehtietfmretvbcuymwvrbqtmvrktkqtrycitfqtvbiutfwkqeyfktwbcuhtwchtmihy1(这将是浏览器中的url)

www.testing.com/board?Data=uehtietfmretvbcuymwvrbqtmvrktkqtrycitfqttvbiutfwkqeyfktwbcuhtwchtmihy1(这将是请求的url)

我正在使用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>

重新启动发动机
重写基/
重写规则^index\.php$-[L]
重写cond%{REQUEST_FILENAME}-F
重写cond%{REQUEST_FILENAME}-D
重写规则/index.php[L]
我怎样才能做到这一点?请帮忙

也可以只复制浏览器中的第一个URL,然后将其更改为上面的第二个URL


干杯

什么处理这个url?Wordpress?是的,我正在使用Wordpress。如果是这样的话,那可能是不可能的。Wordpress通过index.php路由URL,index.php希望URL的形式为“板载/UEHTIETFMRETVBCUYMWVRBQCTMVRKTKQTRYCITFQTVBBIUTFWKQEYFKTWBCUHTWCHTMIHY1”。如果这个url不应该由wordpress处理,你可能会发生一些事情。有没有其他方法来处理这个问题?使用PHP?