Title: Link Setting
Last modified: February 1, 2021

---

# Link Setting

 *  Resolved [priskabroese](https://wordpress.org/support/users/priskabroese/)
 * (@priskabroese)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/link-setting/)
 * Hi there, I am using the timetable to link my online courses. Is it possible 
   to skip the detailed page and redirect to a custom URL? if not, how can I adjust
   the detail page, it looks horrible in my case 🙂 Thanks and kind regards Priska
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Flink-setting%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [ulicgn](https://wordpress.org/support/users/ulicgn/)
 * (@ulicgn)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/link-setting/#post-13990477)
 * Hello Priska,
 * there is a group of settings where subtitle and background colors can be set –
   if they are not visible, you have to open this group by clicking on the black
   triangle pointing downwards.
 * In this setting group, you can enter a custom URL for your class. This works 
   and the link from the schedule will then point to the custom URL. However keep
   in mind that the event pages still “exist”, even if you do not link to it! They
   might show up in XML sitemaps or search results. Look at your sitemap, which 
   points to
    [https://dailypioneer.rocks/mp-event-sitemap.xml](https://dailypioneer.rocks/mp-event-sitemap.xml)
   via [https://dailypioneer.rocks/sitemap_index.xml](https://dailypioneer.rocks/sitemap_index.xml)–
   so the event and column pages are submitted to search engines right now even 
   while you are testing which is probably undesired.
 * If someone from motopress is watching this thread it would be helpful (for me,
   too) to know how this can be avoided. This is very important, because it leads
   to undesired content being indexed by search engines. Ideally it should be possible
   to disable event detail pages and column pages, either completely or just in 
   sitemaps.
 * Styling the events page should be possible by switching to “developer mode” in
   the general settings of the mptt plugin, see the very first post on this forum(“
   Different theme template”).
 * Regards
    Uli
    -  This reply was modified 5 years, 3 months ago by [ulicgn](https://wordpress.org/support/users/ulicgn/).
 *  [ulicgn](https://wordpress.org/support/users/ulicgn/)
 * (@ulicgn)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/link-setting/#post-13990893)
 * Just to let you know – since I had the same problem on my site I tried to remove
   the columns and events from my sitemap and ended up with creating custom functions.
   
   However in your case, since you are using YoastSEO, you can achieve the same 
   result be disabling columns and events from showing up in sitemaps (can be done
   at /wp-admin/admin.php?page=wpseo_titles#top#post-types , “Show events/columns
   in search results -> no”). Note that the pages then still exist, but they are
   not submitted to search engines any more Regards Uli
 *  Plugin Support [dimned](https://wordpress.org/support/users/dimned/)
 * (@dimned)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/link-setting/#post-13991688)
 * Hi [@ulicgn](https://wordpress.org/support/users/ulicgn/) and [@priskabroese](https://wordpress.org/support/users/priskabroese/),
   Yes you may use option **Custom Event URL:** to redirect to another page or you
   may use some redirection plugin to make it SEO friendly.
    Otherwise, you would
   need to override the post types of events and columns to make them not public.
   Then the system generated pages for events and posts won’t exist. As for SEO 
   so you may also use robots.txt file to disallow the indexing of certain pages
   of your site.
 *  [ulicgn](https://wordpress.org/support/users/ulicgn/)
 * (@ulicgn)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/link-setting/#post-13992231)
 * [@dmytro](https://wordpress.org/support/users/dmytro/) – I found that to be not
   correct, at least on my site. Setting a custom URL for the event does NOT redirect
   requests to the event’s single page, nor does it remove the page from the sitemap.
   From what I see, setting the URL simply changes the link from the schedule, while
   the single page still remains accessible when requested.
 * Disallowing them in robots.txt is a mere hack , it may lead to errors for many
   search engines, since you publish the URL in the sitemap and then disallow it
   in robots.txt.
 * As far as I know setting a custom post type (like mptt events or columns) to 
   non-public is only possible at the time of object creation (register_post_type?)–
   can the “public” property be overriden later by a hook or filter in a child theme
   function.php?
 *  Plugin Support [dimned](https://wordpress.org/support/users/dimned/)
 * (@dimned)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/link-setting/#post-14001223)
 * Hi
 * > I found that to be not correct, at least on my site. Setting a custom URL for
   > the event does NOT redirect requests to the event’s single page, nor does it
   > remove the page from the sitemap. From what I see, setting the URL simply changes
   > the link from the schedule, while the single page still remains accessible 
   > when requested.
 * – Yes, this is how it works and it should not redirect all the requests from 
   the default event page to a custom one nor remove the default links from the 
   sitemap
 * It is possible to override the post types with the hooks below. You may add them
   to the functions.php file of the child theme:
    **Event**
 *     ```
       function theme_edit_mp_event_post_type( $args, $post_type ) {
           if ( 'mp-event' === $post_type ) {      
       		$args['public'] = false;
           }
           return $args;
       }
   
       add_filter( 'register_post_type_args', 'theme_edit_mp_event_post_type', 10, 2 );
       ```
   
 * **Column**
 *     ```
       function theme_edit_mp_column_post_type( $args, $post_type ) {
           if ( 'mp-column' === $post_type ) {      
       		$args['public'] = false;
           }
           return $args;
       }
       add_filter( 'register_post_type_args', 'theme_edit_mp_column_post_type', 10, 2 );
       ```
   
 *  [ulicgn](https://wordpress.org/support/users/ulicgn/)
 * (@ulicgn)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/link-setting/#post-14005362)
 * Works great, exactly what I need ( and maybe Priska, too 😉 )
 * Thank you very much!
 *  Plugin Support [dimned](https://wordpress.org/support/users/dimned/)
 * (@dimned)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/link-setting/#post-14006172)
 * Hi [@ulicgn](https://wordpress.org/support/users/ulicgn/), Thanks for using TimeTable
   and for your feedback
 *  Thread Starter [priskabroese](https://wordpress.org/support/users/priskabroese/)
 * (@priskabroese)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/link-setting/#post-14035286)
 * So, guys, after 2 weeks I am now again working on this topic. Read through your
   information and understood most of it 🙂 I give it a try, Thanks Priska
    -  This reply was modified 5 years, 3 months ago by [priskabroese](https://wordpress.org/support/users/priskabroese/).
 *  Thread Starter [priskabroese](https://wordpress.org/support/users/priskabroese/)
 * (@priskabroese)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/link-setting/#post-14035714)
 * Hi there again, another question: Can I also refer from the event head to the
   wordpress profile which is behind? So can I set a link also for the heads to 
   their profile? Thank and kind regards Priska
 *  Plugin Support [dimned](https://wordpress.org/support/users/dimned/)
 * (@dimned)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/link-setting/#post-14040212)
 * Hi [@priskabroese](https://wordpress.org/support/users/priskabroese/),
    I’ve 
   just sent an answer in thin new topic [https://wordpress.org/support/topic/link-with-event-head/](https://wordpress.org/support/topic/link-with-event-head/)

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

The topic ‘Link Setting’ is closed to new replies.

 * ![](https://ps.w.org/mp-timetable/assets/icon-256x256.png?rev=2665792)
 * [Timetable and Event Schedule by MotoPress](https://wordpress.org/plugins/mp-timetable/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mp-timetable/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mp-timetable/)
 * [Active Topics](https://wordpress.org/support/plugin/mp-timetable/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mp-timetable/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mp-timetable/reviews/)

## Tags

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

 * 10 replies
 * 3 participants
 * Last reply from: [dimned](https://wordpress.org/support/users/dimned/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/link-setting/#post-14040212)
 * Status: resolved