Results 1 to 5 of 5

htaccess ../forums

This is a discussion on htaccess ../forums within the General Discussion forums, part of the vBSEO SEO Plugin category; Hello! My board is not the root www.do..main.de but ( www.domain.de/forums/ ). I have one global htacces unter www.do..main.de and ...

  1. #1
    Member
    Real Name
    Hans
    Join Date
    Apr 2006
    Posts
    47
    Liked
    0 times

    htaccess ../forums

    Hello!

    My board is not the root www.do..main.de but (www.domain.de/forums/). I have one global htacces unter www.do..main.de and i will put this code into.

    What do I have to change this htaccess to get it working?


    Thanks


    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On

    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vB folder (i.e. RewriteBase /forums/)
    #RewriteBase /

    #RewriteCond %{HTTP_HOST} !^yourdomain.com
    #RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]

    RewriteRule ^((urllist|sitemap_).*.(xml|txt)(.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

    RewriteCond %{QUERY_STRING} !vbseourl=
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
    RewriteRule ^(.*.php(/.*)?)$ vbseo.php?vbseourl=$1 [L,QSA]

    RewriteCond %{REQUEST_FILENAME} !.(jpg|gif)$
    RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]

  2. #2
    Member
    Real Name
    Fred
    Join Date
    Jun 2007
    Location
    UK
    Posts
    51
    Liked
    0 times
    Have a read of this post

    VinylJunky

  3. #3
    Member
    Real Name
    Hans
    Join Date
    Apr 2006
    Posts
    47
    Liked
    0 times
    Thank's you for your answer.

    but

    Under www.do..main.de i use drupal (cms).

    Under www.do..main.de/forums i use vbulletin +vbseo.

    But I would like the code for vbseo with in my first htaacess from drupal under www.do..main.de.

    ?
    Both htacces in one.

    RewriteRule ^((urllist|sitemap_).*.(xml|txt)(.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

    RewriteCond %{QUERY_STRING} !vbseourl=
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
    RewriteRule ^forums/(.*.php(/.*)?)$ vbseo.php?vbseourl=$1 [L,QSA]

    This is what I need.



    RewriteCond %{REQUEST_FILENAME} !.(jpg|gif)$
    RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]


    Thanks

  4. #4
    Member
    Real Name
    Fred
    Join Date
    Jun 2007
    Location
    UK
    Posts
    51
    Liked
    0 times
    I use two .htacess files (See the post I referenced)

    I just asked questions and played until it worked

  5. #5
    Member
    Real Name
    Hans
    Join Date
    Apr 2006
    Posts
    47
    Liked
    0 times
    Oh sorry, ok!

    But i need absolutely this code in my first htacces.

    Thanky Easy

Similar Threads

  1. your htaccess file broke my stuff!
    By jwatsonl in forum Troubleshooting
    Replies: 1
    Last Post: 05-01-2007, 09:39 PM
  2. Problem with htaccess
    By Hawork in forum General Discussion
    Replies: 1
    Last Post: 04-13-2007, 08:23 PM
  3. Problemas con htaccess
    By Hawork in forum Espaņol
    Replies: 0
    Last Post: 04-13-2007, 11:31 AM
  4. /forums not appended url when clicking on forum category
    By ronhaha108 in forum URL Rewrite Settings
    Replies: 3
    Last Post: 04-07-2007, 05:00 PM
  5. [Question] 301 Redirect
    By Doc Great in forum Link Building
    Replies: 12
    Last Post: 11-26-2005, 06:12 AM

Posting Permissions

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