Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > vRewrite - SEOed URLs for vBulletin
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Today's Post's Link Not Working Details »»
Today's Post's Link Not Working
Version: , by M_OReilly16 M_OReilly16 is offline
Developer Last Online: Dec 2007 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 05-27-2006 Last Update: Never Installs: 0
 
No support by the author.

I just installed this mod, and wow, thank you! Very nice and easy to install. Everything seems to be working correctly but my Today's post's button. I don't get an error but it doesn't show the new posts either, I just get a blank page without anything but my header and footer.

www.oracing.com/forums is my forums in case someone wants to check it out and see what I'm talking about.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 05-28-2006, 12:46 AM
Adyum Adyum is offline
 
Join Date: Jan 2006
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just went there and it is working fine for me. I would suggest clearing your cache and cookies and see if that helps.
Reply With Quote
  #3  
Old 05-28-2006, 02:10 AM
M_OReilly16 M_OReilly16 is offline
 
Join Date: Feb 2006
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Adyum
I just went there and it is working fine for me. I would suggest clearing your cache and cookies and see if that helps.
Yeah I fixed it Needed to change the htaccess.

Can someone tell me which part of the htaccess file I need to change so that I don't have to use the "/" at the end of the url's? When I change it in the admincp I cannot access my forums, I am assuming it's because of the htaccess file. Here is my file as it stands now.

Code:
RewriteEngine On   
RewriteRule ^(.*)/(styleid=(.*))$ showthread.php?&%{QUERY_STRING} [L]   
RewriteRule ^(.*)/(showthread\.php)$ showthread.php?&%{QUERY_STRING} [L]   
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)-new.html showthread.php?t=$3&goto=newpost&%{QUERY_STRING} [L]   
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)-last.html showthread.php?t=$3&goto=lastpost&%{QUERY_STRING} [L]   
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)-print.html printthread.php?t=$3&is_vrewrite=yes&%{QUERY_STRING} [L]   
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)-post(.*).html showthread.php?p=$4&%{QUERY_STRING} [L]   
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-page([0-9]+)-([0-9]+).html showthread.php?t=$4&page=$3&is_vrewrite=yes&%{QUERY_STRING} [L]   
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+).html/(.*)$ showthread.php?t=$3&%{QUERY_STRING}&is_vrewrite=yes [L]   
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+).html showthread.php?t=$3&is_vrewrite=yes&%{QUERY_STRING} [L]   
RewriteRule ^members/([A-Za-z0-9\-]+)-([0-9]+).html member.php?u=$2&is_vrewrite=yes&%{QUERY_STRING} [L]   
RewriteRule ^f-([A-Za-z0-9\-]+)-([0-9]+)/page([0-9]+).html/(.*)$ forumdisplay.php?f=$2&&page=$3%{QUERY_STRING}&is_vrewrite=yes [L]   
RewriteRule ^f-([A-Za-z0-9\-]+)-([0-9]+).html/$ forumdisplay.php?f=$2&%{QUERY_STRING}&is_vrewrite=yes [L]   
RewriteRule ^search-([A-Za-z0-9\-]+).html/$ search.php?do=$1 [L]
Another issue Clicking on a members name, I noticed images are missing in the template, and also the p.m feature doesn't work. The p.m feature is a little more important to me, please advise

Also, the second page of a thread won't work either. I get a blank page.
Reply With Quote
  #4  
Old 05-30-2006, 05:01 AM
jlaine jlaine is offline
 
Join Date: Nov 2001
Location: Morris, MN
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by M_OReilly16
Yeah I fixed it Needed to change the htaccess.

Can someone tell me which part of the htaccess file I need to change so that I don't have to use the "/" at the end of the url's? When I change it in the admincp I cannot access my forums, I am assuming it's because of the htaccess file. Here is my file as it stands now.

Code:
RewriteEngine On   
RewriteRule ^(.*)/(styleid=(.*))$ showthread.php?&%{QUERY_STRING} [L]   
RewriteRule ^(.*)/(showthread\.php)$ showthread.php?&%{QUERY_STRING} [L]   
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)-new.html showthread.php?t=$3&goto=newpost&%{QUERY_STRING} [L]   
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)-last.html showthread.php?t=$3&goto=lastpost&%{QUERY_STRING} [L]   
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)-print.html printthread.php?t=$3&is_vrewrite=yes&%{QUERY_STRING} [L]   
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)-post(.*).html showthread.php?p=$4&%{QUERY_STRING} [L]   
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-page([0-9]+)-([0-9]+).html showthread.php?t=$4&page=$3&is_vrewrite=yes&%{QUERY_STRING} [L]   
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+).html/(.*)$ showthread.php?t=$3&%{QUERY_STRING}&is_vrewrite=yes [L]   
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+).html showthread.php?t=$3&is_vrewrite=yes&%{QUERY_STRING} [L]   
RewriteRule ^members/([A-Za-z0-9\-]+)-([0-9]+).html member.php?u=$2&is_vrewrite=yes&%{QUERY_STRING} [L]   
RewriteRule ^f-([A-Za-z0-9\-]+)-([0-9]+)/page([0-9]+).html/(.*)$ forumdisplay.php?f=$2&&page=$3%{QUERY_STRING}&is_vrewrite=yes [L]   
RewriteRule ^f-([A-Za-z0-9\-]+)-([0-9]+).html/$ forumdisplay.php?f=$2&%{QUERY_STRING}&is_vrewrite=yes [L]   
RewriteRule ^search-([A-Za-z0-9\-]+).html/$ search.php?do=$1 [L]
Another issue Clicking on a members name, I noticed images are missing in the template, and also the p.m feature doesn't work. The p.m feature is a little more important to me, please advise

