Title: Magic code
Last modified: August 18, 2016

---

# Magic code

 *  [ek_wals](https://wordpress.org/support/users/ek_wals/)
 * (@ek_wals)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/magic-code/)
 * If I remove categories.php from the wp-admin folder, I can still get a listing
   of categories with Manage – Categories.
 * Where is the code coming from???

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [niziol](https://wordpress.org/support/users/niziol/)
 * (@niziol)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/magic-code/#post-375241)
 * It’s always helpful to include the version of WP that you’re running, it help
   narrow the search, from a needle in a hay-stack to a need in .9 hay-stacks!
 * On WP 2.0.2 I renamed my categories.php and I get the old faithful 404 error.
   It may have to do with a cache somewhere, you can try doing shift + refresh in
   your browser or clearing out your browser cache and seeing if that phantom page
   is still there. There is also a cache in the wp-content directory, but I’m not
   sure exactly what it does in relation to caching whole pages or if it does anything
   at all.
 * Maybe you just have a caring server, it won’t let you delete pages you need!?
 * Cheers,
    Michael.
 *  Thread Starter [ek_wals](https://wordpress.org/support/users/ek_wals/)
 * (@ek_wals)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/magic-code/#post-375247)
 * WP 2.0.2
    I’ve tried clearing my browser cache, and I don’t see any cache in 
   wp-content. The Manage-Categories screen does work – it shows changes that I 
   make to the Cats. It’s just running code I overwrote this A.M. The newest version
   of categories.php is also there — I can activate it with the right navigation.
 * Someone is caching the old version, but only using it from the Manage-Categories
   entry, and not from other navigation.
 * I.E. My WP runs 2 different categories.php files simultaneously.
 *  [niziol](https://wordpress.org/support/users/niziol/)
 * (@niziol)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/magic-code/#post-375257)
 * That is very, very odd – I think so anyway. Do you know who has the cached version?
   Is your WP install a “normal” one or do you have it mirrored/synced elsewhere
   or something like that?
 * Cheers,
    Michael.
 *  [aizeratali](https://wordpress.org/support/users/aizeratali/)
 * (@aizeratali)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/magic-code/#post-375277)
 * ok
 *  Thread Starter [ek_wals](https://wordpress.org/support/users/ek_wals/)
 * (@ek_wals)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/magic-code/#post-375338)
 * Well a good niht’s sleep fixed it.
 * It seems that my WP installation has TWO categories.php
 * When using ‘Manage – Categories’ to initially get the edit screen, WP uses wp-
   content/plugins/categories.php
    Other navigation uses wp-admin/categories.php
 * Apparently WP looks for at least some of its core files in plugins first – so
   at least one plugin can replace core files (catagories.php at least).
 * A real easy way to experiment with hacks!
 * Odd indeed. Problem is still there this AM, which probably clears the host of‘
   illegal caching’.
 * The initial ‘cached’ page is produced by a hacked version I produced earlier,
   so I know I can affect it. It has a bit of

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Magic code’ is closed to new replies.

 * 5 replies
 * 3 participants
 * Last reply from: [ek_wals](https://wordpress.org/support/users/ek_wals/)
 * Last activity: [19 years, 11 months ago](https://wordpress.org/support/topic/magic-code/#post-375338)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
