![]() |
Forum Mod Rewrite Friendly URLs Issue Hi, Since upgrading from 3.8 to 4, I've been having a problem with search engine traffic. If an archived thread is displayed on a search engine, it will attempt to retrive; Quote: http://www.grandoldteam.com/forum/threads/17601-s.html When it fact, the URL should be Quote: http://www.grandoldteam.com/forum/th...a-to-Besiktas? I have looked on the forums on here, and vbSEO looking for a fix but can't for the life of me work it out. My current htaccess, obtained from here resembles; Code: # Author: Matty Asia # Version 1.6 # Downloaded from: Mod Rewrite Friendly URLs => .htaccess 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 [^/]+/([0-9]+)-([^/])+\.html http://www.grandoldteam.com/forum/threads/$1-$2.html [L,R=301] 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} Any clues guys?:confused: |
الساعة الآن 09:03 PM |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By
Almuhajir