OK, guys, Thanks for hanging in here with me. I’m almost there.
FileDownload Snippet is working just fine with Friendly URLs.
I’ve installed the FileDownloadPlugin and I am getting 404 errors when I click on the file displayed on the page.
Not sure how much information I should provide. Here’s what I think is relevant, but please tell me what else I can tell you if this isn’t enough.
FileDownload (v2.6)
File Download Plugin (v1.2) with OnWebPagePrerender checked
Snippet call
[!FileDownload? &getFolder=`assets/files` &tplList=`filedownloadtpl`!]
Files are stored in:
C:\wamp\www\assets\files\content-brief-example.pdf
Template variable contains:
Friendly URL are enabled.
Friendly alias path is set to NO
Switching rewrite rule from:
#RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
to
RewriteRule ^([^/]*)/?(.*)$ index.php?q=$1&d=$2 [L,QSA]
has no effect.
HTML produced on page is
<tr class="fd-file fd-alt">
<td><a href="/file-download.html/content-brief-example.pdf">content-brief-example.pdf</a> <span style="font-size:80%"></td>
</tr>
I’m assuming this works exactly the same on wamp as it would on my server.
Any ideas why I’m getting 404s?
Thank you!