2012-03-31 91 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.