2012-03-31 99 views
0

我希望将Wordpress%postname%永久链接分隔符从破折号改为下划线或任何其他此类分隔符。更改Wordpress%postname%固定链接分隔符

EG。

变化:http://www.myblog.com/my-first-post/

http://www.myblog.com/my_first_post/

我敢肯定它可能是可以做到的,但我不知道怎么办。有人能引导我或指引我走向正确的方向吗?

如果我使用mod_rewrite,那么我的.htaccess中的行对于我来说能达到上述目的是什么?

太谢谢你了:)

回答

0
1. In order to change your url 

    From:http://www.myblog.com/my-first-post/ 

    To:http://www.myblog.com/my_first_post/ 

2. You need to go to Admin dashboard->Pages.In right side it will list out all pages of 
    website.There move the mouse to the page name(myfirstpost),below you will see edit 
    link and click on edit. 

3. Edit page will open,in that below the page title,near permalink,click on edit and 
    change '-'(my-first-post) to '_'(my_first_post) and click ok. 

4. Then,don't forget to click Update button on right side of the same page.Then view 
    the website for the change.