Also, the second page of a thread won't work either. I get a blank page.
Mine is setup as forums have forward slashes http://boardname/f-forumtitle-33/ and that thread titles do not - follows forum structure exactly but no forward slash at the end - that to me seems to be the most logical (and clean) way to do things - I also dropped .html as some people were having issues with Opera storing the pages as static content.

This would be the .htaccess I use (note to update your preferences in the admincp too.)

(Do not copy mine over unless you verify that you are running the exact same version as I - I'm doing this simply so you can see how to modify the .htaccess for the dropping of .html at the end of your file names.)

Code:
RewriteRule ^(.*)/(styleid=(.*))$ showthread.php?&%{QUERY_STRING} [L]  	 
RewriteRule ^(.*)/(showthread\.php)$ showthread.php?&%{QUERY_STRING} [L] 	 
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)-new$ showthread.php?t=$3&goto=newpost&%{QUERY_STRING} [L] 	 
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)-last$ showthread.php?t=$3&goto=lastpost&%{QUERY_STRING} [L] 	 
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)-post([0-9]+)$ showthread.php?p=$4&%{QUERY_STRING} [L] 	 
RewriteRule ^p-([A-Za-z0-9\-]+)-post([0-9]+)/postcount([0-9]+)$ showpost.php?p=$2&postcount=$3&is_vrewrite=yes&%{QUERY_STRING} [L] 	 
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)/page([0-9]+)$ showthread.php?t=$3&page=$4&is_vrewrite=yes&%{QUERY_STRING} [L] 	 
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)/(.*)$ showthread.php?t=$3&%{QUERY_STRING}&is_vrewrite=yes [L] 	 
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)$ showthread.php?t=$3&is_vrewrite=yes&%{QUERY_STRING} [L] 	 
RewriteRule ^u-([A-Za-z0-9\-]+)-([0-9]+)$ member.php?u=$2&is_vrewrite=yes&%{QUERY_STRING} [L] 	 
RewriteRule ^(.*)/(member\.php)$ member.php?$1&%{QUERY_STRING} [L] 	 
RewriteRule ^f-([A-Za-z0-9\-]+)-([0-9]+)/page([0-9]+)/(.*)$ forumdisplay.php?f=$2&&page=$3%{QUERY_STRING}&is_vrewrite=yes [L] 	 
RewriteRule ^f-([A-Za-z0-9\-]+)-([0-9]+)/$ forumdisplay.php?f=$2&%{QUERY_STRING}&is_vrewrite=yes [L] 	 
RewriteRule ^search-([A-Za-z0-9\-]+)/$ search.php?do=$1 [L] 	 
RewriteCond %{REQUEST_FILENAME} !-f 	 
RewriteCond %{REQUEST_FILENAME} !-d 	 
RewriteRule ^(.*)/(.*)(\.php)$ $2.php?&%{QUERY_STRING} [L]
Also - the images issue should have been explained in the install instructions - you need to add base href to some templates to get everything back to normal.

The multiple pages situation was fixed long ago, unless a new bug popped up - what does your verison say inside the product manager? A lot of these bugs seem to be because of the 18 billion versions floating around on various systems, and I don't think the one available on VB.org's thread is even the right one... Going to have to see about getting that problem fixed.
Reply With Quote
  #5  
Old 06-01-2006, 01:01 AM
d8tabyte's Avatar
d8tabyte d8tabyte is offline
 
Join Date: Nov 2005
Location: Michigan
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by M_OReilly16
Yeah I fixed it Needed to change the htaccess.

Can someone tell me which part of the htaccess file I need to change so that I don't have to use the "/" at the end of the url's? When I change it in the admincp I cannot access my forums, I am assuming it's because of the htaccess file. Here is my file as it stands now.

