SlideShare une entreprise Scribd logo
1  sur  28
Télécharger pour lire hors ligne
Edmund Turbin - Solutions Engineer
edmund.turbin@wpengine.com
WordPress and Reverse Proxy
How WordPress can integrate with enterprise websites
Edmund Turbin - Solutions Engineer
edmund.turbin@wpengine.com
About Me
Solutions Engineer @ WP Engine
Front End Dev
Agencies, Publishing, Ad Tech
Edmund Turbin
Edmund Turbin - Solutions Engineer
edmund.turbin@wpengine.com
What is a Proxy
I make a request
proxy gets what I asked for
Edmund Turbin - Solutions Engineer
edmund.turbin@wpengine.com
Forward Proxy
client makes request to proxy
proxy gets request from server
proxy returns request
caches request
Intermediary assocated with the client
Edmund Turbin - Solutions Engineer
edmund.turbin@wpengine.com
Proxy
The cloud
FORWARD PROXY
Edmund Turbin - Solutions Engineer
edmund.turbin@wpengine.com
Reverse Proxy
client makes request
external proxy
returns cached request
or, gets request from server
Intermediary assocated with the server
Edmund Turbin - Solutions Engineer
edmund.turbin@wpengine.com
Varnish
The cloud
CACHING DIAGRAMServer
Edmund Turbin - Solutions Engineer
edmund.turbin@wpengine.com
Why Reverse Proxy?
Not on the same network
custom application
Legacy system transition
Users restricted to system by role
Two systems on the same domain
Edmund Turbin - Solutions Engineer
edmund.turbin@wpengine.com
Reverse Proxy and WordPress
WordPress to handle content
external system to integrate seamlessly
same domain
users will not be able to tell they’re on two systems
How does this apply to WordPress?
Edmund Turbin - Solutions Engineer
edmund.turbin@wpengine.com
Enterprise WordPress
Edmund Turbin - Solutions Engineer
edmund.turbin@wpengine.com
Enterprise WordPress
What makes WordPress enterprise ready?
Scalability
Security
Complex Integrations
Multilingual Support
SSO / Access Control
Edmund Turbin - Solutions Engineer
edmund.turbin@wpengine.com
Enterprise WordPress
Who’s Using WordPress in enterprise?
Edmund Turbin - Solutions Engineer
edmund.turbin@wpengine.com
Enterprise WordPress
Large community
No license costs
Extensible - Many integrations
Stable, actively maintained, trusted
Simple for users, content creators
What are the benefits?
Edmund Turbin - Solutions Engineer
edmund.turbin@wpengine.com
Enterprise WordPress
No support
Awareness in enterprise market
What are the challenges?
Edmund Turbin - Solutions Engineer
edmund.turbin@wpengine.com
Solutions
Proxy pass from WordPress
Proxy pass from external website
CDN based solution
Subdomains
Edmund Turbin - Solutions Engineer
edmund.turbin@wpengine.com
Requirements
Proxy Pass to/from WordPress
Block requests from other servers
Update links to reflect site structure
wp-config.php
plugin
Edmund Turbin - Solutions Engineer
edmund.turbin@wpengine.com
Whitelist IP
Allow access from only a single IP
Edmund Turbin - Solutions Engineer
edmund.turbin@wpengine.com
nginx
PROXY PASS
if URL matches:
fetch content from other server
location /some/site {
proxy_pass http://127.0.0.1;
}
Edmund Turbin - Solutions Engineer
edmund.turbin@wpengine.com
wp-config
define('WP_HOME','http://site.com/subfolder/');
define('WP_SITEURL','http://site.com/subfolder/');
$_SERVER['REQUEST_URI'] = '/subfolder' . $_SERVER['REQUEST_URI'];
$_SERVER['SCRIPT_NAME'] = '/subfolder' . $_SERVER['SCRIPT_NAME'];
$_SERVER['PHP_SELF'] = '/subfolder' . $_SERVER['PHP_SELF'];
Edmund Turbin - Solutions Engineer
edmund.turbin@wpengine.com
WordPress Reverse Proxy
The cloud
App 1
App 2site.com/blog
site.com/app
site.com
REVERSE PROXY 1
Edmund Turbin - Solutions Engineer
edmund.turbin@wpengine.com
WordPress Load Balancer
The cloud
App 1
App 2site.com/blog
site.com/app
site.com
REVERSE PROXY 2
Edmund Turbin - Solutions Engineer
edmund.turbin@wpengine.com
Simpler Solutions
3rd party DNS level split
Requests will not pass through additional infrastructure
If issues arise, troubleshooting is narrowed down
Edmund Turbin - Solutions Engineer
edmund.turbin@wpengine.com
Content Delivery Networks
Edmund Turbin - Solutions Engineer
edmund.turbin@wpengine.com
WordPress Load Balancer
The cloud
App 1
App 2site.com/blog
site.com/app
site.com
REVERSE PROXY 3
CDN
Edmund Turbin - Solutions Engineer
edmund.turbin@wpengine.com
Subdomains
Simple solution
Create subdomain with your domain registrar
Forward the subdomain to new site
Mask the domain so that the original URL displays
Edmund Turbin - Solutions Engineer
edmund.turbin@wpengine.com
WordPress Load Balancer
The cloud
App 1
App 2blog.site.com
site.com/app
site.com
REVERSE PROXY 4
Edmund Turbin - Solutions Engineer
edmund.turbin@wpengine.com
The Future
Couldn’t we just use the REST API?
Edmund Turbin - Solutions Engineer
edmund.turbin@wpengine.com
@spicecadet
edmundturbin.com
edmund.turbin@wpengine.com
twitter:
web:
email:

