homepage Welcome to WebmasterWorld Guest from 54.197.94.241
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / WordPress
Forum Library, Charter, Moderators: lorax & rogerd

WordPress Forum

    
WordPress robots.txt
How to add to the dynamically created
henry0




msg:4631918
 8:10 pm on Dec 18, 2013 (gmt 0)

Am I correct to assume that WP dynamically generates a simple robots.txt file?
If I enter my site URL and add "/robots.txt it shows up in a form disallowing admin and includes.
I have a few more dirs to disallow but cannot find it.
What can I do, upload a new one at root level and expect that it will override the dynamic one?

 

phranque




msg:4631966
 11:32 pm on Dec 18, 2013 (gmt 0)

the typical WordPress internal rewrite will be preceded by a file existence check so that should work.

lorax




msg:4631985
 12:24 am on Dec 19, 2013 (gmt 0)

Yup it does and yes you can. You may want to see this post on WordPress.org: [wordpress.org...]

henry0




msg:4632147
 1:52 pm on Dec 19, 2013 (gmt 0)

Thanks, I am learning my way!

<edit> addendum.
Good read from the link
</edit>

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WordPress
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved