0

I uploaded a PDF in Dupal and used the URL created. Somehow, that document wasn’t saved or was deleted, so now that URL (which is being promoted widely) leads to a page not found. I uploaded a new document, but Drupal renames the URL just slightly.

Can I somehow change this URL to match the original upload or redirect somehow? I am not sure which version I use (or where to find this).

0

There are many ways you can approach this to solve it, but maybe the simplest is to just upload the file with the correct (old) name into the location where Drupal expects it. I don't mean upload through Drupal but through your hosting account into the correct folder.

Another way is to add a Redirect from the old URI to the new one, through Drupal Redirect module or on the server configuration (.htaccess usually).

| improve this answer | |
  • Glad to know there IS a solution! Where is the hosting account? Sorry, I only know how to do the basics. Am I going to need to enlist help on this? – Danielle Feb 23 '19 at 20:50
  • The hosting account is access to the computer where your site files are stored, it is a higher level than Drupal. The owner of the website/admin/technology support person usually has that information. If the site isn't online and is only installed on your computer you can access the correct folder yourself and replace the file. – prkos Feb 25 '19 at 3:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.