Can anyone help with a Wordpress question? I uploaded a pdf and set the slug/permalink. I would like to be able to upload a new file and keep the same url. Visiting the permalink works, however, when clicked it redirects to where the file is stored - mywebsite.com/wp-content/uploads/filename.pdf. Is there a way to have it show the permalink in the url, so that if someone bookmarks the page and then comes back later they will see the updated file?TIA
Seems to me your question is can you make the slug/permalink be a rewrite rather than a redirect?(I don't really know wordpress so don't know the answer.)
Unsure, I use a plugin called Redirection which allows redirects and passthroughs (where it shows the url you choose but the page at the target url). It works really nicely but it doesn't allow passthroughs for pdf files.
Ok so "passthrough" is their name for rewrite.It's not just "showing" the target url with a redirect, it's actually going to that page instead. The rewrite engine is basically sending back a message "go find this content at <TARGET_URL>" and the browser then requests that other page.With a rewrite, the rewrite engine basically tells the server "instead of <SLUG_URL> give me the page <TARGET_URL>" and then passes it back to the browser as <SLUG_URL>
The rewrite engine is basically sending back a message "go find this content at <TARGET_URL>" and the browser then requests that other page.
I forgot to say, if it is a redirect, make sure it's a 302 (temporary) not 301 (permanent) redirect. Otherwise, once someone visits the slug link they'll have it cached in the browser and even after you change the target the browser might go straight to the old target link without even querying the slug link first.
Looking to start a website, what's the standard hosting service people use?
Not heavily in the field, but I thought bluehost and digital ocean are big in this space
Any recommendation for website hosting for Wordpress?maybe Dan can share is hosting experience foe Dansdeals.com
I used to host many of my clients wordpress sites on nexcess (after moving many from bluehost) but they've become unreliable. I've been using siteground lately and am pretty satisfied.
unreliable in what way?