在url中具有帖子名称,而不重写当前url结构


Having Post Name in the url without rewriting current url structure

有可能在wordpress:中有这样的东西吗

http://example.com/post/2135/帖子名称

而不必重写我当前的url结构,即

http://example.com/post/2135

我想保留它,并且能够双向访问帖子。带有和不带有帖子名称

这样有可能吗?也许让wordpress忽略末尾附有帖子名称?

我相信它在php.ini文件中

例如,me.com/boss

文件结构

root/boss/index.php

index.php文件将自动加载。

但是如果你使用MVC,你可以改变显示的结果。

但是你能用吗http://example.com.post/2135/index.php&postname=lol