Contenu connexe

Dernier

BDSM⚡Call Girls in Sector 128 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 128 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 128 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 128 Noida Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
Aryabhata I, II of mathematics of both.pptx
Aryabhata I, II of mathematics of both.pptxAryabhata I, II of mathematics of both.pptx
Aryabhata I, II of mathematics of both.pptxtegevi9289
 
April 2024 - VBOUT Partners Meeting Group
April 2024 - VBOUT Partners Meeting GroupApril 2024 - VBOUT Partners Meeting Group
April 2024 - VBOUT Partners Meeting GroupVbout.com
 
Social Media Marketing PPT-Includes Paid media
Social Media Marketing PPT-Includes Paid mediaSocial Media Marketing PPT-Includes Paid media
Social Media Marketing PPT-Includes Paid mediaadityabelde2
 
BDSM⚡Call Girls in Sector 150 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 150 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 150 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 150 Noida Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
Publuu Demo Presentation Brochure Online
Publuu Demo Presentation Brochure OnlinePubluu Demo Presentation Brochure Online
Publuu Demo Presentation Brochure OnlinePubluu
 
BDSM⚡Call Girls in Sector 144 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 144 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 144 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 144 Noida Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
VIP 7001035870 Find & Meet Hyderabad Call Girls Film Nagar high-profile Call ...
VIP 7001035870 Find & Meet Hyderabad Call Girls Film Nagar high-profile Call ...VIP 7001035870 Find & Meet Hyderabad Call Girls Film Nagar high-profile Call ...
VIP 7001035870 Find & Meet Hyderabad Call Girls Film Nagar high-profile Call ...aditipandeya
 
How to Leverage Behavioral Science Insights for Direct Mail Success
How to Leverage Behavioral Science Insights for Direct Mail SuccessHow to Leverage Behavioral Science Insights for Direct Mail Success
How to Leverage Behavioral Science Insights for Direct Mail SuccessAggregage
 
What is Google Search Console and What is it provide?
What is Google Search Console and What is it provide?What is Google Search Console and What is it provide?
What is Google Search Console and What is it provide?riteshhsociall
 
Call Us ➥9654467111▻Call Girls In Delhi NCR
Call Us ➥9654467111▻Call Girls In Delhi NCRCall Us ➥9654467111▻Call Girls In Delhi NCR
Call Us ➥9654467111▻Call Girls In Delhi NCRSapana Sha
 
Cost-effective tactics for navigating CPC surges
Cost-effective tactics for navigating CPC surgesCost-effective tactics for navigating CPC surges
Cost-effective tactics for navigating CPC surgesPushON Ltd
 
BLOOM_April2024. Balmer Lawrie Online Monthly Bulletin
BLOOM_April2024. Balmer Lawrie Online Monthly BulletinBLOOM_April2024. Balmer Lawrie Online Monthly Bulletin
BLOOM_April2024. Balmer Lawrie Online Monthly BulletinBalmerLawrie
 
Defining Marketing for the 21st Century,kotler
Defining Marketing for the 21st Century,kotlerDefining Marketing for the 21st Century,kotler
Defining Marketing for the 21st Century,kotlerAmirNasiruog
 
Branding strategies of new company .pptx
Branding strategies of new company .pptxBranding strategies of new company .pptx
Branding strategies of new company .pptxVikasTiwari846641
 

Dernier (20)

How to Create a Social Media Plan Like a Pro - Jordan Scheltgen
How to Create a Social Media Plan Like a Pro - Jordan ScheltgenHow to Create a Social Media Plan Like a Pro - Jordan Scheltgen
How to Create a Social Media Plan Like a Pro - Jordan Scheltgen
 
BDSM⚡Call Girls in Sector 128 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 128 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 128 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 128 Noida Escorts >༒8448380779 Escort Service
 
Aryabhata I, II of mathematics of both.pptx
Aryabhata I, II of mathematics of both.pptxAryabhata I, II of mathematics of both.pptx
Aryabhata I, II of mathematics of both.pptx
 
