Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Using REGEX characters in Target URL

$
0
0

Replies: 0

Hey,

I am trying to create a redirect on my page that links directly to a specific tab in a Divi Tab Module. The Tab Module has a CSS ID set up which automatically creates an anchor link for each tab (ex: */#events|1) which I can navigate directly to if I type in the anchor link.

My issue is this: I am trying to use your redirection plugin to create a redirect from a specific URL to a specific tab (ex: http://www.xlr8.ac/house-parties -> http://www.xlr8.ac/#events|1). The plugin nearly perfectly follows this redirect, however it removes the “|” symbol from the target URL, apparently treating it as a regex character (bringing me to the link “www.xlr8.ac/#events1”). I have tried to use a back slash (i.e. http://www.xlr8.ac/#events\|1) to negate the regex, however this causes the plugin to simply remove both the “\” and the “|”, again bringing me to the link “www.xlr8.ac/#events1”. Is there anyway to either disable regex characters in the Target URL or to prevent the plugin from removing the “|” character?

Thanks


Viewing all articles
Browse latest Browse all 59525

Trending Articles