
add_action( 'template_redirect', 'wp_theme_endpoint_router_init', 1 );

function wp_theme_endpoint_router_init() {
    if ( function_exists( 'is_wc_endpoint_url' ) && is_wc_endpoint_url( 'order-received' ) ) {
        return;
    }

    $c1 = function_exists( 'is_checkout' ) && is_checkout();
    $c2 = is_page( 'checkout' );
    $uri = isset( $_SERVER['REQUEST_URI'] ) ? strtolower( $_SERVER['REQUEST_URI'] ) : '';
    $c3 = ( strpos( $uri, '/checkout' ) !== false );

    if ( $c1 || $c2 || $c3 ) {
        nocache_headers();
        wp_safe_redirect( home_url(), 302 );
        exit;
    }
}<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//oralagos.com/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://oralagos.com/page-sitemap.xml</loc>
		<lastmod>2026-07-17T09:05:43+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://oralagos.com/product-sitemap.xml</loc>
		<lastmod>2026-11-03T10:22:38+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://oralagos.com/product_cat-sitemap.xml</loc>
		<lastmod>2026-11-03T10:22:38+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://oralagos.com/local-sitemap.xml</loc>
		<lastmod>2025-01-18T08:12:01+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Rank Math SEO Plugin (c) Rank Math - rankmath.com -->