Results 1 to 5 of 5

How to disable rewritting of the CMS attachments?

This is a discussion on How to disable rewritting of the CMS attachments? within the General Discussion forums, part of the vBulletin SEO Discussion category; Hi, Would you plese tell me what to put into httaccess to disable rewritting of the CMS attachments? Thanks in ...

  1. #1
    Junior Member
    Real Name
    Daniel B
    Join Date
    Jan 2009
    Posts
    16
    Liked
    0 times

    How to disable rewritting of the CMS attachments?

    Hi,

    Would you plese tell me what to put into httaccess to disable rewritting of the CMS attachments?

    Thanks in advance,
    Regards!

  2. #2
    Junior Member
    Real Name
    Daniel B
    Join Date
    Jan 2009
    Posts
    16
    Liked
    0 times
    Ok,I found the solution... I had to disable the rewrite for forum attachments and in the function_vbseo_hook.php I had to replace the code
    Code:
    if(THIS_SCRIPT == 'attachment')
    with
    Code:
    if(VBSEO_REWRITE_ATTACHMENTS && (THIS_SCRIPT == 'attachment'))
    Regards!

  3. #3
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    You just need to disable it from vBSEO Cp
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  4. #4
    Junior Member
    Real Name
    Daniel B
    Join Date
    Jan 2009
    Posts
    16
    Liked
    0 times
    Well, without the above code it doesn't work for CMS attachments...

  5. #5
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    attachments are one system. there is no seperate system for the cms or forum.

Similar Threads

  1. Blog URLs not rewritting properly
    By bryanb in forum General Discussion
    Replies: 1
    Last Post: 03-01-2011, 10:15 AM
  2. vBulletin 4.x how to redirect or avoid forum.php
    By sinucello in forum Troubleshooting
    Replies: 2
    Last Post: 02-18-2010, 07:40 AM
  3. Usernames changes to avoid mistakes
    By nfn in forum General Discussion
    Replies: 5
    Last Post: 09-29-2008, 01:36 PM
  4. Digg Refback, how to avoid them?
    By ayoko555 in forum LinkBacks
    Replies: 1
    Last Post: 08-03-2007, 07:11 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
  •