Back to Main Site

FengShui Moving Date for WordPress - Complete Plugin & Virtual SEO Guide

Last updated on Aug 23, 2026 10:35 PM 10:35 PM 245.41 ms

100% Algorithmic Precision - Zero AI Hallucinations: All astronomical dates, lunar calendar conversions, solar terms, and zodiac ratings are mathematically computed using exact East Asian Feng Shui algorithms and formulas. Artificial Intelligence is strictly limited to rendering natural language explanations, ensuring absolute data integrity without arbitrary AI hallucination or statistical discrepancies.

FengShui Moving Date for WordPress is an advanced SEO virtual routing and e-commerce plugin designed for WordPress sites. It enables automated generation and management of thousands of house-moving (Nhap Trach) date lookup pages based on East Asian Feng Shui principles. By utilizing Dynamic SEO Virtual Rewrite Rules, it renders virtual pages on-the-fly for any combination of birth year, month, and year without increasing database table size.

Dynamic SEO Virtual Rewrite Rules & Routing Engine

Scale website page authority and search indexing across thousands of lookup keywords with zero database inflation:

  • Customizable Virtual URL Schemes: Capture dynamic URL parameters (e.g., /xem-ngay-chuyen-nha-1990-thang-8-2026/).
  • Dynamic Placeholders Engine: Automatically inject variables including {checked_year} (Birth Year), {checked_year_chi} (Earthly Branch), {checked_year_can_chi} (Full Can Chi), {target_month}, and {target_year}.
  • Virtual Template Redirection: Intercept URL matching via template_redirect hooks, load seed template posts (poly_fengshui_moving), substitute placeholders, and bypass canonical URL redirects (redirect_canonical).

Pluggable Data Provider & 60-Second Circuit Breaker

Ensure reliable data fetching and site uptime with pluggable data drivers supporting sites running the FengShui API for WordPress core plugin, remote PolyFengShui API backend services, and automated fault isolation:

  • Pluggable Data Drivers: Switch seamlessly between drivers connecting to websites installed with the FengShui API for WordPress plugin, remote PolyFengShui API drivers (PolyFengShuiDataProvider) connecting to /api/feng-shui/v2/ via Bearer Tokens, or local offline calculation engines.
  • 60-Second Circuit Breaker: Prevent page hangs by automatically suspending remote API requests for 60 seconds whenever server timeouts or connection errors occur.
  • Object Caching & Purge Controls: Store lookup results in WordPress Object Cache and Transients with flexible TTLs (1 hour to 7 days) and 1-click manual cache clear buttons.

Shortcodes Suite & Custom Modal UI (i18n)

