I’m currently having the strangest problem I have ever seen in wordpress. I’m baffled by this one, so please try to read along as I do my best to describe this:
A page of mine seems to be rendering as a media file.
Going to the page URL: expertise/assisted-living/the-healing-place/ ends up rendering a media file (image) inside of my default template.
I believe this is so because a smaller version of the image is being rendered within a p class=”attachment” tag.
The strange thing is, the URL in the browser does not reflect this.
To make things even stranger, I can delete the page at the URL above entirely, yet going to it’s URL still results in the media file.
Another reason I suspect it’s rendering a media file: I make use of the Admin bar in my templates. The admin bar says “edit post” (instead of the usual “edit page.” Clicking this takes me to the Media Editor, editing this file: wp-content/uploads/2011/11/The-Healing-Place.jpg
Now here’s my temporary fix and theory in progress:
I’m hoping the temporary fix may tell you something about why it’s happening.
To fix this, I have to change the page slug.
Example: “the-healing-place” does not work properly as described above, but when I changed the page’s slug to “healing-place” it did work.
- The topic ‘Very odd problem: page slug rendering as media file?’ is closed to new replies.