Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
404 Errors
Avatar
Eric Rivera
Member
Free Members
sp_UserOfflineSmall Offline
Mar 27, 2013 - 12:12 pm

Is it possible that my installation of simple-press is causing 404 errors to links on my menu bar.  Ever since I installed it I have to go to my permalink settings at least twice a day and hit save to make everything come back to normal.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 27, 2013 - 3:13 pm

No it shouldn't have any adverse effect on urls. SP will have established it's rewrite rules and added them to the WP rewrite rule list (held in the database) when it was first activated, Shouldnlt have to do it again after that.

We did have another user recently who was having problems with urls created by the Woo Commerce plugin after SP was installed. Do you have that on your site? Or do you have any other plugins that might be creating their own rules - a little like SP does with all it's pages being displayed on a single WP page item?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Eric Rivera
Member
Free Members
sp_UserOfflineSmall Offline
Mar 27, 2013 - 3:18 pm

I dont use any woo related themes or plugins.  Let me think about any plugins that are displaying everything on one page like you said.  Thanks for your help

Avatar
Eric Rivera
Member
Free Members
sp_UserOfflineSmall Offline
Mar 30, 2013 - 8:52 pm

I cant seem to find any plugins that might be causing this. All I know is that ever since in installed the SPF i been getting at least 2 404 errors a day where I have to go and hit save in the permalinks section to get it to work again.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 31, 2013 - 6:03 am

So after you update the site permalinks - I assume in the WP admin > settings > permalinks - are you then following it up by updating the forum permalinks on the WP Integration panel of the forum admin?

The way this works is that Wp maintains a record in the Options table called 'rewrite rules'. When a plugin (such as SP) needs to create rewrite rules then this is done on the plugin activation. The rules are added, the record flushed and reconstructed. What seems to be happening on your site is that the rules are being flushed at odd times when they should not be but NOT rebuilt so all of your pages are getting orphaned. That means the key to this might be trying to find out what is flushing them. And the most likely candidate would be another plugin...

But - try the update of both permalinks (Wp first then forum) as above to se if that makes it more stable.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Eric Rivera
Member
Free Members
sp_UserOfflineSmall Offline
Mar 31, 2013 - 6:07 am

Ok.  So just to be clear.  When I mean update all i am doing is going into the permalinks in the settings and hitting save.  I am not changing anything.  So you also want me to go to the SPF admin Intergration>page and permalink and hit update WP integration also?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 31, 2013 - 6:12 am

No. I want you to go to the SPF admin Integration > page and permalink and click on the 'Update Forum Permalink' button AFTER updating the WP permalinks.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Eric Rivera
Member
Free Members
sp_UserOfflineSmall Offline
Mar 31, 2013 - 6:19 am

Yea thats what I meant.  I will try that and see if it works.

Avatar
Eric Rivera
Member
Free Members
sp_UserOfflineSmall Offline
Apr 1, 2013 - 6:25 am

That did not work.  But I found the Culprit.  Its a plugin I used called Better WP Security.   It has an option called Intrustion Detection. Which does the following:

404 detection looks at a user who is hitting a large number of non-existent pages, that is they are getting a large number of 404 errors. It assumes that a user who hits a lot of 404 errors in a short period of time is scanning for something (presumably a vulnerability) and locks them out accordingly (you can set the thresholds for this below). This also gives the added benefit of helping you find hidden problems causing 404 errors on unseen parts of your site as all errors will be logged in the "View Logs" page. You can set threshholds for this feature below.

I disabled that the whole plugin for a few days and did not get one error.  I just find it strange how I didnt have that issue with BBPRESS.  Maybe people werent interested in hacking BBPRESS like they are SPF :)

Thanks for your help Yellow :)

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 1, 2013 - 6:34 am

Encountered and heard of a lot of problems with that plugin actually.

I should imagine this has everything to do with the method SP uses to display itself and this security plugin not understanding it. BBPress creates entries in the WP posts table so each topic has a unique entry in that table. SP only has a single page entry in that table and the urls are derived using rewrite rules. This IS a WP mechanism but I suspect the security plugin doesn't deal with as it should and just notices repeated requests to the same page but with different urls appended.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17367
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626