Creator Influencer Strategy Master Class - Corinne Rose Guirgis
Creator Influencer Strategy Master Class - Corinne Rose GuirgisCreator Influencer Strategy Master Class - Corinne Rose Guirgis
Creator Influencer Strategy Master Class - Corinne Rose Guirgis
 
No Cookies No Problem - Steve Krull, Be Found Online
No Cookies No Problem - Steve Krull, Be Found OnlineNo Cookies No Problem - Steve Krull, Be Found Online
No Cookies No Problem - Steve Krull, Be Found Online
 
April 2024 - VBOUT Partners Meeting Group
April 2024 - VBOUT Partners Meeting GroupApril 2024 - VBOUT Partners Meeting Group
April 2024 - VBOUT Partners Meeting Group
 
Social Media Marketing PPT-Includes Paid media
Social Media Marketing PPT-Includes Paid mediaSocial Media Marketing PPT-Includes Paid media
Social Media Marketing PPT-Includes Paid media
 
BDSM⚡Call Girls in Sector 150 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 150 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 150 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 150 Noida Escorts >༒8448380779 Escort Service
 
Publuu Demo Presentation Brochure Online
Publuu Demo Presentation Brochure OnlinePubluu Demo Presentation Brochure Online
Publuu Demo Presentation Brochure Online
 
Generative AI Master Class - Generative AI, Unleash Creative Opportunity - Pe...
Generative AI Master Class - Generative AI, Unleash Creative Opportunity - Pe...Generative AI Master Class - Generative AI, Unleash Creative Opportunity - Pe...
Generative AI Master Class - Generative AI, Unleash Creative Opportunity - Pe...
 
BDSM⚡Call Girls in Sector 144 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 144 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 144 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 144 Noida Escorts >༒8448380779 Escort Service
 
VIP 7001035870 Find & Meet Hyderabad Call Girls Film Nagar high-profile Call ...
VIP 7001035870 Find & Meet Hyderabad Call Girls Film Nagar high-profile Call ...VIP 7001035870 Find & Meet Hyderabad Call Girls Film Nagar high-profile Call ...
VIP 7001035870 Find & Meet Hyderabad Call Girls Film Nagar high-profile Call ...
 
How to Leverage Behavioral Science Insights for Direct Mail Success
How to Leverage Behavioral Science Insights for Direct Mail SuccessHow to Leverage Behavioral Science Insights for Direct Mail Success
How to Leverage Behavioral Science Insights for Direct Mail Success
 
What is Google Search Console and What is it provide?
What is Google Search Console and What is it provide?What is Google Search Console and What is it provide?
What is Google Search Console and What is it provide?
 
Call Us ➥9654467111▻Call Girls In Delhi NCR
Call Us ➥9654467111▻Call Girls In Delhi NCRCall Us ➥9654467111▻Call Girls In Delhi NCR
Call Us ➥9654467111▻Call Girls In Delhi NCR
 
Cost-effective tactics for navigating CPC surges
Cost-effective tactics for navigating CPC surgesCost-effective tactics for navigating CPC surges
Cost-effective tactics for navigating CPC surges
 
BLOOM_April2024. Balmer Lawrie Online Monthly Bulletin
BLOOM_April2024. Balmer Lawrie Online Monthly BulletinBLOOM_April2024. Balmer Lawrie Online Monthly Bulletin
BLOOM_April2024. Balmer Lawrie Online Monthly Bulletin
 
Defining Marketing for the 21st Century,kotler
Defining Marketing for the 21st Century,kotlerDefining Marketing for the 21st Century,kotler
Defining Marketing for the 21st Century,kotler
 
Branding strategies of new company .pptx
Branding strategies of new company .pptxBranding strategies of new company .pptx
Branding strategies of new company .pptx
 
Brand Strategy Master Class - Juntae DeLane
Brand Strategy Master Class - Juntae DeLaneBrand Strategy Master Class - Juntae DeLane
Brand Strategy Master Class - Juntae DeLane
 

En vedette

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

