Timeline for How to publish page that can't be detected by search engines?
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 14, 2013 at 17:09 | comment | added | Sunyatasattva |
Well, to make it inaccessible you could just do something as simple as wp_die("We are sorry, but this category is not accessible") , or you could make a conditional which makes the loop available only if the user_role is contributor. You have different solutions, but if you are worried only of search engines and not users trying to access that archive by manually typing the URL, the first robots.txt solution should do.
|
|
Feb 14, 2013 at 17:02 | comment | added | 4thSpace | Thanks. I display only a customized archive. What kind of modification would category-uncategorized.php need? Do you have some kind of example? | |
Feb 14, 2013 at 16:52 | history | answered | Sunyatasattva | CC BY-SA 3.0 |