CNJ Runner
New member
when i search , and click link, it directs me to t4r main page
http://www.toyota-4runner.org/5th-gen-t4rs/88268-quick-question-newbie-here-re-moonroof-sunroof-button.html
http://www.toyota-4runner.org/5th-gen-t4rs[B]-85[/B]/quick-question-newbie-here-re-moonroof-sunroof-button[B]-88268/[/B]
There has apparently been a URL format transformation that is causing the issue. I don't know whether this change is transient or if this is just the Way It Will Be Forever.
Here's an example of the standard, old-style links (like the search results display):
Code:http://www.toyota-4runner.org/5th-gen-t4rs/88268-quick-question-newbie-here-re-moonroof-sunroof-button.html
This will 404 and redirect you back to the main page. I looked at how the thread links are currently being formatted and correctly guessed how to rewrite an "old style" URL in the new format. Here's an example of the above link, formatted in the "current" manner. I have bolded the important changes:
Code:http://www.toyota-4runner.org/5th-gen-t4rs[B]-85[/B]/quick-question-newbie-here-re-moonroof-sunroof-button[B]-88268/[/B]
So, you can apply the following steps to an old-style URL to transform it into a functional new-style link:
Just as an aside, if this forum happened to be running via Apache then this URL format migration could be automatically handled with a simple ModRewrite rule. That would allow the forum to be configured to use the new style URLs *and* still allow the old style URLs to continue working. Basically, ModRewrite would apply these steps automatically via the Apache server.
- Determine the subforum ID by looking at the links for the applicable subforum on the main page. (eg. in the case of the 5th gen subforum it is "85")
- Tack the subforum ID after the subforum name prefixed with a hyphen. So, 5th gen subforum gets an "-85" tacked on as shown above.
- Delete the ".html" from the end of the forum link
- Take the thread identifier (in the example this is "88268-") and move it to the end of the thread title, prefixed with a hyphen and suffixed with a "/" (in this example, it became "-88268/")
- Load the thread in your browser and savor the juicy post goodness.
Then again, perhaps this is just a temporary forum config glitch.