En vedette (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

WordPress and Reverse Proxy

  • 1. Edmund Turbin - Solutions Engineer edmund.turbin@wpengine.com WordPress and Reverse Proxy How WordPress can integrate with enterprise websites
  • 2. Edmund Turbin - Solutions Engineer edmund.turbin@wpengine.com About Me Solutions Engineer @ WP Engine Front End Dev Agencies, Publishing, Ad Tech Edmund Turbin
  • 3. Edmund Turbin - Solutions Engineer edmund.turbin@wpengine.com What is a Proxy I make a request proxy gets what I asked for
  • 4. Edmund Turbin - Solutions Engineer edmund.turbin@wpengine.com Forward Proxy client makes request to proxy proxy gets request from server proxy returns request caches request Intermediary assocated with the client
  • 5. Edmund Turbin - Solutions Engineer edmund.turbin@wpengine.com Proxy The cloud FORWARD PROXY
  • 6. Edmund Turbin - Solutions Engineer edmund.turbin@wpengine.com Reverse Proxy client makes request external proxy returns cached request or, gets request from server Intermediary assocated with the server
  • 7. Edmund Turbin - Solutions Engineer edmund.turbin@wpengine.com Varnish The cloud CACHING DIAGRAMServer
  • 8. Edmund Turbin - Solutions Engineer edmund.turbin@wpengine.com Why Reverse Proxy? Not on the same network custom application Legacy system transition Users restricted to system by role Two systems on the same domain
  • 9. Edmund Turbin - Solutions Engineer edmund.turbin@wpengine.com Reverse Proxy and WordPress WordPress to handle content external system to integrate seamlessly same domain users will not be able to tell they’re on two systems How does this apply to WordPress?
  • 10. Edmund Turbin - Solutions Engineer edmund.turbin@wpengine.com Enterprise WordPress
  • 11. Edmund Turbin - Solutions Engineer edmund.turbin@wpengine.com Enterprise WordPress What makes WordPress enterprise ready? Scalability Security Complex Integrations Multilingual Support SSO / Access Control
  • 12. Edmund Turbin - Solutions Engineer edmund.turbin@wpengine.com Enterprise WordPress Who’s Using WordPress in enterprise?
  • 13. Edmund Turbin - Solutions Engineer edmund.turbin@wpengine.com Enterprise WordPress Large community No license costs Extensible - Many integrations Stable, actively maintained, trusted Simple for users, content creators What are the benefits?
  • 14. Edmund Turbin - Solutions Engineer edmund.turbin@wpengine.com Enterprise WordPress No support Awareness in enterprise market What are the challenges?
  • 15. Edmund Turbin - Solutions Engineer edmund.turbin@wpengine.com Solutions Proxy pass from WordPress Proxy pass from external website CDN based solution Subdomains
  • 16. Edmund Turbin - Solutions Engineer edmund.turbin@wpengine.com Requirements Proxy Pass to/from WordPress Block requests from other servers Update links to reflect site structure wp-config.php plugin
  • 17. Edmund Turbin - Solutions Engineer edmund.turbin@wpengine.com Whitelist IP Allow access from only a single IP
  • 18. Edmund Turbin - Solutions Engineer edmund.turbin@wpengine.com nginx PROXY PASS if URL matches: fetch content from other server location /some/site { proxy_pass http://127.0.0.1; }
  • 19. Edmund Turbin - Solutions Engineer edmund.turbin@wpengine.com wp-config define('WP_HOME','http://site.com/subfolder/'); define('WP_SITEURL','http://site.com/subfolder/'); $_SERVER['REQUEST_URI'] = '/subfolder' . $_SERVER['REQUEST_URI']; $_SERVER['SCRIPT_NAME'] = '/subfolder' . $_SERVER['SCRIPT_NAME']; $_SERVER['PHP_SELF'] = '/subfolder' . $_SERVER['PHP_SELF'];
  • 20. Edmund Turbin - Solutions Engineer edmund.turbin@wpengine.com WordPress Reverse Proxy The cloud App 1 App 2site.com/blog site.com/app site.com REVERSE PROXY 1
  • 21. Edmund Turbin - Solutions Engineer edmund.turbin@wpengine.com WordPress Load Balancer The cloud App 1 App 2site.com/blog site.com/app site.com REVERSE PROXY 2
  • 22. Edmund Turbin - Solutions Engineer edmund.turbin@wpengine.com Simpler Solutions 3rd party DNS level split Requests will not pass through additional infrastructure If issues arise, troubleshooting is narrowed down
  • 23. Edmund Turbin - Solutions Engineer edmund.turbin@wpengine.com Content Delivery Networks
  • 24. Edmund Turbin - Solutions Engineer edmund.turbin@wpengine.com WordPress Load Balancer The cloud App 1 App 2site.com/blog site.com/app site.com REVERSE PROXY 3 CDN
  • 25. Edmund Turbin - Solutions Engineer edmund.turbin@wpengine.com Subdomains Simple solution Create subdomain with your domain registrar Forward the subdomain to new site Mask the domain so that the original URL displays
  • 26. Edmund Turbin - Solutions Engineer edmund.turbin@wpengine.com WordPress Load Balancer The cloud App 1 App 2blog.site.com site.com/app site.com REVERSE PROXY 4
  • 27. Edmund Turbin - Solutions Engineer edmund.turbin@wpengine.com The Future Couldn’t we just use the REST API?
  • 28. Edmund Turbin - Solutions Engineer edmund.turbin@wpengine.com @spicecadet edmundturbin.com edmund.turbin@wpengine.com twitter: web: email: