Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have a page named http://www.mysite.com/whitepapers/ and it worked fine. I have now added a physical "whitepapers" directory and has since broken my permalink for the page. I realize that it has something to do with content negotiation after reading this post but the fix did not work.

share|improve this question
    
possible duplicate of WP Page and Subdirectory with same name –  Chip Bennett Aug 24 '11 at 12:52

2 Answers 2

up vote 0 down vote accepted

For those still looking for an answer, have a look at WP Page and Subdirectory with same name

Basicalli I will have to rename the folder on my server.

share|improve this answer

This isn't really content negotiation at all, since there is an actual matching directory. Your server will not reach WordPress to process the URI if it encounters a directory first. You will need to either rename your directory or change the permalink for the page in order to have both working.

share|improve this answer
    
thanks for your reply but neither is an option. There seem to be couple of workarounds in which you set rewrite conditions on those physical folders which are then handled by wordpress but I would like to see if that can be avoided. –  Matthew Xerri Aug 22 '11 at 15:41
    
How are you expecting the two to work together? –  helenhousandi Aug 22 '11 at 15:48
    
I'm just checking to see what is possible. –  Matthew Xerri Aug 23 '11 at 8:05
    
Anything is possible... except two different things being accessed at the same location. Which one do you expect to be served up? Judging by another one of your questions (which you should have linked to if it's related), you want the WordPress page and "pretty" uploads, so you are definitely going to have to name your directory something else and use .htaccess to serve it up under /whitepapers/. See wordpress.stackexchange.com/questions/6373/… –  helenhousandi Aug 23 '11 at 14:11
    
Thanks a lot helen –  Matthew Xerri Aug 24 '11 at 8:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.