“Insert Into Post” Not Working Properly for PDF links on HOME PAGE
-
Hi Everyone:
I’m encountering a rather strange problem. I’ve never seen an issue like this with WordPress, so hopefully one of you can help!
Here’s the issue:
When editing the home page of the website, I’m having trouble uploading & linking to pdfs. Basically, if I click the “Add Media” button and upload a pdf, it uploads properly. Then I select “File URL” in the “link to” section and click “Insert Into Post” to place the link onto the page … this works properly too.
HOWEVER, when I save the changes to the page, something happens! It changes the link, that originally pointed to the pdf file, into a link that points to the pdf post.
So for example…
I upload a pdf and link to it at https://www.domain.com/wp-content/uploads/2008/10/file.pdf using the “Insert Into Post” button.
However, once I save the page, the link is automatically changed to https://www.domain.com/category/file/
Here’s the REALLY WEIRD part … this is only happening on the home page. We can upload and link to pdfs properly from any other page on the website. I even created a new home page and deleted the old one, and I’m still having the same problem.
I’ve also noticed that if I remove the “rel” tag from the link, the problem goes away. However, I need to get this fixed so that the “rel” attribute doesn’t have to be removed.
I’ve searched for other people having the same problem, and the only person I’ve found that had a similar issue was someone that was beta testing version 2.5. Here’s a link to that issue. (this guy also reported that the “rel” attribute seemed to be the problem.)
I’m not sure what other information you might need, so I’ll try to give you some random additional information that may or may not be useful.
1. Permalink structure is set to /%postname%/ ….. I tried changing the permalink structure back to the default, but the problem still existed.
2. Active plugins: SEO Title Tag, Dashboard Editor
3. url of the website that’s having trouble is: https://www.hornlake.org
Please let me know if you have any questions.
Thanks in advance for your help.
JB
- The topic ‘“Insert Into Post” Not Working Properly for PDF links on HOME PAGE’ is closed to new replies.