WordPress.org

Forums

Simple 301 Redirects
suggestion for URL matching (1 post)

  1. James Revillini
    Member
    Posted 2 years 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

  • Simple 301 Redirects
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

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

Tags

No tags yet.