Results 1 to 3 of 3

.htaccess issue

This is a discussion on .htaccess issue within the Troubleshooting forums, part of the vBSEO SEO Plugin category; Got a bit of a problem -- my server people 1&1 have changed something thier end and now VBseo will ...

  1. #1
    Cos
    Cos is offline
    Member Cos's Avatar
    Real Name
    ric
    Join Date
    Oct 2006
    Location
    UK
    Posts
    38
    Liked
    0 times

    .htaccess issue

    Got a bit of a problem -- my server people 1&1 have changed something thier end and now VBseo will no longer work . Whilst Im waiting for them to get back to me was wondering if any of you bright sparks have and ideas.

    Basics are with plugin on it will not work with www. but with out the www. the site works fine. So this must be something to do with the rewrite.

    Any ideas if I could add something to the .htaccess file to get round this ?



    #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
    #RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
    Options +Indexes
    RewriteEngine on
    RewriteRule ^go-(.*)-(.*).html$ index.php?go=$1&id=$2 [L,NC]
    RewriteRule ^(.*)-(.*)-(.*).html$ index.php?go=$2&id=$3 [L,NC]
    RewriteRule ^([0-9]+)/[^/]+/([0-9]+)/$ index.php?go=subcat&id=$1&pageNum_pages=$2 [L,NC]
    RewriteRule ^([0-9]+)/.*$ index.php?go=subcat&id=$1 [L,NC]

    Thanks 4 your time

  2. #2
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    your rules are in the wrong order...


    RewriteEngine on should be first
    then options +indexes (and frankly, i'd recommend options -indexes)

    then your rules.


    And in your rules, you don't have the main vbseo rule...

    I'd sugest starting from the default htaccess file included in the download package, and adding your 4 custom redirects just before the vbseo_url directive in the stock htaccess file

  3. #3
    Cos
    Cos is offline
    Member Cos's Avatar
    Real Name
    ric
    Join Date
    Oct 2006
    Location
    UK
    Posts
    38
    Liked
    0 times
    Wiered have just checked and replaced the .thaccess and its all working ! Why did my host change the .htaccess

    Any how thanks and massive relief as did not want a years worth of urls in google turning to a waste of time

    Thanks again

Similar Threads

  1. Wordpress htaccess + vbseo htaccess
    By chris06 in forum URL Rewrite Settings
    Replies: 1
    Last Post: 11-01-2007, 12:56 PM
  2. htaccess help
    By kellogs in forum General Discussion
    Replies: 1
    Last Post: 07-16-2007, 04:17 AM
  3. .htaccess in forum root w/ exisiting .htaccess?
    By OttoBomb in forum Troubleshooting
    Replies: 5
    Last Post: 07-03-2007, 04:45 PM
  4. google cant verify with html...htaccess issue?
    By JustinBrand in forum General Discussion
    Replies: 12
    Last Post: 03-20-2007, 08:57 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
  •