0
我需要爲使用WPML的2個域中的WP帖子設置自定義URL。我一直希望自定義固定鏈接插件能夠做到這一點,但經過調查後,它不適用於WPML。WP URL重寫/自定義固定鏈接
有什麼辦法可以做到這一點?用HTAccess重寫也許?
目前該網站的外觀(WP標準永久鏈接與可怕的數字如果是郵局的名稱是一樣的!):
- http://example.com/first-location/introductory-dive
- http://example.com/second-location/introductory-dive-2
- http://example.com/third-location/introductory-dive-3
- http://example.de/first-location/introductory-dive
- http://example.de/second-location/introductory-dive-2
- http://example.de/third-location/introductory-dive-3
我多麼希望它看起來(清潔無編號):
- http://example.com/first-location/introductory-dive
- http://example.com/second-location/introductory-dive
- http://example.com/third-location/introductory-dive
- http://example.de/first-location/introductory-dive
- http://example.de/second-location/introductory-dive
- http://example.de/third-location/introductory-dive