Title: redirect or not?
Last modified: August 31, 2016

---

# redirect or not?

 *  [mmaille2016](https://wordpress.org/support/users/mmaille2016/)
 * (@mmaille2016)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/redirect-or-not/)
 * I have changed the permanent link on one page of my site from
    [http://www.homestayenglish.uk.com/booking-2/](http://www.homestayenglish.uk.com/booking-2/)
   to [http://www.homestayenglish.uk.com/how](http://www.homestayenglish.uk.com/how)
   to book/ And when I send that new Link to somebody it goes to a Page not recognised.
 * Is there anything I should have done such as redirect the page to somewhere? 
   I even tried changing it back again but it still does not work
 * I would appreciate any advice

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

 *  [ssgradient5](https://wordpress.org/support/users/ssgradient5/)
 * (@ssgradient5)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/redirect-or-not/#post-7372620)
 * Hi,
    Can you please tell me the exact URL, because the above URL is showing “
   No posts found.” error. I believe that the there is some mismatch in the new 
   URL. Also old URL is showing same error message.
 * Please provide me the exact URL that you have added so that I can assist you 
   in this regard. 🙂
 *  Thread Starter [mmaille2016](https://wordpress.org/support/users/mmaille2016/)
 * (@mmaille2016)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/redirect-or-not/#post-7372630)
 * [http://www.homestayenglish.uk.com/book2/](http://www.homestayenglish.uk.com/book2/).
   Sorry – this is the url at the moment which seems to be working. Because I want
   the url to correspond with my keyword “how to book” is this going to be a problem?
   Is changing the wording in permalinks all I have to do?
 *  [ssgradient5](https://wordpress.org/support/users/ssgradient5/)
 * (@ssgradient5)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/redirect-or-not/#post-7372771)
 * Hi,
 * On checking the URL: [http://www.homestayenglish.uk.com/book2/](http://www.homestayenglish.uk.com/book2/),
   I could see that it is loading “No posts found. Try a different search?”. I believe
   that the post “book2” is currently not available in the server where it is hosted.
 * However if you would like to rename the post as “how_to_book”, please change 
   the name of the post from “book2” to “how_to_book”. Make sure the file “book2”
   is present in the server.
 * You can, of course, change “book2” to anything you want… just replace every instance
   of “how_to_book” in the code below with your desired label. All you need to do
   is paste this into your theme’s functions.php file.
 * =============
    function revcon_change_post_label() { global $menu; global $submenu;
   $menu[5][0] = ‘how_to_book’; $submenu[‘edit.php’][5][0] = ‘how_to_book’; $submenu[‘
   edit.php’][10][0] = ‘Add how_to_book’; $submenu[‘edit.php’][16][0] = ‘how_to_book
   Tags’; echo ”; } function revcon_change_post_object() { global $wp_post_types;
   $labels = &$wp_post_types[‘post’]->labels; $labels->name = ‘how_to_book’; $labels-
   >singular_name = ‘how_to_book’; $labels->add_new = ‘Add how_to_book’; $labels-
   >add_new_item = ‘Add how_to_book’; $labels->edit_item = ‘Edit how_to_book’; $
   labels->new_item = ‘how_to_book’; $labels->view_item = ‘View how_to_book’; $labels-
   >search_items = ‘Search how_to_book’; $labels->not_found = ‘No how_to_book found’;
   $labels->not_found_in_trash = ‘No how_to_book found in Trash’; $labels->all_items
   = ‘All how_to_book’; $labels->menu_name = ‘how_to_book’; $labels->name_admin_bar
   = ‘how_to_book’; }
 * add_action( ‘admin_menu’, ‘revcon_change_post_label’ );
    add_action( ‘init’, ‘
   revcon_change_post_object’ ); ===================
 * Note: Best practice would be to paste the above code into a functionality plugin
   so this travels with you no matter what theme you are using (this of course depends
   on the situation and the client/user).
 * No need to change anything in permalink.
 * Please verify this from your end and let me know the update.
 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/redirect-or-not/#post-7372773)
 * Note: Best practice would be to use this in a child theme.
    [https://codex.wordpress.org/Child_Themes](https://codex.wordpress.org/Child_Themes)

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

The topic ‘redirect or not?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/redirect-or-not/#post-7372773)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
