2 Replies Latest reply on Jun 3, 2013 2:27 PM by Jep Castelein

    Can you create redirect rules for PDFs or other hosted documents?

      I know how to do this for landing pages, but it does not seem to work for PDFs or other hosted documents. Also, is it possible to create redirects for documents of different file types?

      Thank you!
        • Re: Can you create redirect rules for PDFs or other hosted documents?
          Emily:

          The simple answer is "no." You can replace an asset with the same filetype. So if you're trying to redirect a PDF because you have an updated version, you can replace the old version and it will keep the same URL. There is not the same kind of URL redirect functionality with assets.

          While there would be a way to do this by editing your .htaccess file on your root domain, I believe (but am not entirely positive) that this isn't possible with the Marketo subdomain setup. This is also a way more technical way to try to achieve the same thing, and way beyond Marketo. That'd be something that's more for your site administrator or web developer.

          Sorry the answer isn't more encouraging!


          Best,
          Edward Unthank
          SEO/Web Specialist

          • Re: Can you create redirect rules for PDFs or other hosted documents?
            Jep Castelein
            I agree with Edward that the simple answer is "no".

            There is only 1 situation where you can redirect images and documents, and that is when originally the images/documents lived in another system.

            As an example: if you were previously using another marketing automation system and you migrated your CNAME to Marketo, then now you may have requests for images using the other system's file path. For example: 

            http://info.acme.com/images/logos/acme.gif

            but that link breaks on Marketo, so it should be redirected to: 

            http://info.acme.com/rs/acme/images/acme.gif (this is a valid Marketo image link)

            Then you can create a redirect rule (one for each image/document). 

            You cannot use redirect rules to redirect any link that has "/rs/" in it (that's why internal links don't work).