Title: Detect URL Mode: Server variable
Last modified: February 11, 2025

---

# Detect URL Mode: Server variable

 *  Resolved [Juanzo](https://wordpress.org/support/users/jmzolezzi/)
 * (@jmzolezzi)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/detect-url-mode-server-variable/)
 * Thanks for this useful plugin!
 * Small question, haven’t found anything at [docs](https://daext.com/doc/hreflang-manager/).
   
   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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdetect-url-mode-server-variable%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [DAEXT](https://wordpress.org/support/users/daext/)
 * (@daext)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/detect-url-mode-server-variable/#post-18301180)
 * 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.

Viewing 1 replies (of 1 total)

The topic ‘Detect URL Mode: Server variable’ is closed to new replies.

 * ![](https://ps.w.org/hreflang-manager-lite/assets/icon.svg?rev=2984388)
 * [Hreflang Manager - Hreflang Implementation for International SEO](https://wordpress.org/plugins/hreflang-manager-lite/)
 * [Support Threads](https://wordpress.org/support/plugin/hreflang-manager-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/hreflang-manager-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hreflang-manager-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hreflang-manager-lite/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [DAEXT](https://wordpress.org/support/users/daext/)
 * Last activity: [1 year, 3 months ago](https://wordpress.org/support/topic/detect-url-mode-server-variable/#post-18301180)
 * Status: resolved