Announcement

Collapse
No announcement yet.

404 errors when users change Thread Display drop downs on forums pages. Mod Rewrite?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spark
    replied
    I hate to bump this, but this is crippling my site. Can anyone offer a suggestion?

    Leave a comment:


  • Spark
    replied
    Sorry about that. Site is http://www.bladeforums.com/forums

    Looks like the thread display drop downs are wanting http://www.bladeforums.com/forums/74...id=&order=desc
    but the server is producing http://www.bladeforums.com/forums/fo...id=&order=desc resulting in the thread display 404ing

    Normal thread links on a main forum display (such as http://www.bladeforums.com/forums/fo...es-(Individual) ) wind up being http://www.bladeforums.com/forums/th...lim-Leverlocks (not lack of second /forums )

    Leave a comment:


  • Lynne
    replied
    Have you tried removing the htaccess to see if it works then?

    How about a link so we can see what is going on.

    Leave a comment:


  • 404 errors when users change Thread Display drop downs on forums pages. Mod Rewrite?

    I just upgraded to 4.1.2 from 3.8.7 and am going through various bug reports. Right now the highest priority is that forums users are unable to change thread display values using the drop down menus at the bottom of the thread listings.

    I have the following .htaccess file in the site root directory:
    Code:
    Options +FollowSymLinks
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^bladeforums\.com
    RewriteRule ^(.*)$ http://www.bladeforums.com/$1 [R=permanent,L]
    
    #from vbulletin .htaccess
    #Options -MultiViews
    
    RewriteCond %{REQUEST_FILENAME} -s [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    
    RewriteRule ^.*$ - [NC,L]
    
    # Forum
    RewriteRule ^threads/.* showthread.php [QSA]
    RewriteRule ^forums/.* forumdisplay.php [QSA]
    RewriteRule ^members/.* member.php [QSA]
    RewriteRule ^blogs/.* blog.php [QSA]
    RewriteRule ^entries/.* entry.php [QSA]
    
    RewriteCond %{REQUEST_FILENAME} -s [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    
    RewriteRule ^.*$ - [NC,L]
    
    # MVC
    RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]
    and in the forums home directory
    Code:
    # Author: Matty Asia
    # Version 1.6
    # Downloaded from: http://www.vbulletin.com/forum/showthread.php?325798
    
    RewriteEngine On
    Options +FollowSymLinks
    
    ### THIS IS A LITTLE EXTRA SECURITY AND CAN BE REMOVED
    
    RewriteRule ^includes/(.*) index.php
    RewriteRule ^vb/(.*) index.php
    RewriteRule ^packages/(.*) index.php
    
    ### THIS IS THE ACTUAL REWRITE
    
    RewriteRule ^threads/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) showthread.php?t=$1&page=$2&%{QUERY_STRING}
    RewriteRule ^members/([0-9]+) member.php?u=$1&%{QUERY_STRING}
    RewriteRule ^forums/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) forumdisplay.php?f=$1&page=$2&%{QUERY_STRING}
    RewriteRule ^blogs/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) blog.php?u=$1&page=$2&%{QUERY_STRING}
    RewriteRule ^entries/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) entry.php?b=$1&page=$2&%{QUERY_STRING}
    RewriteRule ^list/([^/]*/)([0-9]+) list.php?r=$1$2&%{QUERY_STRING}
    RewriteRule ^content/(.*) content.php?r=$1&%{QUERY_STRING}
    RewriteRule ^widget/config/([0-9]+) widget.php?r=config/$1&%{QUERY_STRING}
    
    #TESTING REMOVE BELOW IF IT DOESN'T WORK
    RewriteCond %{REQUEST_FILENAME} -s [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    
    RewriteRule ^.*$ - [NC,L]
    
    # Forum
    RewriteRule ^threads/.* showthread.php [QSA]
    RewriteRule ^forums/.* forumdisplay.php [QSA]
    RewriteRule ^members/.* member.php [QSA]
    I'm sure it's something simple I've messed up
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X