, i.e. AFTER this script executes, so the query returned null
// on every prerendered page and the classifier stamped
// "noindex, follow" into the DOM of real, unique pages. The prerenderer
// now stamps data-prerendered="1" on , which exists before any
// script runs. The canonical check is kept as a secondary guard.
var docEl = document.documentElement;
if (docEl && docEl.getAttribute('data-prerendered') === '1') return;
if (document.querySelector('link[rel="canonical"]')) return;
var origin = 'https://terraincognitaacademy.com';
var path = location.pathname || '/';
var malformedAbsoluteTarget = null;
try { path = decodeURIComponent(path); } catch (_) {}
path = path.replace(/^\/+https?:\/+((www\.)?terraincognitaacademy\.com)(?=\/|$)/i, function(){
malformedAbsoluteTarget = true;
return '';
});
if (!path) path = '/';
if (path.length > 1) path = path.replace(/\/+$/, '');
var canonical = origin + path;
// Routes that must NEVER be indexed (private/auth-gated/redirect aliases).
var NOINDEX_PREFIXES = [
'/spell-launcher','/instructor/apply','/course-finder','/dashboard','/admin',
'/checkout','/cart','/auth','/login','/signup','/messages','/profile/edit',
'/profile/settings','/settings','/student','/achievements','/my-invoices',
'/forum/new-topic','/forum/bookmarks','/instructor/earnings','/instructor/analytics',
'/instructor/courses','/instructor/content-library','/category-management',
'/gift-success','/claim-gift','/shop/success','/shop/download','/install','/search',
'/spirit-alignment-codex/result','/directory/manage','/directory/search'
];
// Legacy aliases that must canonicalize to current URLs (and stay noindex on the alias itself).
var REDIRECT_MAP = {
'/course-finder': '/spirit-alignment-codex',
'/your-path-assistant': '/spirit-alignment-codex',
'/spiritual-path-assistant': '/spirit-alignment-codex',
'/spirit-codex': '/spirit-alignment-codex',
'/codex': '/spirit-alignment-codex',
'/spirit-encyclopedia': '/encyclopedia',
'/ritual-design-system': '/rituals',
'/blog-posts': '/blog',
'/power-points': '/spiritual-world',
'/temple-teachings': '/forum',
'/affiliate': '/ambassador',
'/affiliates': '/ambassador',
'/affiliate/register': '/ambassador',
'/category/free': '/courses/category/free-spiritual-courses',
'/spiritual-development/usa': '/spiritual-development/united-states',
'/spiritual-development/uk': '/spiritual-development/united-kingdom',
'/spiritual-development/uae': '/spiritual-development/united-arab-emirates'
};
// Hub/listing routes that share filesystem space with item children
// (e.g. /courses cannot exist as a static file because dist/courses/
// is a directory). Inject SEO synchronously so Googlebot and SPA
// visitors get the correct title/description even when served from
// the root SPA fallback shell.
var HUB_SEO = {
'/courses': {
title: 'Occult Courses Online | Terra Incognita Academy',
description: 'Learn witchcraft, ceremonial magic, hermeticism and chaos magick with 300+ occult courses online. Expert instructors, lifetime access. Start today.'
},
'/shop': {
title: 'Grimoires & Occult PDF Books | Terra Incognita Academy',
description: 'Download grimoires, occult books and esoteric PDFs: Goetia, Solomonic magic, Book of Shadows, angelic and planetary rituals. Instant delivery, lifetime access.'
},
'/bundles': {
title: 'Occult Course Bundles | Terra Incognita Academy',
description: 'Save up to 50% on occult course bundles: witchcraft, ceremonial magic, hermeticism and evocation packages. Lifetime access, one payment.'
},
'/forum': {
title: 'Witchcraft & Occult Forum | Terra Incognita Academy',
description: 'Join our witchcraft forum and occult community. Discuss grimoires, rituals, evocation, meditation and esoteric practice with practitioners worldwide.'
},
'/blog': {
title: 'Blog — Spiritual Teachings | Terra Incognita Academy',
description: 'Read in-depth articles on spirit work, ritual practice, grimoire study and consciousness development from Terra Incognita Academy instructors.'
},
'/encyclopedia': {
title: 'Spirit Compatibility Guide | Terra Incognita Academy',
description: 'Explore the encyclopedia of spirits, domains, archetypes and intents. A comprehensive reference for serious practitioners at Terra Incognita Academy.'
},
'/rituals': {
title: 'Ritual Hub — Blueprints | Terra Incognita Academy',
description: 'Design personalized rituals with the Terra Incognita Academy Ritual Hub. Step-by-step blueprints for spirit work, devotion and transformation.'
},
'/glossary': {
title: 'Spiritual & Magical Glossary | Terra Incognita Academy',
description: 'Definitions of key spiritual, magical and esoteric terms used across courses, grimoires and rituals at Terra Incognita Academy.'
},
'/spiritual-world': {
title: 'Sacred Geography & Power Points | Terra Incognita',
description: 'Explore the spiritual world: power points, sacred sites and the geography of spirit. Curated by Terra Incognita Academy.'
},
'/instructors': {
title: 'Meet Our Teachers | Terra Incognita Academy',
description: 'Meet the experienced spiritual instructors of Terra Incognita Academy. Practitioners, scholars and guides leading our courses.'
},
'/pillars': {
title: 'Pillar Hubs — Goetia, Angels & Deities | Terra Incognita Academy',
description: 'Explore our pillar hubs: the 72 Goetic demons, the Shem HaMephorash angels, the Olympic spirits and the Norse, Celtic and Greek deities, with linked courses, grimoires and articles.'
},
'/about': {
title: 'About Us — Our Mission | Terra Incognita Academy',
description: 'Learn about Terra Incognita Academy: our mission to deliver rigorous, benevolent spiritual education for serious modern practitioners.'
}
};
// Indexable-from-the-shell allowlist.
//
// IMPORTANT: this list only ever applies to a URL that has NO prerendered
// HTML file (the script early-returns when a canonical is already present).
// A URL served by the generic shell has the homepage title and no unique
// content, so declaring it indexable produced thousands of identical
// "index,follow" pages — exactly the "Duplicate: Google chose a different
// canonical" and "Crawled - currently not indexed" reports.
//
// Therefore ONLY stable hub/static routes stay indexable here. Every
// item-level route (listings, cities, tags, topics, courses, products,
// profiles, certificates, …) must earn indexability by having a real
// prerendered page; without one it is noindex,follow.
var INDEX_PATTERNS = [
/^\/$/,
/^\/courses$/, /^\/shop$/, /^\/bundles$/, /^\/ebook-bundles$/, /^\/forum$/,
/^\/blog$/, /^\/encyclopedia$/, /^\/encyclopedia\/spirits$/,
/^\/spiritual-world$/, /^\/spirit-alignment-codex$/,
/^\/(theurgy|evocation|spirit-guides|spirit-communication)$/,
/^\/answers$/, /^\/glossary$/, /^\/compendium$/,
/^\/rituals$/, /^\/ritual-builder$/,
/^\/about$/, /^\/about\/faculty$/, /^\/contact$/, /^\/ambassador$/, /^\/instructors$/,
/^\/free-ebook$/, /^\/members$/, /^\/declaration$/, /^\/experienced-practitioners$/,
/^\/become-instructor$/, /^\/standing-faq$/, /^\/platform$/, /^\/sitemap$/, /^\/rss$/,
/^\/academy-transfer$/, /^\/accredited-spiritual-program$/, /^\/updates$/,
/^\/[a-z0-9-]+-school$/, /^\/certified-paths$/,
/^\/(infernal-healer|power-invoker|wealth-architect|infernal-strategist|master-of-knowledge|shadow-alchemist|master-of-influence|infernal-lover|infernal-protector|pathbreaker|infernal-seer|infernal-sovereign)$/,
/^\/privacy-policy$/, /^\/terms-of-service$/, /^\/cookie-policy$/,
/^\/refund-policy$/, /^\/disclaimer$/, /^\/copyright$/,
/^\/verify-certificate$/,
/^\/tags$/, /^\/pillars$/,
/^\/directory$/, /^\/directory\/pricing$/
];
var isNoindex = NOINDEX_PREFIXES.some(function(p){
return path === p || path.indexOf(p + '/') === 0;
});
var redirectTarget = REDIRECT_MAP[path];
// Pattern-based legacy redirects (must mirror the Cloudflare worker
// so direct browser hits behave identically to crawler hits).
if (!redirectTarget) {
var m;
if ((m = path.match(/^\/shop\/product\/(.+)$/))) redirectTarget = '/shop/' + m[1];
else if ((m = path.match(/^\/category\/(.+)$/))) redirectTarget = '/courses/category/' + m[1];
else if ((m = path.match(/^\/bundle\/(.+)$/))) redirectTarget = '/bundles/' + m[1];
else if ((m = path.match(/^\/profile\/(?!settings|edit)([^/]+)$/))) redirectTarget = '/u/' + m[1];
}
if (redirectTarget) {
canonical = origin + redirectTarget;
isNoindex = true; // alias itself is not indexable
// Actually navigate real visitors (bots see canonical+noindex above).
// Lovable hosting has no edge redirects, so we do it client-side.
try {
var ua = (navigator && navigator.userAgent) || '';
var isBot = /bot|crawler|spider|crawling|facebookexternalhit|slurp|bingpreview|linkedinbot|whatsapp|telegram/i.test(ua);
if (!isBot) {
window.location.replace(redirectTarget + (window.location.search || '') + (window.location.hash || ''));
}
} catch (e) {}
}
var isKnownGood = !isNoindex && INDEX_PATTERNS.some(function(re){ return re.test(path); });
var link = document.createElement('link');
link.setAttribute('rel', 'canonical');
link.setAttribute('href', canonical);
document.head.appendChild(link);
var ogUrl = document.createElement('meta');
ogUrl.setAttribute('property', 'og:url');
ogUrl.setAttribute('content', canonical);
document.head.appendChild(ogUrl);
var twUrl = document.createElement('meta');
twUrl.setAttribute('name', 'twitter:url');
twUrl.setAttribute('content', canonical);
document.head.appendChild(twUrl);
// Apply final robots state synchronously. Known public routes get index;
// private routes, redirect aliases, and unknown paths get noindex.
var existing = document.querySelectorAll('meta[name="robots"], meta[name="googlebot"]');
for (var i = 0; i < existing.length; i++) existing[i].parentNode.removeChild(existing[i]);
var robotsValue = isKnownGood
? 'index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1'
: 'noindex, follow';
var robots = document.createElement('meta');
robots.setAttribute('name', 'robots');
robots.setAttribute('content', robotsValue);
document.head.appendChild(robots);
var gbot = document.createElement('meta');
gbot.setAttribute('name', 'googlebot');
gbot.setAttribute('content', robotsValue);
document.head.appendChild(gbot);
var cleanupSeoDuplicates = function(){
var selectors = ['title', 'meta[name="title"]', 'meta[name="description"]'];
for (var s = 0; s < selectors.length; s++) {
var nodes = document.head.querySelectorAll(selectors[s]);
for (var n = 0; n < nodes.length - 1; n++) {
if (nodes[n] && nodes[n].parentNode) nodes[n].parentNode.removeChild(nodes[n]);
}
}
};
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', cleanupSeoDuplicates, { once: true });
} else {
cleanupSeoDuplicates();
}
setTimeout(cleanupSeoDuplicates, 0);
// Synchronous hub-route SEO injection. Hub routes (e.g. /courses,
// /shop) cannot have prerendered extensionless static files because
// their slug exists as a directory (dist/courses/foo.html). Inject
// unique title + description here so Googlebot's first-paint scan
// sees per-route SEO instead of the homepage shell defaults.
var hub = HUB_SEO[path];
if (hub) {
try {
var existingTitles = document.head.querySelectorAll('title');
for (var t = 0; t < existingTitles.length; t++) existingTitles[t].parentNode.removeChild(existingTitles[t]);
var titleEl = document.createElement('title');
titleEl.textContent = hub.title;
document.head.appendChild(titleEl);
var metaSelectors = ['meta[name="title"]','meta[name="description"]','meta[property="og:title"]','meta[property="og:description"]','meta[name="twitter:title"]','meta[name="twitter:description"]'];
for (var ms = 0; ms < metaSelectors.length; ms++) {
var existingMetas = document.head.querySelectorAll(metaSelectors[ms]);
for (var em = 0; em < existingMetas.length; em++) existingMetas[em].parentNode.removeChild(existingMetas[em]);
}
function appendMeta(attr, name, content){
var el = document.createElement('meta');
el.setAttribute(attr, name);
el.setAttribute('content', content);
document.head.appendChild(el);
}
appendMeta('name', 'title', hub.title);
appendMeta('name', 'description', hub.description);
appendMeta('property', 'og:title', hub.title);
appendMeta('property', 'og:description', hub.description);
appendMeta('name', 'twitter:title', hub.title);
appendMeta('name', 'twitter:description', hub.description);
} catch(_) {}
}
// For redirect aliases, perform a client-side hard redirect after canonical
// is in place so users actually land on the canonical URL.
if (malformedAbsoluteTarget) {
try { location.replace(canonical + location.search + location.hash); } catch(_) {}
}
if (redirectTarget && redirectTarget !== path) {
try { location.replace(origin + redirectTarget + location.search + location.hash); } catch(_) {}
}
} catch (e) { /* noop */ }
})();
How do I discern spirits — is this real contact or imagination?
Discerning spirits from imagination involves evaluating the encounter through a series of criteria, traditionally including continuity of communication, the novelty and utility of information received, the positive ethical and psychological 'fruit' of the interaction, and the spirit's capacity for independent thought. Genuine contact is characterized by consistent identity, provision of unknown information, beneficial personal transformation, and occasional disagreement with the practitioner, distinguishing it from purely internal ideation.
## Direct Answer Discerning between genuine spiritual contact and products of imagination is a central concern in esoteric practice, addressed through systematic evaluation. Practitioners employ several criteria to assess the verity of an encounter. These typically include the consistency and continuity of the spirit's persona over multiple interactions, the communication of information not previously known to the practitioner, the 'fruit' or positive ethical and psychological changes observed in the practitioner as a result of the contact, and the spirit's capacity for independent thought and occasionally, disagreement. Imagination, by contrast, often fails to produce novel information or to manifest an intelligence genuinely distinct from the practitioner's own internal landscape. ## Historical & Doctrinal Context The question of discerning spiritual phenomena has been central to esoteric traditions throughout history, predating modern psychological constructs. Neoplatonic philosophers, for instance, distinguished between the *anima mundi* (world soul) and individual souls, recognizing the potential for human consciousness to access higher intelligences and to be deceived by lower, chthonic influences, or even by one's own unpurified imagination. Iamblichus, in *De Mysteriis*, extensively discusses the nature of divine, daemonic, and human interaction, implying a need for discernment in theurgic practices. He emphasizes purity of soul and preparation as prerequisites for true divine communion, suggesting that an unpurified mind might misinterpret or fabricate experiences. [Iamblichus, *De Mysteriis*, sections II.1-II.7](http://www.tertullian.org/fathers/iamblichus_de_mysteriis_02_book2.htm). Later traditions, including Renaissance esotericism and ceremonial magic, built upon these foundations. Agrippa, in *Three Books of Occult Philosophy*, discusses the different kinds of spirits and the dangers of delusion, emphasizing the need for a purified mind and proper ritual execution to ensure genuine contact. [Agrippa, *Three Books of Occult Philosophy*, Book III, Chapter 15](https://www.sacred-texts.com/ogr/occult/occ3_15.htm). The *Picatrix* (also known as *Ghayat al-Hakim*) provides intricate instructions for planetary invocations, where the success of the operation implicitly relies on accurate discernment of the summoned intelligence. In modern esoteric practice, particularly after the work of figures like John Dee and Edward Kelley, and the later development of spiritualism, the methodology for discernment became more explicit. Dee's 'spirit diaries,' or *Mysteriorum Libri*, record numerous instances where he and Kelley questioned the authenticity of scried communications, applying rudimentary forms of the tests discussed here, such as questioning content and observing consistency. ## How It Works Discerning spirits from imagination operates by systematically testing the qualities of the perceived interaction against established criteria for genuine external intelligence. This method moves beyond subjective feeling and requires objective evaluation of the communicated content and its effects. ### Continuity of Persona When an intelligence is contacted repeatedly, a genuine spirit will typically retain a consistent identity, mannerisms, and overall 'personality' or energetic signature. Its responses will align with previous interactions, preventing the impression of interacting with a different entity each time. Imagination, by contrast, may produce varied or contradictory 'personalities' or an intelligence that morphs to fit the practitioner's expectations or subconscious fluctuations. ### Information Transfer (Novelty and Utility) A key indicator of genuine contact is the communication of information that the practitioner could not have known through ordinary means. This could include obscure historical facts, future probabilities, or insights into complex problems that transcend the practitioner's current knowledge base. The information should be verifiable, useful, or contribute to unexpected growth. When merely imagined, the 'information' tends to be reconfigurations of existing knowledge or wish-fulfilment, lacking true novelty or profound insight. ### 'Fruit' of the Contact (Ethical and Psychological Impact) This criterion, inspired by biblical admonitions (`Matthew 7:16-20`), evaluates the long-term impact of the interaction on the practitioner's well-being and character. Genuine benevolent spiritual contact, particularly with higher intelligences, should lead to positive outcomes: increased clarity, wisdom, compassion, ethical behavior, personal growth, and a greater sense of peace or purpose. If the contact results in confusion, fear, ego inflation, paranoia, moral degradation, or psychological destabilization, it strongly suggests a misinterpretation, a lower-order influence, or a projection from unresolved personal issues rather than beneficial spirit guidance. ### Independence of Thought A truly independent intelligence can offer perspectives that differ from, or even directly challenge, the practitioner's own beliefs, desires, or expectations. It may provide corrective feedback or alternative viewpoints that push the practitioner beyond their comfort zone or preconceived notions. Interactions primarily governed by imagination tend to be agreeable, mirroring the practitioner's current mental state or echoing their desires, rarely offering genuinely novel or opposing counsel. ## Practical Application Practitioners can apply these discernment principles in various contexts, from meditative trance states to formal ceremonial [evocation](/answers/what-is-evocation) or [scrying](/answers/what-is-scrying) sessions. 1. **Journaling:** Maintain meticulous records of all communications. Note the date, time, methodology, content received, and personal feelings. Reviewing these logs over time helps identify patterns of consistency or deviation in spirit persona and message content. 2.
Frequently Asked Questions
What is the primary sign a spirit contact is real and not imagination?
A primary sign is the communication of information that you realistically could not have known through your own experience or research. This 'novelty of information' suggests an external source beyond your immediate cognitive grasp.
Can my imagination ever be a tool for spiritual contact?
Yes, a purified and cultivated imagination, often called *phantasia* in esoteric traditions, can serve as a potent faculty for receiving and interpreting spiritual communication. Discernment helps distinguish between imaginative projection and visionary reception.
What if the spirit disagrees with me? Is that a bad sign?
On the contrary, an intelligence offering perspectives that differ from or challenge your own can be a strong indicator of genuine, independent contact. True guides often provide corrective insights that foster growth beyond your current understanding.
How long should I wait before deciding if a contact is genuine?
Discernment is an ongoing process, not a one-time event. Evaluating continuity, 'fruit,' and information transfer often requires multiple interactions over weeks or months to establish reliable patterns and avoid premature conclusions.
What if I experience fear during a spiritual contact?
Fear can be a natural response to intense spiritual energy or the unknown. It is not automatically a sign of a 'bad' spirit. Ground yourself, maintain a calm demeanor, and apply discernment criteria to the content and 'fruit' of the interaction. If fear persists and is debilitating, reassess your practice.