Editing images in a document, say a test.html page, link to Media File is not defaulted; it goes to Custom URL – is there anyway I can make Media File default and not Custom URL
Have a look at your media settings (/wp-admin/options-media.php) and permalink settings (/wp-admin/options-permalink.php), click “Save Changes” on both.
Please have a look at this quick video I just created, which walks through this update. In the video, I create a brand new WordPress install and create a test post with an uploaded image to show the default behavior of no link being added by default.
Then, I copy the code above, from my previous answer, and add it to the active theme’s functions.php file.
Then, I create a new test post, and upload an image to show the link behavior is updated to using the media file URL by default:
Viewing 7 replies - 1 through 7 (of 7 total)
The topic ‘Image problems’ is closed to new replies.