What sometimes also helps is resaving the permalink structure with an additional step; if you have custom permalinks enabled, save the permalinks to the default permalinks and then resave to the custom permalink structure.
This has helped me with custom post types a few weeks ago (and before I tried that I tried the 'normal' resave about 20 times).
I have the same 404 error. Unfortunately, changing - saving - changing back - saving permalinks settings has no effect. The permalink setting was not on custom - but rather the Day and Name option. I changed it to the other options - again no difference - same 404 error.
I've tried the plugin out using BP Social as well and once I entered in the first question, didn't have any trouble from there. That said, have you tried resetting your permalinks per the above discussion? Also, could you try disabling other plugins momentarily to see if there's a conflict there?
We have had exactly the same problems. We tried resetting permalinks, using a default theme etc. Nothing worked. Still get 404 when you go to mysite.com/questions/ask/
Hello: I am having the same issue... I have tried everything you suggested. Here is the error code I am getting from the log. the site is http://beer.vg we want to make a beer Q&A...
Thank you in advance for your help
#0 log_rewrite_flush(rewrite_rules) called at [(null):0]
#1 call_user_func_array(log_rewrite_flush, Array ([0] => rewrite_rules)) called at [/home/beervg/public_html/wp-includes/plugin.php:405]
#2 do_action(delete_option, rewrite_rules) called at [/home/beervg/public_html/wp-includes/functions.php:667]
#3 delete_option(rewrite_rules) called at [/home/beervg/public_html/wp-includes/rewrite.php:1877]
#4 WP_Rewrite->flush_rules() called at [/home/beervg/public_html/wp-admin/options-permalink.php:125]
10625 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Sales & Support Lead
—
17th October 2011 (7 months ago)
#
Hiya,
Appears this one got over-looked. Apologies for that. Hopefully you were able to get this resolved, but if not feel free to re-open this thread (below) or start a new one. I'll be monitoring it and have also asked the developer to assist ya if needed.
Responses (20)
WPMU DEV Fanatic — 26th April 2011 (1 year ago) #
Hi grahamjones,
Could you check your permalinks settings at Settings > Permalinks and make sure non-default permalinks are set?
Member — 27th April 2011 (1 year ago) #
Yes, DavidM, non default permalinks are set. Plus I re-saved them just to be sure.
Developer — 27th April 2011 (1 year ago) #
Please try temporarily switching to the twentyten theme. If that doesn't help, try disabling other plugins one at a time.
Once we know what's causing it, we can see what to do about it.
Member — 27th April 2011 (1 year ago) #
What sometimes also helps is resaving the permalink structure with an additional step; if you have custom permalinks enabled, save the permalinks to the default permalinks and then resave to the custom permalink structure.
This has helped me with custom post types a few weeks ago (and before I tried that I tried the 'normal' resave about 20 times).
Member — 27th April 2011 (1 year ago) #
I have deactivated all plugins one by one - still 404 errors.
I have switched to the Twenty Ten theme, with my plugins and without plugins - still 404 errors.
But I have now made it work...here's how..not quote as Hiranthi mentioned but similar....
Change the Custom Permalinks structure to another one - SAVE
Change back to your required Permalinks structure - SAVE.
In other words the QA plugin appears to sometimes require changes to be made to the permalinks structure before it works.
Weird or what?
Developer — 27th April 2011 (1 year ago) #
Werid indeed. I suspect it has something to do with this bug: http://core.trac.wordpress.org/ticket/16736
Thanks for sharing your solution.
Member — 27th April 2011 (1 year ago) #
I have the same 404 error. Unfortunately, changing - saving - changing back - saving permalinks settings has no effect. The permalink setting was not on custom - but rather the Day and Name option. I changed it to the other options - again no difference - same 404 error.
Member — 27th April 2011 (1 year ago) #
@antKat, did you also test with the default theme and all other plugins disabled?
Member — 28th April 2011 (1 year ago) #
I get the same thing. BP Social theme 1.2, BP 1.2.8 and WP 3.1.1
All links to http://os.com/questions/ask return 404. Also, clicking on "add answer" returns a 500 server error.
Thanks,
Craig
WPMU DEV Fanatic — 28th April 2011 (1 year ago) #
Hi cshrimpt,
I've tried the plugin out using BP Social as well and once I entered in the first question, didn't have any trouble from there. That said, have you tried resetting your permalinks per the above discussion? Also, could you try disabling other plugins momentarily to see if there's a conflict there?
Member — 28th April 2011 (1 year ago) #
We have had exactly the same problems. We tried resetting permalinks, using a default theme etc. Nothing worked. Still get 404 when you go to mysite.com/questions/ask/
Will wait for next release...
Member — 28th April 2011 (1 year ago) #
It almost seems like the internal re-write mechanism isn't working properly. How can I test that function?
Member — 28th April 2011 (1 year ago) #
What should the re-write rule look like in wp_options?
Developer — 28th April 2011 (1 year ago) #
You should have many rules that begin with questions:
Developer — 28th April 2011 (1 year ago) #
Here's a file that you can put in your wp-content/mu-plugins directory (create the mu-plugins directory if it doesn't exist) to see what's going on:
https://gist.github.com/raw/947462/5ea4be71aea85e051f71157dc31a3741676d7107/debug_rewrite.php
Member — 28th April 2011 (1 year ago) #
What's the procedure to manually enter the re-write rules? I don't have them for some reason.
Developer — 29th April 2011 (1 year ago) #
Manually entering rewrite rules is not an effective solution. They will just be erased on the next flush.
Please try disabling all other plugins and flush the rules again, as described in this thread.
Developer — 1st May 2011 (1 year ago) #
Follow-up: http://premium.wpmudev.org/forums/topic/qa-problem-404-error?replies=5#post-93014
Member — 28th September 2011 (7 months ago) #
Hello: I am having the same issue... I have tried everything you suggested. Here is the error code I am getting from the log. the site is http://beer.vg we want to make a beer Q&A...
Thank you in advance for your help
#0 log_rewrite_flush(rewrite_rules) called at [(null):0]
#1 call_user_func_array(log_rewrite_flush, Array ([0] => rewrite_rules)) called at [/home/beervg/public_html/wp-includes/plugin.php:405]
#2 do_action(delete_option, rewrite_rules) called at [/home/beervg/public_html/wp-includes/functions.php:667]
#3 delete_option(rewrite_rules) called at [/home/beervg/public_html/wp-includes/rewrite.php:1877]
#4 WP_Rewrite->flush_rules() called at [/home/beervg/public_html/wp-admin/options-permalink.php:125]
Sales & Support Lead — 17th October 2011 (7 months ago) #
Hiya,
Appears this one got over-looked. Apologies for that. Hopefully you were able to get this resolved, but if not feel free to re-open this thread (below) or start a new one. I'll be monitoring it and have also asked the developer to assist ya if needed.
Thanks!
Become a member