Forums
Home / Plugin: Hreflang Manager - Hreflang Implementation for International SEO / Detect URL Mode: Server variable
(@jmzolezzi)
2 months, 3 weeks ago
Thanks for this useful plugin!
Small question, haven’t found anything at docs.How does the Server Variable setting at “Detect URL Mode” mode work?Is it faster than using a WP request to do so?
The page I need help with: [log in to see the link]
(@daext)
Hello Juanzo,
It’s the same in terms of speed. To detect the URL Server Variable uses the PHP $_SERVER variable, while WP Request uses the WordPress $wp global.
$_SERVER
$wp