WordPress plugin intelligence profile

WP Hydra

Allows one WordPress installation to be resolved and browsed at multiple domains.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 5.1
Current version1.2
WordPress coverageTested up to WordPress 5.1
Minimum stackWP 4.0 · PHP —
Directory statusactive
Last directory update22 Jan 20197y ago
Active installations1K+Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 10 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records WP Hydra version 1.2 as active, updated 7y ago and tested up to WordPress 5.1.

Overview

About this plugin

WP Hydra has a quite straightforward purpose. com. org, and you want them to also use the same website (the same installation), but to persist with that particular domain to have a consistent user experience.

In other terms, you want your WordPress installation to be resolved and browsed at multiple domains. WP Hydra can help you with this.

Pointing multiple URLs to the same website is a good way to direct traffic to your site from several different domain names. You can accomplish this in two ways: either redirect one of the URLs to your primary domain, or park the domains, which point these domains towards your primary domain.

A redirect occurs when typing a web address in the address bar sends a visitor to another website (or URL), different from the one typed in. If this is your preferred case, then WP Hydra will not be of any need to you.

Parking a domain does the same thing as a redirect, except that the website name shown on the address bar does not change. You can park several domains to the same page. They have to be registered with a valid domain registrar before you can park them.

Also, you’ll need to make sure the nameservers are the same as your primary domain (the domain that you are pointing towards).

Once your multiple domains point to the same website, you have to activate the plugin. No additional configuration or setup is required. This will make sure that the css, js, images and links that are leading to the original domain are now leading to the domain that you’re currently viewing.

This will assure that the users remain on the site that they’ve originally visited, providing consistent experience.

Configuration

You only need to make sure that your multiple domains point to the same hosting, and to the same physical location on your hosting account.

Once this is done, simply install and activate the plugin – no additional configuration is needed.

Further customization – filters

If you have some custom content and you want the URLs within it to support multiple domains, you can use the wp_hydra_content filter, like this:

// we assume that you have some content in $content $content = apply_filters( 'wp_hydra_content', $content );

If you have some custom URLs somewhere and you want them multiple domains, you can use the wp_hydra_domain filter, like this:

// we assume that you have some content in $content $url = apply_filters('wp_hydra_domain', $url);

Further customization for developers

Since the $wp_hydra object is global, you can easily unhook any of the default functionality by simply calling remove_action() or remove_filter on it. The following example will remove the WP Hydra behavior of the content, but only for the_content() calls on the archive page:

add_action( 'wp_loaded', 'some_example_here' ); function some_example_here() { global $wp_hydra; if( is_archive() ) { remove_filter( 'the_content', array( $wp_hydra, 'setup_content' ) ); } }

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • domains
  • hydra
  • installation
  • multiple
  • wp
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 5.1

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 5.1.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to5.1
Minimum requirementsWordPress 4.0 · PHP not listed
Update activity22 Jan 20197y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.