Results 1 to 3 of 3

Help with .htaccess!!

This is a discussion on Help with .htaccess!! within the General Discussion forums, part of the vBulletin SEO Discussion category; Hello, my other forum runs with out vbseo . I am using mod-rewrite friendly url's as per this thread . ...

  1. #1
    Junior Member
    Real Name
    arun
    Join Date
    Jul 2010
    Posts
    19
    Liked
    0 times

    Help with .htaccess!!

    Hello, my other forum runs with out vbseo. I am using mod-rewrite friendly url's as per this thread.

    This is my current .htaccess ...

    Code:
    RewriteEngine On
    Options +FollowSymLinks
    
    RewriteCond %{HTTP_HOST} !^eminemtalk\.com$
    RewriteRule ^(.*)$ http://eminemtalk.com/$1 [L,R=301]
    
    RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteCond %{HTTP_USER_AGENT} "Mozilla/4\.76 \[en\] \(Windows NT 5\.0; U\)"
    RewriteRule .* - [F,L]
    
    ### 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&p=$2&%{QUERY_STRING}
    RewriteRule ^members/([0-9]+) member.php?u=$1&%{QUERY_STRING}
    RewriteRule ^forums/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) forumdisplay.php?f=$1&p=$2&%{QUERY_STRING}
    RewriteRule ^blogs/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) blog.php?u=$1&p=$2&%{QUERY_STRING}
    RewriteRule ^entries/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) entry.php?b=$1&p=$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}
    RewriteCond %{REQUEST_FILENAME} -s [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^.*$ - [NC,L]
    RewriteRule ^$ $1.php?r=$2 [QSA]
    
    # 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]
    #Deny attempts to view the Htaccess file.
    <Files .htaccess>
    Order allow,deny
    Deny from all
    </Files>

    Evey thread with more than 4no of pages has redirect problem.


    For example, let us take this thread till the 4th page it is fine!!

    Here is the 5th page, where it takes me to an introduction thread...


    I even contacted the author, he had no solution for my problem!!

    I am finally here, any help would be appreciated!!

    Thank you.

  2. #2
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    Sorry, but we ONLY support vbseo. vbseo will load page 5 of all of your threads, every time

  3. #3
    Junior Member
    Real Name
    arun
    Join Date
    Jul 2010
    Posts
    19
    Liked
    0 times
    Quote Originally Posted by Brian Cummiskey View Post
    Sorry, but we ONLY support vbseo. vbseo will load page 5 of all of your threads, every time
    Yeah, i know. I have vbseo on my other forum with out any any problems.!!

    Vbulletin support sucks, every one knows!! I thought you guys could help me out :( my bad.

Similar Threads

  1. Replies: 8
    Last Post: 12-14-2010, 12:51 PM
  2. Replies: 2
    Last Post: 12-24-2009, 04:52 AM
  3. Moving .htaccess rules to htaccess.conf
    By petforums in forum General Discussion
    Replies: 2
    Last Post: 06-07-2009, 12:42 PM
  4. Replies: 5
    Last Post: 05-12-2009, 03:29 PM
  5. .htaccess in forum root w/ exisiting .htaccess?
    By OttoBomb in forum Troubleshooting
    Replies: 5
    Last Post: 07-03-2007, 03:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •