Title: tiptap's Replies | WordPress.org

---

# tiptap

  [  ](https://wordpress.org/support/users/tiptap/)

 *   [Profile](https://wordpress.org/support/users/tiptap/)
 *   [Topics Started](https://wordpress.org/support/users/tiptap/topics/)
 *   [Replies Created](https://wordpress.org/support/users/tiptap/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/tiptap/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/tiptap/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/tiptap/engagements/)
 *   [Favorites](https://wordpress.org/support/users/tiptap/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [add_rewrite_rule causing redirection problem](https://wordpress.org/support/topic/add_rewrite_rule-causing-redirection-problem/)
 *  Thread Starter [tiptap](https://wordpress.org/support/users/tiptap/)
 * (@tiptap)
 * [13 years ago](https://wordpress.org/support/topic/add_rewrite_rule-causing-redirection-problem/#post-3700110)
 * Ok I managed to solve it.
 * It seemed the place I was added the rewrite rule kept getting removed. so I moved
   it to the INIT hook and all seems fine.
 * Also it seemed to be caching a lot of the pages so I cleared that also and is
   now fine.
 * I noticed it the rewrite was getting removed by installing the ‘Monkeyman Rewrite
   Analyzer’ plugin which lists all of them.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [404 — Fancy meeting you here](https://wordpress.org/support/topic/404-fancy-meeting-you-here/)
 *  [tiptap](https://wordpress.org/support/users/tiptap/)
 * (@tiptap)
 * [13 years ago](https://wordpress.org/support/topic/404-fancy-meeting-you-here/#post-3700109)
 * I get the go daddy holding page come up.
 * Which normally means your domain hasn’t propagated / setup on their system yet
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [404 — Fancy meeting you here](https://wordpress.org/support/topic/404-fancy-meeting-you-here/)
 *  [tiptap](https://wordpress.org/support/users/tiptap/)
 * (@tiptap)
 * [13 years ago](https://wordpress.org/support/topic/404-fancy-meeting-you-here/#post-3700105)
 * I don’t know the response theme, but do you need to set the homepage up in settings?
 * ie in the dashboard go to settings->reading and choose the static page you want
   your homepage to be
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [URL structure for CPT's same as posts](https://wordpress.org/support/topic/url-structure-for-cpts-same-as-posts/)
 *  Thread Starter [tiptap](https://wordpress.org/support/users/tiptap/)
 * (@tiptap)
 * [13 years ago](https://wordpress.org/support/topic/url-structure-for-cpts-same-as-posts/#post-3696211)
 * I think I’m almost there with this now.
 * I’ve managed to get the post_id into the url of the custom post types post.
 * ie mydomain.com/custom-post-type/post_id/post-name/
 *     ```
       add_filter('post_type_link', 'my_post_type_link', 1, 3);
       				function my_post_type_link( $post_link, $post = 0, $leavename = false ) {
   
       					if ( strpos('%post_id%', $post_link) === 'false' ) {
       						return $post_link;
       					}
       					if ( is_object($post) ) {
       						$post_id = $post->ID;
       					} else {
       						$post_id = $post;
       						$post = get_post($post_id);
       					}
       					if ( !is_object($post) || $post->post_type != 'features' ) {
       						return $post_link;
       					}
   
       					//put post ID in place of %post_id%
       					return str_replace('%post_id%', $post_id, $post_link);
   
       				}
       ```
   
 * Then in the bit where I setup the post type, i add the following to the slug
 * `'slug' => '/feature/%post_id%',`
 * So all i need to do now I think is write a rewrite to remove the /feature part
   and it should work ‘hopefully’, but no luck with that yet
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [What is the Custom Post Type template?](https://wordpress.org/support/topic/what-is-the-custom-post-type-template/)
 *  Thread Starter [tiptap](https://wordpress.org/support/users/tiptap/)
 * (@tiptap)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/what-is-the-custom-post-type-template/#post-2176168)
 * Ok I think I have solved it – if there is a better way let me know;
 * When registering the post-type i set ‘has_archives’ => true
 * then created the template archive-awards.php
 * Now I get the correct template being called for ‘/awards/’
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [different template depending on domain / url](https://wordpress.org/support/topic/different-template-depending-on-domain-url/)
 *  Thread Starter [tiptap](https://wordpress.org/support/users/tiptap/)
 * (@tiptap)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/different-template-depending-on-domain-url/#post-1697403)
 * ah ok, yer that sounds good.
 * however id want to manage all of them from domain a
 * so id log into domain a’s wp-admin, update and add bits and bobs, which appears
   on all the sites
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Walking up Custom Taxonomy hierarchy](https://wordpress.org/support/topic/walking-up-custom-taxonomy-hierarchy/)
 *  Thread Starter [tiptap](https://wordpress.org/support/users/tiptap/)
 * (@tiptap)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/walking-up-custom-taxonomy-hierarchy/#post-1697368)
 * great ill give those a shot thanks!

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