Title: Vietnamese Friendly Permalink
Last modified: January 11, 2017

---

# Vietnamese Friendly Permalink

 *  Resolved [cachmangrom](https://wordpress.org/support/users/cachmangrom/)
 * (@cachmangrom)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/vietnamese-friendly-permalink/)
 * I’m using Vietnamese title for document.
 * Example: Masanobu Fukuoka – Cuộc cách mạng Một-cọng-rơm
 * So permalink for the post is [https://mydomain.com/mdocs-posts/masanobu-fukuoka-cuộc-cach-mạng-một-cọng-rơm?mdocs-cat=](https://mydomain.com/mdocs-posts/masanobu-fukuoka-cuộc-cach-mạng-một-cọng-rơm?mdocs-cat=)
 * It’s is not SEO friendly. It should be [http://mydomain.com/mdcos-posts/masanobu-fukuoka-cuoc-cach-mang-mot-cong-rom?mdocs-cat=](http://mydomain.com/mdcos-posts/masanobu-fukuoka-cuoc-cach-mang-mot-cong-rom?mdocs-cat=).
   Removed every specific character in Vietnamese. WordPress built in permalink 
   have support it with %postname% tag.
 * Can you update it in next version?
 * Thank you verymuch!

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/vietnamese-friendly-permalink/#post-8642229)
 * Thanks or the report I will add this fix to the next version of mdocs.
 *  Thread Starter [cachmangrom](https://wordpress.org/support/users/cachmangrom/)
 * (@cachmangrom)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/vietnamese-friendly-permalink/#post-8642454)
 * I try to edit the plugin with function sanitize_title but not working. Hope you
   fix it soon. Thank you!
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/vietnamese-friendly-permalink/#post-8643188)
 * take a look at the file mdocs-functions.php line 332 and 344
 *     ```
       'post_title' => $upload['name'],
       ```
   
 *     ```
       'post_title' => basename($upload['name']),
       ```
   
 * you can sanitize the titles here.
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/vietnamese-friendly-permalink/#post-8646778)
 * Im not getting the same results as you are.
 * I created a file called:
 * > Cuộc cách mạng Một-cọng-rơm
 * the slug to the post is
 * > /mdocs-posts/cuoc-cach-mang-mot-cong-rom/
 * which is the correct format. What version of WordPress are you using?
 *  Thread Starter [cachmangrom](https://wordpress.org/support/users/cachmangrom/)
 * (@cachmangrom)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/vietnamese-friendly-permalink/#post-8657464)
 * I’m using WordPress 4.7.1.
 * I were following your instruction and add:
 * ‘post_name’ => wp_unique_post_slug(sanitize_title($upload[‘name’]))
 * It’s working well.
 * You can try some file:
    – Cuộc sống muôn màu; – Cảm ơn bạn vì đã tạo ra plugin
   này; – Plugin này rất hữu ích với tôi;
 * Thank you!
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/vietnamese-friendly-permalink/#post-8660109)
 * Good you have it working now. I tested the other file names, not problems again.
 *  Thread Starter [cachmangrom](https://wordpress.org/support/users/cachmangrom/)
 * (@cachmangrom)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/vietnamese-friendly-permalink/#post-8662505)
 * Thank you for reply me.
 * Can you add option to add extenal download link for a file. I think that’s useful.
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/vietnamese-friendly-permalink/#post-8664159)
 * external download link? Please explain what you mean by that.
 *  Thread Starter [cachmangrom](https://wordpress.org/support/users/cachmangrom/)
 * (@cachmangrom)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/vietnamese-friendly-permalink/#post-8664200)
 * I mean, beside option to upload file from computer, we have option to attatch
   a link to download file, Google Drive for example. To save host resource.
    -  This reply was modified 9 years, 4 months ago by [cachmangrom](https://wordpress.org/support/users/cachmangrom/).
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/vietnamese-friendly-permalink/#post-8664208)
 * oh I see, yes that has been asked before and is on the feature request list.
 *  Thread Starter [cachmangrom](https://wordpress.org/support/users/cachmangrom/)
 * (@cachmangrom)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/vietnamese-friendly-permalink/#post-8673743)
 * And I think you should add author property per documment. Author mean who write
   not who upload document.
 *  Plugin Author [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * (@bhaldie)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/vietnamese-friendly-permalink/#post-8687968)
 * thanks I will add it to the feature request list.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Vietnamese Friendly Permalink’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/memphis-documents-library_91918f.
   svg)
 * [Memphis Documents Library](https://wordpress.org/plugins/memphis-documents-library/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/memphis-documents-library/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/memphis-documents-library/)
 * [Active Topics](https://wordpress.org/support/plugin/memphis-documents-library/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/memphis-documents-library/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/memphis-documents-library/reviews/)

 * 12 replies
 * 2 participants
 * Last reply from: [bhaldie](https://wordpress.org/support/users/bhaldie/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/vietnamese-friendly-permalink/#post-8687968)
 * Status: resolved