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
direct links do not load unless /forum is visited 1st
Avatar
bauerm
Member
Free Members
sp_UserOfflineSmall Offline
Jul 9, 2012 - 7:59 am

This is an intermittent problem, but annoying nonetheless.  Often the links aimed at a given forum topic or post that we provide on our site will 404 the member (including Admin) unless they had already loaded the main forum page first.

Any suggestions or insights will be greatly appreciated.  Thanks.

Here are the plug-ins we're using:

WP Plugins   Advanced Recent Posts Widget (1.1a)
Clean Archives Reloaded (3.2.0)
Enable Media Replace (2.6)
Exclude Pages from Navigation (1.92)
Flexible Lightbox (1.0.4)
FV Wordpress Flowplayer (1.2.16)
Google Analyticator (6.2)
JW Player Plugin for WordPress (1.6.0)
Member Access (1.1.6)
Peekaboo (1.1)
PilotPress (1.5.5)
Quick Cache (111203)
Redirection (2.2.13)
Simple:Press (5.1.1)
Simple Login Log (0.9.2)
Simple Tags (2.2)
Text Expander (0.3)
Theme My Login (6.2.1)
TinyMCE Advanced (3.4.9)
vSlider (4.1.2)
Widget Logic (0.52)
Widget Shortcode (0.2)
Wordpress Tabs Slides (2.0.1)
WP-ImageFlow2 (1.6.5)
WP-Mail-SMTP (0.9.1)
WP Search (2.0.4.0)
SP Plugins   Admin Bar (1.1)
Editor (TinyMCE - Rich Text) (1.1.3)
File Uploader (using Plupload) (1.1.4)
Post Preview (1.0.1)
Post Ratings (1.1)
Profanity Filter (1.1.1)
Subscriptions (1.1)
Template Tags and Widgets (1.1.2)
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 9, 2012 - 8:50 am

Well that's a new one on me!

What does the 'Redirection' plugin do and how does it work?

andy-signature.png
YELLOW
SWORDFISH
Avatar
bauerm
Member
Free Members
sp_UserOfflineSmall Offline
Jul 9, 2012 - 9:34 am

The original front page of theme did not fit our needs, so we created a new page and made that the front page.  The Redirection plugin redirects users from that old front page, to the new one.  I tried using the wordpress "Static Front Page" option, but that didn't seem to work.  I also tried using a simpler Redirection plugin, but it didn't work either for re-directing the front page.  The redirection plugin is rather robust with lots of different options and things I don't fully understand.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 9, 2012 - 9:55 am

Well... WordPress keeps a tab on all the internal urls by what is known as rewrite rules. This is how SP can load all of it's various and different urls into a single WP page. It almost sounds like these are getting cleared out by something from time to time and then not getting rewritten again properly.

You could try going to the forum admin > integration > page and permalink panel and manually clicking on update permalinks. This will cause a flush and rewrite of the rules. But of there IS some other party removing them then the problem may continue.

In amongst all of the options in this redirection plugin are there (1) any mention of rewrite rules and (2) anywhere where you can exclude specific urls or pages from its clutches? I may be wrong but this is where my suspicion is at the moment...

andy-signature.png
YELLOW
SWORDFISH
Avatar
bauerm
Member
Free Members
sp_UserOfflineSmall Offline
Jul 9, 2012 - 10:31 am

I do have a Caching plugin (quick Cache) that we use to clear the cache when we're making updates and such.  Could that be causing the re-writing problem you are referring to?

In this caching plugin config there is a "No-Cache URI patterns" and a "No-Chache Referrer Patterns" that I have added the /forum/ page to. 

In the redirection plugin I do not see any mention of re-write rules.  As for the (2), there is only where to put the redirections you want, so by omission it should be excluding everything else I assume.  I do have /forums/ and /forums redirecting to the proper /forum/ 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 9, 2012 - 10:56 am

Good call on the cache. That looks right. I doubt it messes with the rules - it would be most odd if it did. I actually tried this plugin quite recently and coudn't get it working at all...

May I ask why you are redirecting the forum? Is this because you have changed the page slug or anything? Why not just change the slug to 'forums' if that is a preference? This could have something to do with it...

Although - there was a hint that this happens on non-forum pages from time to time as well which does suggest a more global issue.

andy-signature.png
YELLOW
SWORDFISH
Avatar
bauerm
Member
Free Members
sp_UserOfflineSmall Offline
Jul 9, 2012 - 12:24 pm

I was redirecting forums to forum just because I saw some users typing in "forums," but I'll delete that redirect since most seem to click on the link to the forum.

But yeah, the 404s happen with non-forum pages, posts, forum topics, threads, general forums, and everything.  But it seems to happen most often with the forum pages and topics, which is what lead me here.  But now I'm thinking it's probably a different issue/plugin that's causing it.  I have a post in on the Redirection plugins support forum, but they are far less responsive.  🙂

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 9, 2012 - 9:15 pm

let us know what they say... 

seems like you should only have one redirection (old front to new) right?  most everything else should be disabled...

have you just tried a simple .htaccess redirect for the one page?  you might find it much simpler...

Avatar
bauerm
Member
Free Members
sp_UserOfflineSmall Offline
Jul 10, 2012 - 8:46 am

I only have 2 redirections, the main page and one from an old popular post to a page.

I would try a simple .htaccess redirect if I knew how to do that.  That's a bit over my head.  I will look into how to do that though.

Still no word from the redirection plugin forum.

Avatar
bauerm
Member
Free Members
sp_UserOfflineSmall Offline
Jul 10, 2012 - 2:17 pm

Well all my attempts at adding a redirect to the .htaccess file failed.  Not sure what I am doing wrong, I tried many different tutorials and set-ups.

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: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626