, 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 */ }
})();
temples & spiritual centers in portugal
The study of temples and spiritual centers in Portugal offers a profound gateway into the Iberian Peninsula’s layered esoteric history. Within the formal curriculum of Terra Incognita Academy, these sacred sites are recognized not merely as historical monuments, but as active nodes of telluric energy and spiritual resonance. From the Knights Templar strongholds in Tomar to the contemporary sanctuaries of the interior, these locations represent a unique intersection of Christian mysticism, Hermeticism, and ancient chthonic traditions. For the dedicated practitioner, understanding the architecture and energetic signatures of these centers is essential for contextualizing the flow of Western esoteric thought. These spaces serve as physical anchors for theurgy and ceremonial magic, providing a geographical framework for students to explore how sacred geometry and intentional consecration influence the human psyche and its connection to the divine.
Engaging with this specialized field allows students to bridge the gap between theoretical knowledge and practical application. By examining our comprehensive compendium articles, scholars can trace the lineages of the various spirits and celestial intelligences associated with the Portuguese landscape. These entities are viewed as benevolent guardians and teachers, facilitating a deeper communion with the unseen realms. Our digital downloads and ebooks provide extensive documentation on the ritualistic significance of these sites, offering insights into how the unique astral climate of Portugal enhances specific operations of high magic. Through these resources, the Academy fosters a sophisticated understanding of how localized spiritual traditions contribute to the universal quest for gnosis and the refinement of the magical will.
Integration into the broader Academy community is vital for mastering this subject matter. Students are encouraged to participate in our structured courses, which provide a rigorous academic foundation for interpreting the symbolic language of these spiritual hubs. Beyond formal study, our vibrant forum discussions offer a collaborative environment where practitioners can share personal insights, research findings, and experiential data regarding their work with the spirits of the land. This collective exploration ensures that the study of Portugal’s sacred topography remains a living tradition. Whether through downloading reference materials or engaging in peer-led debates, members of Terra Incognita Academy gain the tools necessary to synthesize Portuguese spiritual heritage into a coherent, modern practice of esoteric excellence and enlightened inquiry.
Directory Listings
Vale do Amanhecer Templo Ozivano — Vale do Amanhecer Templo Ozivano is a dedicated temple & spiritual center in Trofa, Portugal. As a primary destination for those seeking spiritual developm
Templo Radha Krishna — Templo Radha Krishna is a Temple & Spiritual Center in Lisboa, Portugal. Located at Alameda Mahatma Gandhi 1, 1600500 Lisboa, it offers a dedicated setting
Igreja do Espírito Santo — Igreja do Espírito Santo is a prominent temple & spiritual center in Leiria, Portugal. As a dedicated space for reflection and community gathering, it serv
Templo de Gaya - Aveiro — Templo de Gaya Aveiro is a dedicated Temple & Spiritual Center located in the picturesque city of Aveiro, Portugal. As a sanctuary for those seeking inner
CEIF - Centro Espírita Irmã Filomena — CEIF Centro Espírita Irmã Filomena is a dedicated Temple & Spiritual Center located in the tranquil parish of Beiriz, Portugal. Serving as a beacon for th
Terreiro de Umbanda Templo Arani — Terreiro de Umbanda Templo Arani is a dedicated temple and spiritual center located in the coastal town of Trafaria, Portugal. As a prominent destination f
Ginásio Templo dos Sentidos — Ginásio Templo dos Sentidos is a distinguished temple & spiritual center in Almada, Portugal. As a dedicated space for inner development and holistic wellb
Templo Lubaro do Amanhecer — Templo Lubaro do Amanhecer is a Temple & Spiritual Center in Vila Nova de Gaia, Portugal. It offers a dedicated setting for people interested in spirituali
Lisbon Buddhist Centre — Lisbon Buddhist Centre is a Temple & Spiritual Center in Lisboa, Portugal. Located at R. Rafael de Andrade 23, 2nd floor, 1150274 Lisboa, it offers a dedic
Igreja do Sagrado Coração de Jesus — Igreja do Sagrado Coração de Jesus is a Temple & Spiritual Center in Amadora, Portugal. Located at R. Domingos Pica 2, 2650305 Amadora, it offers a local s
Sanctuary of Our Lady of Fátima — Shrine & pilgrimage complex where the Virgin Mary appeared to 3 children, with a basilica & chapel.
Instituto de Terapias Holísticas — The Instituto de Terapias Holísticas is a dedicated temple & spiritual center in Barreiro, Portugal. As a central hub for holistic wellbeing in the Setúbal
Templo Agaton Vale do Amanhecer — Templo Agaton Vale do Amanhecer is a Temple & Spiritual Center in Vila Nova de Gaia, Portugal. It provides a dedicated setting for people interested in spi
AEL – Associação Espírita de Leiria — AEL – Associação Espírita de Leiria is a dedicated temple & spiritual center in Leiria, Portugal. As a primary hub for spiritual study and community gather
Sanctuary of Our Lady of Sameiro — Domed church & Catholic sanctuary atop a mountain, with sweeping views of Braga from its staircase.
Templo Juaçã do Amanhecer — Templo Juaçã do Amanhecer is a dedicated temple & spiritual center located in the city of Maia, Portugal. Serving as a beacon for those seeking inner peace
Templo Lendas de Aruanda — Templo Lendas de Aruanda is a dedicated temple & spiritual center in Leiria, Portugal. As a central point for spiritual practice in the District of Leiria,
AECA - Associação Espírita Caminheiros do Amor — AECA Associação Espírita Caminheiros do Amor is a Temple & Spiritual Center in Braga, Portugal. Located at R. Padre Armando Lira 68, the association offer
Sanctuary of Penha — Modern sanctuary on a spacious, hilltop piazza with city views & surrounded by walking trails.
Templo Dourado — Templo Dourado is a dedicated temple & spiritual center in Viseu, Portugal, serving as a cornerstone for those seeking inner peace and holistic wellbeing.
Centro Espírita do Infante — Centro Espírita do Infante is a dedicated temple & spiritual center in Vila Nova de Gaia, Portugal. As a central hub for those seeking inner peace and spir
Sacred Art Museum of Funchal — This museum specializes in sacred art beginning in the Renaissance, with Flemish paintings & more.
Templo Ecuménico Universalista de Miranda do Corvo — The Templo Ecuménico Universalista de Miranda do Corvo is a renowned temple & spiritual center in Miranda do Corvo, Portugal. Situated in the heart of the
Centro Espírita Messe de Amor — Centro Espírita Messe de Amor is a Temple & Spiritual Center in Braga, Portugal, located at R. das Oliveiras lote G loja 1, 4710088 Braga. It offers a dedi
TUTO - Templo de Umbanda Tenda de Oxossy — TUTO Templo de Umbanda Tenda de Oxossy is a distinguished temple & spiritual center in Cacia, Portugal. As a dedicated space for reflection and community
Schoenstatt Shrine — The Schoenstatt Shrine is a renowned temple & spiritual center in Gafanha da Nazaré, Portugal. As a dedicated space for reflection and communal gathering,