Info
- 37 posts
- 3 voices
- Started 3 years ago by TrishaM
- Latest reply from TrishaM
- This topic is resolved
Topics Per Page plugin - new problem
-
- Posted 3 years ago #
Okay - so far so good - added the Options +FollowSymLinks after the -Multiviews and added the two lines to RewriteRule - no 500 error yet :)
-
- Posted 3 years ago #
I think we solved it then.
Try adding the rest of the rules.RewriteRule ^topic/([^/]+)/page/([0-9]+)/?$ /Forum/topic.php?id=&page= [L,QSA] RewriteRule ^topic/([^/]+)/?$ /Forum/topic.php?id= [L,QSA] RewriteRule ^tags/([^/]+)/page/([0-9]+)/?$ /Forum/tags.php?tag=&page= [L,QSA] RewriteRule ^tags/([^/]+)/?$ /Forum/tags.php?tag= [L,QSA] RewriteRule ^tags/?$ /Forum/tags.php [L,QSA] RewriteRule ^profile/([^/]+)/page/([0-9]+)/?$ /Forum/profile.php?id=&page= [L,QSA] RewriteRule ^profile/([^/]+)/([^/]+)/?$ /Forum/profile.php?id=&tab= [L,QSA] RewriteRule ^profile/([^/]+)/([^/]+)/page/([0-9]+)/?$ /Forum/profile.php?id=&tab=&page= [L,QSA] RewriteRule ^profile/([^/]+)/?$ /Forum/profile.php?id= [L,QSA] RewriteRule ^profile/?$ /Forum/profile.php [L,QSA] RewriteRule ^view/([^/]+)/page/([0-9]+)/?$ /Forum/view.php?view=&page= [L,QSA] RewriteRule ^view/([^/]+)/?$ /Forum/view.php?view= [L,QSA] RewriteRule ^rss/?$ /Forum/rss.php [L,QSA] RewriteRule ^rss/topics/?$ /Forum/rss.php?topics=1 [L,QSA] RewriteRule ^rss/forum/([^/]+)/?$ /Forum/rss.php?forum= [L,QSA] RewriteRule ^rss/forum/([^/]+)/topics/?$ /Forum/rss.php?forum=&topics=1 [L,QSA] RewriteRule ^rss/topic/([^/]+)/?$ /Forum/rss.php?topic= [L,QSA] RewriteRule ^rss/tags/([^/]+)/?$ /Forum/rss.php?tag= [L,QSA] RewriteRule ^rss/profile/([^/]+)/?$ /Forum/rss.php?profile= [L,QSA] RewriteRule ^rss/view/([^/]+)/?$ /Forum/rss.php?view= [L,QSA] -
- Posted 3 years ago #
I have to leave for the rest of the day but essentially if you are able to add the rest of the rules without an error 500, then go back into
bb-config.phpand put back the line for slugs.Then the forum should start using slugs.
To finish up after it's all working, go find those three extra rewriterule lines I posted much earlier and add those to the list and then you should be 100% done.
After those extra three lines are in, remember to test the front-page pagination which is what started this entire exercise in the first place, and hopefully they will be error free.
-
- Posted 3 years ago #
Ok - thanks! I understand you need to leave - no worries (i know we all have day jobs :) )
I did add back in the remaining RewriteRule lines, but that triggered the 500 error. I'll try adding them one by one until I hit the error, and post back which line it is.....
-
- Posted 3 years ago #
Well I am THRILLED to report that it finally ALL works as it should!
The odd part is that I never found any errors when I added the RewriteRule lines back in one by one - it was time consuming but worth it in the end (seems strange that copying & pasting the whole block in at once triggered the 500 error, but doing them one by one did not, but oh well - sometimes it's just better to not question things too deeply)....
I even added in the three lines needed for the plugin and had no trouble, so now the page numbers are working perfectly on the front page.
I can't thank you enough for all your patience and perseverance with this problem....I just sent you a well-deserved donation via your link on the showcase.......if I were ever going to have kids I'd seriously consider naming my firstborn _ck_ :)
-
- Posted 3 years ago #
It is possible whatever editor you were using was inserting some whitespace when you pasted the entire thing before one of the lines. What editor were you using?
ps. thank you very much for the donation!
-
- Posted 3 years ago #
I use TextWrangler, from BareBones software - it's a free text editor that has a lot of the features of their pay-for text editor, BBEdit (it replaced BBEdit Lite). To the best of my knowledge it's not supposed to do something like that (pasting whitespace) and I haven't had trouble in the past, but you never know - it could have been something in the process of copying it from my browser window after running rewrite-rules.php and then pasting it into TextWrangler that added some whitespace....
I'll definitely keep that in mind next time I'm copying and pasting anything.......
And you're welcome for the donation - as mentioned it was very well deserved! I'm self-employed and have a tiny budget, but I always try to reward plugin and theme developers, especially when they are so nice about providing support that goes way above and beyond the norm as you have :)
-
You must log in to post.