我有一个wordpress类别-peer. 我已经设置了永久链接设置,因此类别url为-http://example.com/peer (否/category/ 在url中)。
问题是我还有一个子目录,名为peer 在Wordpress安装的根目录下,我已经设置了一个子域peer.example.com 将指向此子目录。
当我尝试访问时http://example.com/peer 它将被重定向到子域http://peer.example.com. 如何避免这种情况?
How do I make the url http://example.com/peer point to the wordpress category page instead of sub directory/sub domain?
我在Cent OS上使用Apache。我还可以访问cPanel。