![]() |
Quote:
I'm thinking I might as well kill my archive now :smoke: cheers mate! |
Hi lierduh, sorry to bother you about this. But I need some help concerning the approvements you`ve done to the spider friendly hack. I`ve gone through all the steps in your hack, it works great in every area except one, the forumdisplay part.
The first problem is with multipage threads, in forumdisplay it will only show a error page if I click the page buttons. I`ve disabled that hack but the url shows something like "f123--2" which is strange. Any theories about this one? What should I check? The second problem is that the pagenumber buttons are a bit funky, test this one http://www.radiomute.com/f112-3.html. Click on different pages, unexplainable :) I`m completely aware that this is not your problem, as I can see you`re hack works perfect for everyone else, but I don`t understand this though I`ve looked into it. Cheers, Haakon |
1.
I presume you mean the multiple page thread links displayed under a forumdisplay. It should be something like t3593-15-5.html If you had it as: f123--2 then your template is not done properly. The template you need to change is: ================ For forumdisplay_multipagenav_pagenumber Replace <a href="showthread.php?s=$session[sessionhash]&threadid=$thread[threadid]&perpage=$pperpage&pagenumber=$acurpage">$acurpage </a> with <a href="t$thread[threadid]-$pperpage-$acurpage.html">$acurpage</a> ====================== 2. My original rewriterule set the "daysprune=30" (the second rewriterule). Your default setting for "Default view age" is "Last Day". You need to make them the same. My own forums setting at the moment is "the beginning" for the "Default view age" and the rewriterule is "daysprune=1000" That will show all the threads, making them all ready to feed the Googlebots. You can set "Default view age" for each forum through Admin panel, click Modify forums and then "setting". As the side note says, 1000 means from the beginning. |
Hi, changed the rewrite rule to my settings and it works with no funky behavior..... thanks!
The 1st problem didn`t get solved though. It`s like it dosn`t recognize the $pperpage variable. The pages will get spidered from the showthread templates though, so it`s no krisis. Thanks again, Haakon |
Is there a way to NOT monkey with the links for multiple pages for memberlist or search? I block the bots for those anyway, and the more rules I have, the easier it will be to break down the road. Any solutions?
|
Quote:
If you do not want the robots to index your memberlist or search results (I don't think they will go and fill your search terms anyway). Just create a robots.txt file and they won't bother. |
First, I'd like to thank lierduh for reworking the original hack. It's finally working like a charm on my site.
I'm having one bit of a problem, though. I've noticed, by looking at Who's Online, that some users have unknown locations such as those: /t2094-3.html ? s = xxxxxxxxxxxxxxxxxxx /f8 ? s = xxxxxxxxxxxxxxxxxxx /f13 ? s = xxxxxxxxxxxxxxxxxxx Note: Extra spaces added, because vB.org removes the session part, when posted as it is. xxxxxx in place of session as well to avoid problems. :) I was using the original version of the hack, so I used to have URLs like http://www.pinkfloydfan.net/f8, instead of http://www.pinkfloydfan.net/f8.html, so the second and third unknown locations might be because of old references that users posted. (Any clue on how to update old references in posts?), but I have no clue of why the first location (/t2094-3.html ? s = xxxxx) is showing up like that. Any ideas on this? Thanks a lot again! |
Not sure why the session id is added.
Perhaps you could check the web log, see extractly what URL was accessed, ie. with or without the session id. It may also help you to find out where the link was originated, ie. know as the referrer. |
This is probably a stupid question... but where would I find httpd.conf??? I can't find it in anywhere...
|
httpd.conf is part of the Apache installation... this mod assumes that you're running your own server....
Too bad it isn't working for me anyways. (Latest version of Apache) |
All times are GMT. The time now is 02:22 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|