WordPress.org

Ready to get started?Download WordPress

Forums

Simple 301 Redirects
suggestion for URL matching (1 post)

  1. James Revillini
    Member
    Posted 1 year ago #

    right now u do this
    $userrequest = str_ireplace(get_option('home'),'',$this->getAddress());

    i think this is more straightforward and covers all protocols (http/https)
    $userrequest = $_SERVER['REQUEST_URI'];

    http://wordpress.org/extend/plugins/simple-301-redirects/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 1 year ago by James Revillini
  • This topic is not resolved
  • WordPress version: 3.5.1

Tags

No tags yet.