Forum

Whether it's a plugin thats causing issues, a theme, or just needed help with styling your site...We can help! Live Person Support for all your Wordpress Needs!

Welcome Guest

Pages: 1
Permalinks breaking
saintwrightPostMay 10 2012, 09:30 PM

Newbie
Posts: 3
Registered:
May 11 2012, 03:26 AM
Normal topicPermalinks breaking

HI

I have just added Mingle Froum to my site and it all works well - ideally I want to have the SEO friendly urls... so I switch on Use SEO friendly URLs:

This works great for the forum BUT it breaks teh posts on my site.

My permalink_structure = /%post_id%/%postname%/

I am just confused as to why switching the SEO friendly URLs in Mingle would affect teh rest of my site.

Any Ideas?

http://www.babiesandtoddlers.com.au/forum



Shrink, Track, Share, Control ... Dominate
saintwrightPostMay 11 2012, 08:37 PM

Newbie
Posts: 3
Registered:
May 11 2012, 03:26 AM
Normal topicRe: Permalinks breaking

I managed to fix it - I think the line:
add_filter("init", array(&$this, "flush_wp_rewrite_rules"));

was removing my permalinks for my custom post types. I removed this line and it all works now.

kevvpPostMay 13 2012, 07:59 AM

Newbie
Posts: 8
Registered:
May 11 2012, 09:40 PM
Normal topicRe: Permalinks breaking

I think this is happening to me too. Did you get a 404 error when you would go to a page on your site? That's what I get on every page of my website with the exception of the home page. When I re-save my permalinks and fixes it temporarily then it happens again. When I turn SEO friendly url off it works fine. I tried what you posted, hope it works :)

saintwrightPostMay 13 2012, 04:19 PM

Newbie
Posts: 3
Registered:
May 11 2012, 03:26 AM
Normal topicRe: Permalinks breaking

I think as I have some custom post types they are writing some rules for permalinks - when the flush_wp_rewrite_rules function is called it removes my custom post type rules... still working for me and no 404 errors.

kevvpPostMay 14 2012, 04:48 AM

Newbie
Posts: 8
Registered:
May 11 2012, 09:40 PM
Normal topicRe: Permalinks breaking

It worked! :) Thanks so much for the fix. No more 404 errors.

Pages: 1
Mingle Forum by Cartpauj | Version: 1.1.0beta | Page loaded in: 0.175 seconds.


Shrink, Track, Share, Control ... Dominate