Results 1 to 8 of 8

Rewritten URLs appear to be incorrect

This is a discussion on Rewritten URLs appear to be incorrect within the Troubleshooting forums, part of the vBSEO SEO Plugin category; Hi - We're running vBulletin 3.5.3, and have triple-checked your instructions. When the vBSEO plugin is enabled, our forum breaks. ...

  1. #1
    Junior Member
    Join Date
    Jan 2006
    Posts
    28
    Liked
    0 times

    Rewritten URLs appear to be incorrect

    Hi -

    We're running vBulletin 3.5.3, and have triple-checked your instructions.

    When the vBSEO plugin is enabled, our forum breaks. Here are a few examples of the rewritten links:

    http://community.boredofstudies.org/community/
    http://community.boredofstudies.org/community/members/hopeles5ly.html
    http://community.boredofstudies.org/community/96374/english-essay-memorisers-5.html#post2161052

    For some reason, a superfluous '/community/' substring appears to have been introduced.

    We may be experiencing the same problem as described in this thread.

    Assistance would be appreciated.

  2. #2
    Senior Member Michael's Avatar
    Real Name
    Michael Benson
    Join Date
    Sep 2005
    Location
    United Kingdom
    Posts
    776
    Liked
    0 times
    Would you care to upload a copy of your vbseo_all.xml file so that we can observe your URL Rewrite settings.

  3. #3
    Junior Member
    Join Date
    Jan 2006
    Posts
    28
    Liked
    0 times
    See attached.

    (Removed.)
    Last edited by jamesk; 01-16-2006 at 01:32 PM.

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    PM sent

  5. #5
    Member
    Real Name
    Gary Mullins
    Join Date
    Jan 2006
    Location
    Nashville, TN
    Posts
    67
    Liked
    0 times
    I am having this same problem. The rewrites keep adding an extra "forums/" section to the urls and it breaks the forum urls when it does this.

    How can I fix this?

    Here is the info you asked for from the other person.
    Attached Files

  6. #6
    ADM
    ADM is offline
    Senior Member ADM's Avatar
    Real Name
    Peter Papadopoulos
    Join Date
    Aug 2005
    Location
    Perth, Australia
    Posts
    254
    Liked
    0 times
    What's the forum url in your vBulletin CP set at?

    Also can you post up the .htaccess file you're using for vBSEO? Is it just the default one?

    If so where it says:

    #RewriteBase /

    Replace with:

    RewriteBase /forumdirectory

    of course replace forumdirectory with the name of the directory your forums are in.. if it's in the root just have:

    RewriteBase /

  7. #7
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    169 times
    PM sent

  8. #8
    Member
    Real Name
    Gary Mullins
    Join Date
    Jan 2006
    Location
    Nashville, TN
    Posts
    67
    Liked
    0 times
    Quote Originally Posted by ADM
    What's the forum url in your vBulletin CP set at?

    Also can you post up the .htaccess file you're using for vBSEO? Is it just the default one?

    If so where it says:

    #RewriteBase /

    Replace with:

    RewriteBase /forumdirectory

    of course replace forumdirectory with the name of the directory your forums are in.. if it's in the root just have:

    RewriteBase /
    Forum url in VB is set to http://forums.pcapex.com. Well, the folder is in the root dir. Here is the htaccess I am currently using in the forum which includes more than just the VBSEO code. I use it to prevent hot linking of our attachments and avatars.

    # 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 /
    RewriteRule ^(sitemap.*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

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

    RewriteCond %{QUERY_STRING} !vbseourl=
    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]

    ErrorDocument 401 /errordocs/401.htm
    ErrorDocument 403 /errordocs/403.htm
    ErrorDocument 404 /errordocs/404.htm
    ErrorDocument 500 /errordocs/500.htm

    SetEnvIfNoCase Referer "^http://www.pcapex.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://www.pcapex.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://pcapex.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://pcapex.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://articles.pcapex.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://articles.pcapex.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://forums.pcapex.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://forums.pcapex.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://gallery.pcapex.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://gallery.pcapex.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://links.pcapex.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://links.pcapex.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://reviews.pcapex.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://reviews.pcapex.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://guides.pcapex.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://guides.pcapex.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://systems.pcapex.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://systems.pcapex.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://news.pcapex.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://news.pcapex.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://team.pcapex.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://team.pcapex.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://www.cafepress.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://www.cafepress.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://www.pcapex.net/" locally_linked=1
    SetEnvIfNoCase Referer "^http://www.pcapex.net$" locally_linked=1
    SetEnvIfNoCase Referer "^http://pcapex.net/" locally_linked=1
    SetEnvIfNoCase Referer "^http://pcapex.net$" locally_linked=1
    SetEnvIfNoCase Referer "^http://www.gotapex.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://www.gotapex.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://gotapex.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://gotapex.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://www.overclockulator.pcapex.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://www.overclockulator.pcapex.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://overclockulator.pcapex.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://overclockulator.pcapex.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://www.pimprig.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://www.pimprig.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://pimprig.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://pimprig.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://articles.pimprig.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://articles.pimprig.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://www.articles.pimprig.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://www.articles.pimprig.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://forums.pimprig.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://forums.pimprig.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://www.forums.pimprig.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://www.forums.pimprig.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://gallery.pimprig.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://gallery.pimprig.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://www.gallery.pimprig.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://www.gallery.pimprig.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://links.pimprig.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://links.pimprig.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://www.links.pimprig.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://www.links.pimprig.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://reviews.pimprig.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://reviews.pimprig.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://www.reviews.pimprig.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://www.reviews.pimprig.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://guides.pimprig.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://guides.pimprig.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://www.guides.pimprig.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://www.guides.pimprig.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://systems.pimprig.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://systems.pimprig.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://www.systems.pimprig.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://www.systems.pimprig.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://news.pimprig.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://news.pimprig.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://www.news.pimprig.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://www.news.pimprig.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://team.pimprig.com/" locally_linked=1
    SetEnvIfNoCase Referer "^http://team.pimprig.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://www.team.pimprig.com$" locally_linked=1
    SetEnvIfNoCase Referer "^http://www.team.pimprig.com/" locally_linked=1
    SetEnvIfNoCase Referer "^$" locally_linked=1
    SetEnvIfNoCase User-Agent "^Wget" bad_bot
    <FilesMatch "\.(gif|png|mp3|jpg|rar|zip|exe)$">
    Order Allow,Deny
    Allow from env=locally_linked
    Deny from env=bad_bot
    </FilesMatch>
    <FilesMatch "attachment\.php">
    ErrorDocument 403 http://mydomain.com/sorry.gif
    SetEnvIf Referer "^http://www\.pimprig\.com" good_referal
    SetEnvIf Referer "^http://pimprig\.com" good_referal
    SetEnvIf Referer "^http://forums\.pimprig\.com" good_referal
    SetEnvIf Referer "^http://gallery\.pimprig\.com" good_referal
    SetEnvIf Referer "^http://links\.pimprig\.com" good_referal
    SetEnvIf Referer "^http://reviews\.pimprig\.com" good_referal
    SetEnvIf Referer "^http://guides\.pimprig\.com" good_referal
    SetEnvIf Referer "^http://systems\.pimprig\.com" good_referal
    SetEnvIf Referer "^http://articles\.pimprig\.com" good_referal
    SetEnvIf Referer "^http://news\.pimprig\.com" good_referal
    SetEnvIf Referer "^http://team\.pimprig\.com" good_referal
    SetEnvIf Referer "^http://www\.pcapex\.com" good_referal
    SetEnvIf Referer "^http://pcapex\.com" good_referal
    SetEnvIf Referer "^http://forums\.pcapex\.com" good_referal
    SetEnvIf Referer "^http://gallery\.pcapex\.com" good_referal
    SetEnvIf Referer "^http://links\.pcapex\.com" good_referal
    SetEnvIf Referer "^http://reviews\.pcapex\.com" good_referal
    SetEnvIf Referer "^http://guides\.pcapex\.com" good_referal
    SetEnvIf Referer "^http://systems\.pcapex\.com" good_referal
    SetEnvIf Referer "^http://articles\.pcapex\.com" good_referal
    SetEnvIf Referer "^http://news\.pcapex\.com" good_referal
    SetEnvIf Referer "^http://team\.pcapex\.com" good_referal
    SetEnvIf Referer "^$" good_referal

    Order Deny,Allow
    Deny from all
    Allow from env=good_referal
    </FilesMatch>
    <FilesMatch "avatar\.php">
    ErrorDocument 403 http://mydomain.com/sorry.gif
    SetEnvIf Referer "^http://www\.pimprig\.com" good_referal
    SetEnvIf Referer "^http://pimprig\.com" good_referal
    SetEnvIf Referer "^http://forums\.pimprig\.com" good_referal
    SetEnvIf Referer "^http://gallery\.pimprig\.com" good_referal
    SetEnvIf Referer "^http://links\.pimprig\.com" good_referal
    SetEnvIf Referer "^http://reviews\.pimprig\.com" good_referal
    SetEnvIf Referer "^http://guides\.pimprig\.com" good_referal
    SetEnvIf Referer "^http://systems\.pimprig\.com" good_referal
    SetEnvIf Referer "^http://articles\.pimprig\.com" good_referal
    SetEnvIf Referer "^http://news\.pimprig\.com" good_referal
    SetEnvIf Referer "^http://team\.pimprig\.com" good_referal
    SetEnvIf Referer "^http://www\.pcapex\.com" good_referal
    SetEnvIf Referer "^http://pcapex\.com" good_referal
    SetEnvIf Referer "^http://forums\.pcapex\.com" good_referal
    SetEnvIf Referer "^http://gallery\.pcapex\.com" good_referal
    SetEnvIf Referer "^http://links\.pcapex\.com" good_referal
    SetEnvIf Referer "^http://reviews\.pcapex\.com" good_referal
    SetEnvIf Referer "^http://guides\.pcapex\.com" good_referal
    SetEnvIf Referer "^http://systems\.pcapex\.com" good_referal
    SetEnvIf Referer "^http://articles\.pcapex\.com" good_referal
    SetEnvIf Referer "^http://news\.pcapex\.com" good_referal
    SetEnvIf Referer "^http://team\.pcapex\.com" good_referal
    SetEnvIf Referer "^$" good_referal

    Order Deny,Allow
    Deny from all
    Allow from env=good_referal
    </FilesMatch>

    PM replied to.

Similar Threads

  1. Google Sitemap-Listing of old url's option-from 1.7
    By T2DMan in forum Member Articles
    Replies: 0
    Last Post: 04-02-2006, 08:46 AM
  2. Robots file and the rewritten urls....
    By BamaStangGuy in forum General Discussion
    Replies: 9
    Last Post: 02-28-2006, 11:10 PM
  3. vBA Still Cutting off thread title, causing incorrect URLs...
    By Ace Shattock in forum Bug Reporting
    Replies: 1
    Last Post: 02-08-2006, 06:23 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
  •