PDA

View Full Version : rewrite issue


KissOfDeath
12-24-2009, 09:48 PM
I'm having problems with my rewrites for my forum,

I have "Mod Rewrite Friendly URLs" ticked in the Admin CP

this is my .htaccess file:
RewriteEngine On

RewriteRule ^includes/(.*) index.php
RewriteRule ^vb/(.*) index.php
RewriteRule ^packages/(.*) index.php

RewriteRule ^threads/([0-9]+)(?:/?$|(?:-[^/]+))(?:/?$|(?:/page([0-9]+)?)) showthread.php?t=$1&page=$2&%{Qhttps://vborg.vbsupport.ru/newthread.php?do=newthread&f=232UERY_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}

But when i click a link on the front of my forums it rewrites to
http://www.devils-shadow.com/forums/forums/68-General-Chat

when it should be:
http://www.devils-shadow.com/forums/68-General-Chat

can anyone advise me what i have wrong?

even if i delete the .htaccess file is the same....

Dismounted
12-25-2009, 10:13 AM
Check the URL settings in the Admin CP (under vBulletin Options).

KissOfDeath
12-26-2009, 04:50 AM
Check the URL settings in the Admin CP (under vBulletin Options).

I have Forum URL set as
http://www.devils-shadow.com/forums

and home Homepage URL set as
http://www.devils-shadow.com

this is correct right?