Results 1 to 3 of 3

What part to replace

This is a discussion on What part to replace within the General Discussion forums, part of the vBSEO SEO Plugin category; Hi, This is what I got in my httpd.conf: PHP Code: RewriteRule  ^/( sitemap .*\.( xml | txt )(\. gz ...

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

    What part to replace

    Hi,

    This is what I got in my httpd.conf:

    PHP Code:
    RewriteRule ^/(sitemap.*\.(xml|txt)(\.gz)?)$ /vbseo_sitemap/vbseo_getsitemap.php?sitemap=$[L]

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

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

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


    RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME}index.php -f
    RewriteRule 
    ^(.*)/$ $1/index.php [L]

    RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f
    RewriteCond 
    %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d
    RewriteRule 
    ^/(.+)$ /vbseo.php?vbseourl=$1&%{QUERY_STRING} [L
    and this is the new urls for the 2.2.1 htaccess:

    PHP Code:
    RewriteCond %{REQUEST_FILENAME} !admincp/
    RewriteCond %{REQUEST_FILENAME} !modcp/
    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
    What part do I have to replace?

    Regards

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,742
    Liked
    168 times
    emin,

    you can leave your httpd.conf unchanged

  3. #3
    Member
    Join Date
    Nov 2005
    Posts
    90
    Liked
    0 times
    oh ok, thanks!

Similar Threads

  1. replace non english characters
    By mljask in forum General Discussion
    Replies: 47
    Last Post: 10-21-2011, 05:09 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
  •