Redirect page to pdf file
PermalinkI've done quite an extensive search, and can't find an answer to my problem. It's a somewhat odd situation, but pretty much out of my hands.
I need to redirect a page, eghttp://mysite.com/somepage/ to a pdf file, so that when someone visits that page, what they get is the pdf file immediately (they'll be expecting it), rather than a page with the file available for download via a link on the page.
Now, the pdf file is already in the file manager, but quite happy to put it somewhere else on my web server if that aids the cause.
Can this be done in C5? Likewise, if there is another way of doing it outside of C5, I'd be happy to do that too.
Cheers,
Richard
Edit - just tried it and it works.
Edit - OK, I think I understand what you want to achieve. All you need to do is add the 'Exclude from Nav' attribute to the external link in the sitemap.
For some reason one can't seem do this directly in the sitemap but you can if you use the Page Search function to find the external link 'page' and then click on it to add the attribute that way.
See here as well for some thoughts on this:
http://www.concrete5.org/community/forums/usage/hide-external-link-...
http://www.concrete5.org/community/forums/documentation_efforts/how...
Cheers and thanks for your efforts.
<iframe src="site.com/pdf/file.pdf" width="600" height="900">