Provide interactive user experiences directly inside post and page content:

  • [fengshui_date]: Displays general date ratings, Hoang Dao/Hac Dao hours, Nguyet Ky, Tam Nuong, and Duong Cong Ky warnings.
  • [fengshui_date_moving]: Renders house-moving date ratings tailored to the user's birth year, highlighting auspicious dates and Tu Hanh Xung / Thien Can Khac conflicts.
  • [fengshui_date_zodiac]: Embeds an interactive frontend form allowing users to select birth year and target moving month/year.
  • Custom Modal UI: Replaces browser native alert boxes with modern styled modal popups (#000 accent, #fff background, #eaeaea borders) and full translation support via wp_localize_script.

Yoast SEO & Rank Math Integrations

Ensure perfect search engine metadata across all virtual URLs:

  • Dynamic Title Tag Overriding: Dynamically rewrite <title> tags across Yoast SEO (wpseo_*) and Rank Math (rank_math/frontend/title).
  • Meta Description & Canonical URLs: Override meta descriptions (wpseo_metadesc, rank_math/frontend/description) and canonical URLs (wpseo_canonical, rank_math/frontend/canonical) on-the-fly based on active virtual query parameters.

Plugin Architecture & System Workflows

FengShui Moving Date operates via four core processing pipelines: Virtual Rewrite Routing with Template Switching, Pluggable Provider Resolution with 60-Second Circuit Breaker, Deterministic Calculation vs AI Response Stream, and Dynamic SEO Metadata Overrides.

1. Virtual Page Routing & Moving Date Template Switching Workflow

graph TD
    A["Visitor Accesses /xem-ngay-chuyen-nha-1990-thang-8-2026/"] --> B["WP Rewrite Rule matches Regex Pattern"]
    B --> C["Set Query Vars: checked_year=1990, target_month=8, target_year=2026"]
    C --> D["template_redirect Hook Intercepts Execution"]
    D --> E["Fetch Seed Template Post CPT poly_fengshui_moving"]
    E --> F{"Select Moving Date Template Layout"}
    F -->|"Single Doc Template"| G["Apply Single Documentation Template"]
    F -->|"Custom Presets Template"| H["Apply Custom Presets Layout"]
    G --> I["Parse Shortcodes & Replace Placeholders ({checked_year}, Can Chi)"]
    H --> I
    I --> J["Bypass Canonical Redirect (redirect_canonical)"]
    J --> K["Render Virtual Page HTML to End User"]

2. Pluggable Data Provider Switching & Circuit Breaker Workflow

graph TD
    A["Lookup Request Triggered by Shortcode / Form"] --> B{"Check WP Object Cache / Transient"}
    B -->|"Cache Hit"| C["Return Cached Lookup Results"]
    B -->|"Cache Miss"| D{"Check 60s Circuit Breaker Status"}
    D -->|"Breaker Open (API Failure)"| E["Switch to Local Offline Legacy Driver"]
    D -->|"Breaker Closed (Normal)"| F{"Resolve Active Data Provider Driver"}
    F -->|"FengShui API Local Driver"| G["Connect to Site Installed FengShui API Plugin"]
    F -->|"PolyFengShui Remote Driver"| H["HTTP Request /api/feng-shui/v2/ via Bearer Token"]
    G --> I["Execute FengShui Mathematical Calculation Kernel"]
    H --> J{"HTTP Response Code 200 OK?"}
    J -->|"Success"| I
    J -->|"Timeout / Server Error"| K["Trip 60s Circuit Breaker & Log Alert"]
    K --> E
    E --> I
    I --> L["Save Payload to Object Cache & Transients"]
    L --> M["Pass Data to Output Workflow"]

3. Deterministic Algorithm vs AI Response Stream Workflow

graph TD
    A["Input Parameters: Year of Birth, Target Month, Target Year"] --> B["Core FengShui Mathematical Algorithm Engine"]
    B --> C["Exact Astronomical & Can Chi Computation (100% Deterministic)"]
    C --> D["Apply Tu Hanh Xung, Thien Can Khac & Taboo Filtering Rules"]
    D --> E{"Check Output Response Configuration"}
    E -->|"Non-AI Direct Stream"| F["Render Dynamically Optimized Preset Templates & Rating Cards"]
    E -->|"AI Assistance Stream"| G["Inject Preset Template Rules & Calculation Data into AI System Prompt"]
    G --> H["AI Renders Natural Language Interpretation adhering to Template System Prompt"]
    F --> I["Custom Modal UI / Shortcode Output"]
    H --> I
    I --> J["End User Interface Screen"]

4. Dynamic SEO Meta Override Workflow

graph TD
    A["Page Header Rendering Stage"] --> B{"Is Virtual FengShui Page?"}
    B -->|"No"| C["Pass Control to Default Theme / SEO Plugin"]
    B -->|"Yes"| D{"Detect Active SEO Plugin: Yoast SEO or Rank Math"}
    D --> E["Hook into Meta Title Filter and Inject Age Params"]
    E --> F["Hook into Meta Description Filter"]
    F --> G["Override Canonical URL to Match Virtual Path"]
    G --> H["Output Clean HTML Head Tags"]

Related Products & Technical Documentation

Explore the complete PolyXGO FengShui WordPress ecosystem and engineering resources: