Title: [Plugin: WP phpBB Bridge] Problem with plugin when using custom post types
Last modified: August 20, 2016

---

# [Plugin: WP phpBB Bridge] Problem with plugin when using custom post types

 *  Resolved [GlamCat](https://wordpress.org/support/users/glamcat/)
 * (@glamcat)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-phpbb-bridge-problem-with-plugin-when-using-custom-post-types-1/)
 * I use custom post types. For example, I have post type “news” and my permalinks
   structure is “/%category%/%postname%”. So I have urls like this mysite.com/news
   and mysite.com/news/bla-bla-bla
 * And when I install and activate plugin (not bridge!) all this links are broken.
   Then I deactivate plugin, go to the permalinks page, click “save” and everythink
   works again. I’ve tried versions 2.0.3 and 2.0.4.
 * What did I do wrong? Or is there an error in plugin?
 * [http://wordpress.org/extend/plugins/wp-phpbb-bridge/](http://wordpress.org/extend/plugins/wp-phpbb-bridge/)

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

 *  Plugin Author [Nikos Merianos](https://wordpress.org/support/users/merianos/)
 * (@merianos)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-phpbb-bridge-problem-with-plugin-when-using-custom-post-types-1/#post-2377085)
 * WP phpBB Bridge come with a custom url for plugin deactivation in the form of
   [http://www.your-blog.ext/wpbbreset/yourPassword](http://www.your-blog.ext/wpbbreset/yourPassword)
 * Maybe that conflicts with your custom posts URL.
 * I suggesting you to try activate the WP phpBB Bridge and then go to your WordPress
   admin panel under Settings/Permalinks and just press the save button.
 * Maybe that will solve your problem. If not contact us again.
 *  Thread Starter [GlamCat](https://wordpress.org/support/users/glamcat/)
 * (@glamcat)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-phpbb-bridge-problem-with-plugin-when-using-custom-post-types-1/#post-2377127)
 * > Maybe that conflicts with your custom posts URL.
 * How can plugin do it? I haven’t got any urls like this.
 * > I suggesting you to try activate the WP phpBB Bridge and then go to your WordPress
   > admin panel under Settings/Permalinks and just press the save button.
 * Yeah, I’ve tried to do it, but had no result.
 *  Plugin Author [Nikos Merianos](https://wordpress.org/support/users/merianos/)
 * (@merianos)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-phpbb-bridge-problem-with-plugin-when-using-custom-post-types-1/#post-2377210)
 * I am sorry, I don’t realy know what’s wrong with it. We already use custom posts
   with that plugin in [http://www.wdf.gr/](http://www.wdf.gr/) in the form of
 * > /%category%/%postname%.html
 * and there is no problem with that 🙁 ?
 *  Thread Starter [GlamCat](https://wordpress.org/support/users/glamcat/)
 * (@glamcat)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-phpbb-bridge-problem-with-plugin-when-using-custom-post-types-1/#post-2377226)
 * Ok, I’ve made a clean install of wordpress 3.2.1 without any plugins.
 * Then I change permalinks structure to “/%category%/%postname%”
 * Tnen I’ve put this code to add one custom post type to function.php and add one
   new post to this custom type. The url is mysite.com/news/testthis. It’s working
   now.
 *     ```
       /* adding custom post type "News" */
       add_action( 'init', 'post_type_nlnews' );
       function post_type_nlnews() {
       	register_post_type( 'nlnews',
       		array(
       			'labels' => array(
       				'name' => 'News',
       				'singular_name' => 'News'
       			),
       			'public' => true,
       			'show_ui' => true,
       			'menu_position' => 4,
       			'supports' => array('title','editor','revisions','comments'),
       		        'taxonomies' => array( 'post_tag' ),
       			'rewrite' => array('slug' => 'news', 'with_front' => false),
       			'has_archive' => 'news'
       		)
       	);
       }
       ```
   
 * Then I’ve installed your plugin. Still everything is ok.
 * Then I’ve activated it. The url mysite.com/news/testthis doesn’t work now. It
   returns “Page not found”
 *  Thread Starter [GlamCat](https://wordpress.org/support/users/glamcat/)
 * (@glamcat)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-phpbb-bridge-problem-with-plugin-when-using-custom-post-types-1/#post-2377244)
 * It seems that I have solved this problem by adding flush_rewrite_rules(); befor
   last } in my code!
 * Anyway, thanks for the great plugin!
 *  Plugin Author [Nikos Merianos](https://wordpress.org/support/users/merianos/)
 * (@merianos)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-phpbb-bridge-problem-with-plugin-when-using-custom-post-types-1/#post-2377253)
 * You very welcome and we thank you for using it !

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

The topic ‘[Plugin: WP phpBB Bridge] Problem with plugin when using custom post 
types’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-phpbb-bridge_eaeaea.svg)
 * [WP phpBB Bridge](https://wordpress.org/plugins/wp-phpbb-bridge/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-phpbb-bridge/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-phpbb-bridge/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-phpbb-bridge/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-phpbb-bridge/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Nikos Merianos](https://wordpress.org/support/users/merianos/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-phpbb-bridge-problem-with-plugin-when-using-custom-post-types-1/#post-2377253)
 * Status: resolved