WordPress Media URL conflicts with Page URL
Posted
by Liam
on Stack Overflow
See other posts from Stack Overflow
or by Liam
Published on 2010-05-05T09:37:16Z
Indexed on
2010/05/05
10:28 UTC
Read the original article
Hit count: 207
Wordpress
|url-rewriting
If I upload a file foo.pdf
to WordPress I can access it at http://example.com/foo/
. (There is a simple HTML page with a link to the PDF file).
If I then create a Page named foo
I cannot view or preview the Page because the default URL, http://example.com/foo/
, will resolve to the page for the PDF.
How can I resolve this URL conflict?
© Stack Overflow or respective owner