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!



LinkBack URL
About LinkBacks





Reply With Quote