Code:
RewriteEngine On   
RewriteRule ^(.*)/(styleid=(.*))$ showthread.php?&%{QUERY_STRING} [L]   
RewriteRule ^(.*)/(showthread\.php)$ showthread.php?&%{QUERY_STRING} [L]   
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)-new.html showthread.php?t=$3&goto=newpost&%{QUERY_STRING} [L]   
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)-last.html showthread.php?t=$3&goto=lastpost&%{QUERY_STRING} [L]   
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)-print.html printthread.php?t=$3&is_vrewrite=yes&%{QUERY_STRING} [L]   
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+)-post(.*).html showthread.php?p=$4&%{QUERY_STRING} [L]   
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-page([0-9]+)-([0-9]+).html showthread.php?t=$4&page=$3&is_vrewrite=yes&%{QUERY_STRING} [L]   
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+).html/(.*)$ showthread.php?t=$3&%{QUERY_STRING}&is_vrewrite=yes [L]   
RewriteRule ^(.*)/t-([A-Za-z0-9\-]+)-([0-9]+).html showthread.php?t=$3&is_vrewrite=yes&%{QUERY_STRING} [L]   
RewriteRule ^members/([A-Za-z0-9\-]+)-([0-9]+).html member.php?u=$2&is_vrewrite=yes&%{QUERY_STRING} [L]   
RewriteRule ^f-([A-Za-z0-9\-]+)-([0-9]+)/page([0-9]+).html/(.*)$ forumdisplay.php?f=$2&&page=$3%{QUERY_STRING}&is_vrewrite=yes [L]   
RewriteRule ^f-([A-Za-z0-9\-]+)-([0-9]+).html/$ forumdisplay.php?f=$2&%{QUERY_STRING}&is_vrewrite=yes [L]   
RewriteRule ^search-([A-Za-z0-9\-]+).html/$ search.php?do=$1 [L]
Another issue Clicking on a members name, I noticed images are missing in the template, and also the p.m feature doesn't work. The p.m feature is a little more important to me, please advise

Also, the second page of a thread won't work either. I get a blank page.

What did you change? I am having this same issue - Also when I go into the forums, I am getting multiple colored backgrounds!? Like - it should be a solid grey background - instead it is great and a brown like color. I think it has something to do with some images not showing.

Latest release of vrewrite, VB 3.5.1, PHP 4 and I shut it off so I don't need to give a URL, I'll click install and post a link once I have a working hack.
Reply With Quote
  #6  
Old 06-01-2006, 01:41 AM
jlaine jlaine is offline
 
Join Date: Nov 2001
Location: Morris, MN
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by d8tabyte
What did you change? I am having this same issue - Also when I go into the forums, I am getting multiple colored backgrounds!? Like - it should be a solid grey background - instead it is great and a brown like color. I think it has something to do with some images not showing.

Latest release of vrewrite, VB 3.5.1, PHP 4 and I shut it off so I don't need to give a URL, I'll click install and post a link once I have a working hack.
Make sure this line is present (and written as such in your .htaccess)

Code:
RewriteRule ^search-([A-Za-z0-9\-]+).html/$ search.php?do=$1 [L]
As for the mentioned member display problem, add this to your memberinfo template:

<base href="$vboptions[bburl]/" />
Reply With Quote
  #7  
Old 06-04-2006, 07:03 AM
NubKnacker NubKnacker is offline
 
Join Date: Nov 2005
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jlaine
Also - the images issue should have been explained in the install instructions - you need to add base href to some templates to get everything back to normal.
I have a problem with the images too, they display only on the front page and the rest of the pages are without images. What templates do I need to add base href too?

Thanks.
Reply With Quote
  #8  
Old 06-08-2006, 03:11 PM
Immortal Immortal is offline
 
Join Date: Jul 2005
Location: Cincinnati, OH
Posts: 403
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Install.html holds all of your answers
Reply With Quote
  #9  
Old 06-09-2006, 05:56 PM
zeropaid's Avatar
zeropaid zeropaid is offline
 
Join Date: Nov 2004
Location: San Diego, CA
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was having all these same problems, now since I changed the htaccess to be what jlaine recommended above it recent posts seems to be working.. but I still can't get to anything but page 1 of threads. I am running vrewrite 1.5.1 and vbulletin 3.5.3
Reply With Quote
  #10  
Old 06-10-2006, 12:47 AM
jlaine jlaine is offline
 
Join Date: Nov 2001
Location: Morris, MN
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by zeropaid
I was having all these same problems, now since I changed the htaccess to be what jlaine recommended above it recent posts seems to be working.. but I still can't get to anything but page 1 of threads. I am running vrewrite 1.5.1 and vbulletin 3.5.3
I'll post a thread with what I have, most of these bugs being reported have been fixed on it - there are a few still remaining, but hopefully we can all get on the same page - there are a few 1.5.1 versions floating out there for some odd reason. (I mean - they are assigned 1.5.1, but some have more bug fixes than others... I don't know why.)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:50 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
  • Page Generation 0.04496 seconds
  • Memory Usage 2,311KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete