Title: Hide Permalink from dashboard
Last modified: August 22, 2016

---

# Hide Permalink from dashboard

 *  [Belal Khan](https://wordpress.org/support/users/belalkhan2292/)
 * (@belalkhan2292)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/hide-permalink-from-dashboard/)
 * Hi,
    i want to hide my permalink from dashboard . How can i do it ?

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

 *  [saidahhamizah](https://wordpress.org/support/users/saidahhamizah/)
 * (@saidahhamizah)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/hide-permalink-from-dashboard/#post-5463810)
 * hi
    goto setting>permalink if you want the link named as your title select post
   name otherwise you can customize te name in custom structure [](http://vitaminderoyale.com/)
 *  Thread Starter [Belal Khan](https://wordpress.org/support/users/belalkhan2292/)
 * (@belalkhan2292)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/hide-permalink-from-dashboard/#post-5463824)
 * No. i want hide my permalink not change my option
 *  Moderator [Jose Castaneda](https://wordpress.org/support/users/jcastaneda/)
 * (@jcastaneda)
 * THEME COFFEE MONKEY
 * [11 years, 7 months ago](https://wordpress.org/support/topic/hide-permalink-from-dashboard/#post-5463874)
 * Can you elaborate a little more on what you mean by “permalink from dashboard”?
 *  Thread Starter [Belal Khan](https://wordpress.org/support/users/belalkhan2292/)
 * (@belalkhan2292)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/hide-permalink-from-dashboard/#post-5463881)
 * i want hide permalink below the add media link. see your dashboard here is a 
   is permalink . when you post a post any post .
 *  [Jesin A](https://wordpress.org/support/users/jesin/)
 * (@jesin)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/hide-permalink-from-dashboard/#post-5463925)
 * If I understand correctly you want to hide the “Permalinks” menu link in WP-Admin
   > Settings.
 * Create a PHP file in the following location:
 *     ```
       wp-content/mu-plugins/block-permalinks.php
       ```
   
 * If mu-plugins doesn’t exist create it. Place the following code in it:
 *     ```
       <?php
       add_action( 'admin_menu', 'belalkhan2292_remove_menus' );
   
       function belalkhan2292_remove_menus() {
           remove_submenu_page( 'options-general.php', 'options-permalink.php' );
       }
       ```
   
 * This will remove the link but users can directly access the page if the have 
   the link, so add the following code too:
 *     ```
       add_action( 'admin_init', 'belalkhan2292_block_permalinks' );
   
       function belalkhan2292_block_permalinks() {
               global $pagenow;
               if ( 'options-permalink.php' == $pagenow ) {
                       wp_die( 'Not allowed' );
               }
       }
       ```
   
 * This blocks the page for all users (including you).

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

The topic ‘Hide Permalink from dashboard’ is closed to new replies.

## Tags

 * [permalink](https://wordpress.org/support/topic-tag/permalink/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 4 participants
 * Last reply from: [Jesin A](https://wordpress.org/support/users/jesin/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/hide-permalink-from-dashboard/#post-5463925)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
