All Projects → humanmade → hm-redirects

humanmade / hm-redirects

Licence: other
Fast and scalable redirects plugin for WordPress

Programming Languages

PHP
23972 projects - #3 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to hm-redirects

Safe Redirect Manager
A simple HTTP redirection plugin for WordPress.
Stars: ✭ 201 (+773.91%)
Mutual labels:  wordpress-plugin, redirects
404-to-301
Manage 404 errors on your WordPress site and redirect them to any pages using 301 redirect for SEO
Stars: ✭ 11 (-52.17%)
Mutual labels:  wordpress-plugin, redirects
WPCOM-Legacy-Redirector
WordPress plugin for handling large volumes of legacy redirects in a scalable manner.
Stars: ✭ 16 (-30.43%)
Mutual labels:  wordpress-plugin, redirects
simple-custom-post-order
Order posts(posts, any custom post types) using a Drag and Drop Sortable JavaScript. Configuration is unnecessary.
Stars: ✭ 18 (-21.74%)
Mutual labels:  wordpress-plugin
create-wp-react-app
Create React WordPress plugin with no build configuration.
Stars: ✭ 56 (+143.48%)
Mutual labels:  wordpress-plugin
disable-cart-fragments
Completely disables the AJAX cart fragments feature in WooCommerce for a huge boost in loading speed (redirect to cart page highly recommended).
Stars: ✭ 20 (-13.04%)
Mutual labels:  wordpress-plugin
seo-by-rank-math
Rank Math is a revolutionary WordPress SEO Plugin that combines the features of many SEO tools and lets you multiply your traffic in the easiest way possible 💡 📈 →
Stars: ✭ 54 (+134.78%)
Mutual labels:  wordpress-plugin
featured-image-by-url
This plugin allows to use an external URL Images as Featured Image for your post, page & custom post types like WooCommerce Product. Includes support for Product Gallery (WooCommerce).
Stars: ✭ 28 (+21.74%)
Mutual labels:  wordpress-plugin
wpse-playlist
WordPress - Playlist shortcode with external audio or video files. Wrapper for the native playlist in WordPress.
Stars: ✭ 17 (-26.09%)
Mutual labels:  wordpress-plugin
Exopite-Multifilter-Multi-Sorter-WordPress-Plugin
Display and/or sort/filter any page or post types by multiple taxonomies or terms (like post by categories and/or tags) with AJAX. Exopite multifilter, multi-sortable, multi selectable, multi filterable sortable Wordpress Plugin.
Stars: ✭ 18 (-21.74%)
Mutual labels:  wordpress-plugin
doubleclick-for-wp
WordPress plugin for serving Google Ad Manager ads
Stars: ✭ 25 (+8.7%)
Mutual labels:  wordpress-plugin
kirby3-redirects
Setup HTTP Status Code Redirects from within the Kirby Panel
Stars: ✭ 14 (-39.13%)
Mutual labels:  redirects
pmpro-sponsored-members
Generate a discount code for a main account holder to distribute to sponsored members.
Stars: ✭ 13 (-43.48%)
Mutual labels:  wordpress-plugin
wp-template-preview
WordPress custom template preview for any post type
Stars: ✭ 16 (-30.43%)
Mutual labels:  wordpress-plugin
cachify
Smart but efficient cache solution for WordPress. Use DB, HDD, APC or Memcached for storing your blog pages. Make WordPress faster!
Stars: ✭ 93 (+304.35%)
Mutual labels:  wordpress-plugin
lazy-load-for-comments
Lazy load WordPress default commenting system.
Stars: ✭ 17 (-26.09%)
Mutual labels:  wordpress-plugin
ultimate-addons-for-gutenberg
Power-up the Gutenberg editor with advanced and powerful blocks that help you build websites in minutes!
Stars: ✭ 166 (+621.74%)
Mutual labels:  wordpress-plugin
wp-ban
Ban users by IP, IP Range, host name, user agent and referrer url from visiting your WordPress's blog.
Stars: ✭ 19 (-17.39%)
Mutual labels:  wordpress-plugin
acf-flexible-content-preview
Transforms ACF's flexible content field's layout list into a modal with image previews.
Stars: ✭ 21 (-8.7%)
Mutual labels:  wordpress-plugin
wordpress
Free PWA & SPA for Wordpress & Woocommerce
Stars: ✭ 103 (+347.83%)
Mutual labels:  wordpress-plugin

HM Redirects

Allows to redirect one path to another path on the same domain.

Architecture

Redirects are stored as a custom post type and use the following fields:

  • post_name to store the md5 hash of the From path. This column is used because it is indexed, and allows fast queries. md5 is used to simplify the storage.
  • post_title to store the From path.
  • post_excerptto store the the To path.

Tips

This plugin uses wp_safe_redirect() to redirect. You will have to whitelist your redirect target domains using WordPress' allowed_redirect_hosts filter, otherwise the redirect will not work. One way to get a list of redirect target domains is to run the WP-CLI command: wp hm-redirects find-domains. Another is to add them dynamically just-in-time using the filter hm_redirects_matched_redirect.

Attributions

Props for the data storage approach to VIP's WPCOM Legacy Redirector.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].