forked from 50east/wp-forwarded-host-urls
-
Notifications
You must be signed in to change notification settings - Fork 4
WordPress plugin to build urls using the X-Forwarded-Host header, if it exists.
License
pagekite/wp-forwarded-host-urls
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
=== Forwarded Host URLs === Contributors: blahed Tags: plugin, urls, hostname, host, links Stable tag: 0.0.3 License: MIT Forces WordPress to build urls using the Host header, if it exists. == Description == A plugin to force WordPress to build urls based on the Host header. Useful if you're viewing a WordPress site using multiple domain names, or using a forwarding service like PageKite <https://pagekite.net/>. We don't recommend using this in production, but it can be useful for development. Forked from https://github.com/50east/wp-forwarded-host-urls , ideas from https://gist.github.com/949821 and http://odyniec.net/blog/2010/02/wordpress-blog-and-multiple-server-names/ == NOTE == This plugin may in fact be entirely unnecessary - you should be able to edit your wp-config.php file and replace the site name definition with the following: define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST'] . '/path/to/wordpress');
About
WordPress plugin to build urls using the X-Forwarded-Host header, if it exists.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- PHP 100.0%