Results 1 to 5 of 5

Attachment rewrite issues

This is a discussion on Attachment rewrite issues within the Troubleshooting forums, part of the vBSEO SEO Plugin category; I have some issues with attachment rewrites. I first noticed when I was grabbing them to embed some mp3's into ...

  1. #1
    Senior Member
    Real Name
    Matthew
    Join Date
    Nov 2006
    Posts
    127
    Liked
    0 times

    Attachment rewrite issues

    I have some issues with attachment rewrites. I first noticed when I was grabbing them to embed some mp3's into threads.

    I use the following settings, and store the files in the filesystem:
    Custom; [forum_title]/[attachment_id]/[original_filename]

    When I view attachments from a thread or the attachment manager I get this URL:
    http://www.dragonninja.co.uk/attachm...kethestand.mp3

    When I view the same attachment from editpost.php I get this URL:
    http://www.dragonninja.co.uk/attachm...1&d=1209910528

    First of all, shouldn't the editpost URL be rewritten too? The second issue is, I don't think this rewrite is actually correct?

    The attachment id is 4977, I believe the 'd' is part of the original URL (d=xxx) - but I have no idea where the 1208218630 comes from. It is 10 characters long, such as the d=xxx in the original URL, but different characters.

    So something is up here, am I right?

    If I change the URL format to what I believe to be correct, it still works:
    http://www.dragonninja.co.uk/attachm...kethestand.mp3

    We potentially have 3 possible URL's for the same files, so I am guessing we could end up with duplicate content issues.

    Let me know what you guys think!

  2. #2
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    22,367
    Liked
    542 times
    Blog Entries
    4
    Hello Matthew ,

    During the editpost or newpost as attachements are newly processed i donot think that rewriting them on that stage is possible. Maybe it is possible but it will nto be efficient.

    1208218630 this is the unix date of the attachments processed time

    I
    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

  3. #3
    Senior Member
    Real Name
    Matthew
    Join Date
    Nov 2006
    Posts
    127
    Liked
    0 times
    Ah I see, my custom URL does not contain a parameter for "unix date" so will I be able to remove it?

    Also if I understand you correctly, you are saying they cannot be rewritten at the point of adding the attachment? I could understand that, but this is an old thread with old attachments.

    Any idea why the two unix dates in the URL's are different? And do you think it will be possible to fix this and consolidate the URL's?

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Also if I understand you correctly, you are saying they cannot be rewritten at the point of adding the attachment? I could understand that, but this is an old thread with old attachments.
    vBulletin creates attachment URLs on client side with javascript in this case, so they are not processed by vBSEO.

    Ah I see, my custom URL does not contain a parameter for "unix date" so will I be able to remove it?
    This parameter is required to avoid caching the image when it's modified (attachment reuploaded).
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  5. #5
    Senior Member
    Real Name
    Matthew
    Join Date
    Nov 2006
    Posts
    127
    Liked
    0 times
    Ah I see, hopefully there will be a way around this in future. Thanks.

Similar Threads

  1. Issues with a rewrite on misc.php.
    By FleaBag in forum URL Rewrite Settings
    Replies: 2
    Last Post: 03-26-2007, 09:44 PM
  2. New Server rewrite issues...
    By fatal1980 in forum Troubleshooting
    Replies: 1
    Last Post: 02-11-2007, 04:17 PM
  3. How to rewrite attachment thumbnail URLs?
    By Wongod in forum Troubleshooting
    Replies: 8
    Last Post: 11-29-2006, 08:10 PM
  4. Attachment Rewrite BUG
    By webgroup in forum Bug Reporting
    Replies: 3
    Last Post: 07-01-2006, 01:01 PM
  5. rewrite issues
    By Ashley in forum Troubleshooting
    Replies: 4
    Last Post: 06-18-2006, 11:15 AM

Tags for this Thread

Posting Permissions

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