• Hello Printful Community,

    I’m seeking assistance with a crucial update for the Printful integration with WordPress, particularly for those of us running headless WordPress setups.

    Background: In traditional WordPress setups, the home_url typically points to the front page of the site, while the site_url points to the WordPress admin area. However, in headless configurations, home_url often points to a different domain or front-end system, and site_url correctly references the WordPress backend.

    Issue: The Printful integration currently uses home_url to interact with WordPress. This approach works for standard setups but causes issues in headless environments where home_url and site_url differ. Specifically, using home_url fails to connect correctly to the WordPress admin area, leading to functionality problems.

    Request: Could the Printful development team update the integration to use site_url instead of home_url for better compatibility with headless WordPress sites? This change would ensure that interactions are properly directed to the WordPress admin interface, regardless of the home_url configuration.

    Example: Here’s a simplified example to illustrate the issue:

    • Home URL (home_url): https://frontend.example.com (Served by a front-end system)
    • Site URL (site_url): https://admin.example.com (WordPress admin backend)

    Current Behavior: Printful tries to communicate via https://frontend.example.com. Desired Behavior: Printful should communicate via https://admin.example.com.

    I believe many in the community using headless WordPress would benefit from this adjustment. If more information or specific examples are needed to clarify the request, I’d be happy to provide them.

    Thanks for considering this update! I appreciate the support and look forward to a resolution.

    Best regards,

  • The topic ‘Request to Use site_url Instead of home_url for Headless WordPress Sites’ is closed to new replies.