WordPress.org

Ready to get started?Download WordPress

Forums

Redirection
Redirection search and replace substring (1 post)

  1. AlreadySetUp
    Member
    Posted 3 years ago #

    I just thought I would share this...

    I needed to search the incoming URL for certain strings and then forward accordingly. In my case the strings were SKU numbers and/or product names. Here is the source code for that source box when searching for ABC123Product (don't forget to check the regex box):

    .*((?i)ABC123Product).*

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic