Media URL’s
-
I was just asked by a client why a specific URL is usable…
The URL is in the form of site.com/post-slug/media-item-slug. Permalinks are set to Post name.
While I know that when a media item is attached to a post that URL would be valid and show the media item’s attachment page, the URL in question was for a media item that was no longer attached to the post (or any post).
Here is a default install of WP with the issue:
I have remove this image from the post and added another.
This is the post.
The image removed is still available at the post slug it no longer exists at!
This test site/post is running WP4.8 and 2016 theme. I use it to rule out issues, to see if it’s default behaviour – it is!
Why?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Media URL’s’ is closed to new replies.