Results 1 to 4 of 4

Help with .htaccess

This is a discussion on Help with .htaccess within the General Discussion forums, part of the vBulletin SEO Discussion category; I put this in my .htaccess to help rewrite urls like look like this (it's logicians webtemplates hack) # Comment ...

  1. #1
    Senior Member
    Join Date
    Nov 2005
    Posts
    139
    Liked
    0 times

    Help with .htaccess

    I put this in my .htaccess to help rewrite urls like look like this (it's logicians webtemplates hack)

    # 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 vBulletin folder (i.e. RewriteBase /forums)
    #RewriteBase /

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

    RewriteCond %{REQUEST_FILENAME} -f
    RewriteCond %{REQUEST_FILENAME} (admincp|modcp|clientscript|cpstyles|images)/
    RewriteRule ^(.*)$ $1 [L]

    RewriteCond %{QUERY_STRING} !vbseourl=
    RewriteCond %{REQUEST_FILENAME} !chat
    RewriteRule ^(.*.php)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]

    RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.+)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]



    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^view_(.*).htm$ view.php?pg=$1


    but it doesn't work.

    Check:

    Cruise Line Fans CruiseCams


    I tried this http://www.cruiselinefans.com/view_cruisecams.html and this http://www.cruiselinefans.com/view_cruisecams.htm

    no worky

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Hello Rex,

    yuo should put this above vBSEO rewrite rules (right after "RewriteEngine on" line).
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  3. #3
    Senior Member
    Join Date
    Nov 2005
    Posts
    139
    Liked
    0 times
    Thank you sir.. Works now

    Cruise Line Fans CruiseCams

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Great!
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


Similar Threads

  1. Hotlink Protection Tutorial (Apache Server - .htaccess files)
    By NeutralizeR in forum Member Articles
    Replies: 15
    Last Post: 06-08-2011, 03:25 PM
  2. .htaccess problem right off
    By eJM in forum Custom Rewrite Rules
    Replies: 10
    Last Post: 08-01-2006, 11:27 PM
  3. Which .htaccess line is which?
    By eJM in forum General Discussion
    Replies: 5
    Last Post: 07-04-2006, 07:55 AM
  4. Add "www." in .htaccess
    By Jason|Xoxide in forum Custom Rewrite Rules
    Replies: 8
    Last Post: 03-31-2006, 12:54 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
  •