![]() |
|
#1
|
|||
|
|||
|
Hi there
![]() So ... I want dynamics to be in the root of my web folder and have vB be in a forum sub directory. The question I have is that when I turn on Spider Friendly URL's and use the provided .htaccess ... I can't get to the forums anymore, because the .htaccess is trying to rewrite it. Here's the current .htaccess: Code:
Options +FollowSymlinks RewriteRule ^([a-zA-Z_0-9\-]+)/robots\.txt$ robots.txt [QSA,L] RewriteRule ^members/page([0-9]+).html$ index.php?page=$1 [QSA,L] RewriteRule ^whatsnew/entries/([0-9]+)/page([0-9]+).html$ /browsecategory.php?do=newentries&cutoffdate=$1&page=$2 [QSA,L] RewriteRule ^whatsnew/entries/(([0-9]|-)+/?)$ /browsecategory.php?do=newentries&cutoffdate=$1 [QSA,L] RewriteRule ^whatsnew/entries/?$ /browsecategory.php?do=newentries [QSA,L] RewriteRule ^whatsnew/posts/([0-9]+)/page([0-9]+).html$ /browsecategory.php?do=newposts&cutoffdate=$1&page=$2 [QSA,L] RewriteRule ^whatsnew/posts/([0-9]+)$ /browsecategory.php?do=newposts&cutoffdate=$1 [QSA,L] RewriteRule ^whatsnew/posts/?$ /browsecategory.php?do=newposts [QSA,L] RewriteRule ^whatspopular/([a-zA-Z_0-9\-]+)/$ /browsecategory.php?do=popentries&orderby=$1 [QSA,L] RewriteRule ^members/([a-zA-Z_0-9\-]+)/page([0-9]+).html$ /browsecategory.php?do=member&userrewrite=$1&page=$2 [QSA,L] RewriteRule ^members/(([a-zA-Z_0-9]|-)+/?)$ /browsecategory.php?do=member&userrewrite=$1 [QSA,L] RewriteRule ^([a-zA-Z_0-9\-]+)/members/([a-zA-Z_0-9\-]+)/page([0-9]+).html$ /browsecategory.php?userrewrite=$2&catrewrite=$1&page=$3 [QSA,L] RewriteRule ^([a-zA-Z_0-9\-]+)/members/(([a-zA-Z_0-9]|-)+/?)$ /browsecategory.php?userrewrite=$2&catrewrite=$1 [QSA,L] RewriteRule ^([a-zA-Z_0-9\-]+)/(([a-zA-Z_0-9]|-)+)/$ showentry.php?entryrewrite=$2&catrewrite=$1 [QSA,L] RewriteRule ^([a-zA-Z_0-9\-]+)/([a-zA-Z_0-9\-]+)/page([0-9]+).html$ showentry.php?entryrewrite=$2&catrewrite=$1&page=$3 [QSA,L] RewriteRule ^([a-zA-Z_0-9\-]+)/([a-zA-Z_0-9\-]+)/epage([0-9]+).html$ showentry.php?entryrewrite=$2&catrewrite=$1&epage=$3 [QSA,L] RewriteRule ^([a-zA-Z_0-9\-]+)/page([0-9]+).html$ /browsecategory.php?catrewrite=$1&page=$2 [QSA,L] RewriteRule ^([a-zA-Z_0-9\-]+)/?$ /browsecategory.php?catrewrite=$1 [QSA,L] Code:
RewriteCond %{REQUEST_URI} !/forum [NC]
Code:
RewriteCond %{REQUEST_URI} !^/forum [NC]
and I tried: Code:
RewriteRule ^/forum - [L] Can anyone help me out? Thank you. |
|
#2
|
|||
|
|||
|
I ended up just moving my dynamics to a subcategory.
|
|
#3
|
|||
|
|||
|
I figured out this issue tonight, so I thought I would post here in case someone has the same issue.
If you are trying to put the dynamics in the root directory and use the SEO .htaccess file, then you will find that your forum directory also get's caught up in the .htaccess rewriterules. To combat this add this line: rewriterule ^forum/ - [L] Directly under the rewrite engine on line. Like this: Options +FollowSymlinks RewriteEngine On rewriterule ^forum/ - [L] Where forum stands for the subdirectory where your forum is located. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Spider Friendly / SEO URL's Not Working? | Kaelon | Troubleshooting & Problems | 7 | 09-01-2007 12:09 PM |
| Next and Previous Page links on showentry with Spider Friendly URL's turned on | Shon | Troubleshooting & Problems | 3 | 08-13-2007 01:44 PM |
| Search Engine Friendly | GuyFromChicago | Pre-Sale Questions | 16 | 11-25-2006 04:02 PM |
| More descriptive (SE friendly) url's without '?' | surfdude | "How Do I..." Questions | 2 | 08-18-2005 01:44 PM |
| search engine friendly? | bangthebook | Modifications | 4 | 02-28-2005 11:10 PM |