Stop wp creating permalinks for images
-
I want to stop WordPress creating permalinks for images. For example, if I upload support.png to the media library, it will use the url https://www.domain.com/support and then I can’t create a support page with that same url. When I go to https://www.domain.com/support, the image support.png will be there, the name of the image, “Please active sidebar widget or disable it from theme option.” on the right of the page, the post author on the left with social media icons, date, likes, and comments, along with this error at the top of the page:
“Notice: Array to string conversion in /app/public/wp-includes/formatting.php on line 1031 Notice: Trying to get property of non-object in /app/public/wp-content/plugins/amz-composer-plugins/includes/visual-composer/shortcodes/external_shortcodes.php on line 2804”
I’m not entirely sure if this problem is caused by the theme or by wordpress. I can’t attach a link because I am developing locally but let me know if you need more information.
- The topic ‘Stop wp creating permalinks for images’ is closed to new replies.