1More
1More
7 Conversion Lessons Learned From Eye Tracking - 0 views
1More
Marketers are Operationally Proficient but Strategically Stalled. | - 0 views
1More
How Images Become Viral on Google+ | MIT Technology Review - 0 views
1More
5 Lies Website Conversion Consultants Tell - Get the Truth - 0 views
1More
Build a Conversion Rate Heatmap by Hour & Day of Week in Google Docs | Optimisation Beacon - 0 views
1More
A report on Tag Management System in Top 100 Internet Retailers-Only Web Analytics - 1 views
1 - 15 of 15
Showing 20▼ items per page
For me the regular expression showed up in the excellent Yoast SEO plugin for Wordpress. I needed to redirect a URL that had parameters, like this:
http://conversionsciences.com/conversion-upside-report/?t=10000&v=344&x=250
To do this, I could not use a regular redirect, as everything after the ? would be stripped away. I needed to use a Regular Expression Redirect. However, this sort of thing -- using query parameters -- wasn't covered in any of the Yoast documentation.
This article gave me the hint I needed, and the technique that ended up working. To summarize, I used the following regular expression to match my URL with the parameters:
^\/conversion-upside-report($|\/.*$)
The parentheses save the matching contents into a variable, which I can access using $1 in the new URL, like this:
resources/conversion-rate-optimization-calculator/upside-report/$1
It worked great. Give it a try: http://conversionsciences.com/conversion-upside-report/?t=10000&v=344&x=250
Thanks to Himanshu.