Page 2 of 2 FirstFirst 1 2
Results 16 to 24 of 24

how to get my blog section working with vbSEO?

This is a discussion on how to get my blog section working with vbSEO? within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; What is your blogs/.htaccess contents?...

  1. #16
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    What is your blogs/.htaccess contents?

  2. #17
    Member
    Real Name
    Karl Daniels
    Join Date
    Jul 2007
    Posts
    32
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    What is your blogs/.htaccess contents?

    its this

    Code:
    #
    # Apache/PHP/Drupal settings:
    #
    # Protect files and directories from prying eyes.
    <FilesMatch "(\.(engine|inc|install|module|sh|.*sql|theme|tpl(\.php)?|xtmpl)|code-style\.pl|Entries.*|Repository|Root)$">
      Order deny,allow
      Deny from all
    </FilesMatch>
    # Set some options.
    Options -Indexes
    Options +FollowSymLinks
    # Customized error messages.
    ErrorDocument 404 /index.php
    # Set the default handler.
    DirectoryIndex index.php
    # Override PHP settings. More in sites/default/settings.php
    # but the following cannot be changed at runtime.
    # PHP 4, Apache 1
    <IfModule mod_php4.c>
      php_value magic_quotes_gpc                0
      php_value register_globals                0
      php_value session.auto_start              0
    </IfModule>
    # PHP 4, Apache 2
    <IfModule sapi_apache2.c>
      php_value magic_quotes_gpc                0
      php_value register_globals                0
      php_value session.auto_start              0
    </IfModule>
    # PHP 5, Apache 1 and 2
    <IfModule mod_php5.c>
      php_value magic_quotes_gpc                0
      php_value register_globals                0
      php_value session.auto_start              0
    </IfModule>
    # Reduce the time dynamically generated pages are cache-able.
    <IfModule mod_expires.c>
      ExpiresByType text/html A1
    </IfModule>
    # Various rewrite rules.
    <IfModule mod_rewrite.c>
      RewriteEngine on
      # If your site can be accessed both with and without the prefix www.
      # you can use one of the following settings to force user to use only one option:
      #
      # If you want the site to be accessed WITH the www. only, adapt and uncomment the following:
      # RewriteCond %{HTTP_HOST} !^www\.example\.com$ [NC]
      # RewriteRule .* Example Web Page [L,R=301]
      #
      # If you want the site to be accessed only WITHOUT the www. , adapt and uncomment the following:
      # RewriteCond %{HTTP_HOST} !^example\.com$ [NC]
      # RewriteRule .* Example Web Page [L,R=301]
    
      # Modify the RewriteBase if you are using Drupal in a subdirectory and
      # the rewrite rules are not working properly.
      #RewriteBase /drupal
      # Rewrite old-style URLs of the form 'node.php?id=x'.
      #RewriteCond %{REQUEST_FILENAME} !-f
      #RewriteCond %{REQUEST_FILENAME} !-d
      #RewriteCond %{QUERY_STRING} ^id=([^&]+)$
      #RewriteRule node.php index.php?q=node/view/%1 [L]
      # Rewrite old-style URLs of the form 'module.php?mod=x'.
      #RewriteCond %{REQUEST_FILENAME} !-f
      #RewriteCond %{REQUEST_FILENAME} !-d
      #RewriteCond %{QUERY_STRING} ^mod=([^&]+)$
      #RewriteRule module.php index.php?q=%1 [L]
      # Rewrite current-style URLs of the form 'index.php?q=x'.
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
    </IfModule>
    # $Id: .htaccess_new,v 1.1 2006/05/07 19:28:03 elmuerte Exp $
    thats how it was when I installed also the file is named different so that it doesnt work

  3. #18
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    It seems like it shouldn't be related, did you try to disable vBSEO temporarily to check if it works correctly?

  4. #19
    Member
    Real Name
    Karl Daniels
    Join Date
    Jul 2007
    Posts
    32
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    It seems like it shouldn't be related, did you try to disable vBSEO temporarily to check if it works correctly?



    so so so sorry I just turned it off and find its still broke, but the funny thing is it was working before I installed it.

    sorry about that I will have to try and find the bug

    what a big sad nooooooooob I feel

  5. #20
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    No problem. Looks like you should check your blogs/sites/default/settings.php file near line 229 to find the issue.

  6. #21
    Member
    Real Name
    Karl Daniels
    Join Date
    Jul 2007
    Posts
    32
    Liked
    0 times
    yer I am lol should have done that before I asked *hitting self in the head* lol

  7. #22
    Member
    Real Name
    Karl Daniels
    Join Date
    Jul 2007
    Posts
    32
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    No problem. Looks like you should check your blogs/sites/default/settings.php file near line 229 to find the issue.

    I sorted that problem out, it was a little line in the setting file, it needed commenting out because something chenged

    Couldnt help me with a little something, like trying to see what I need to add in the vbseo section for custom urls in the blog part of my site, just to remove the

    ?q=

    from the urls

  8. #23
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    You can try this CRR:
    Code:
    'blogs/\?q=(.+)$' => 'blogs/$1.html'

  9. #24
    Member
    Real Name
    Karl Daniels
    Join Date
    Jul 2007
    Posts
    32
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    You can try this CRR:
    Code:
    'blogs/\?q=(.+)$' => 'blogs/$1.html'
    Thanks, i tried it but it didnt like it

    I used the .htaccess file, as its in a seprate folder so it will not harm the forum, this has worked nice and nearlly all my site has SEO urls, just a couple more to wrk on

    Thanks for all your time used on me, sorry about the mistake at the start

Page 2 of 2 FirstFirst 1 2

Posting Permissions

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