On the_Load page, I need to run the code to check the URL format. URLs can have the following formats:
http://www.xyzabc.com/DisplayProduct?ID=230 or
http://www.xyzabc.com/DisplayProduct?ID=230&blahblah or
http://www.xyzabc.com/S(yya4h4rf4gjh5eo4uazix2t055)X(1))/DisplayProduct?ID=230
Whenever the url has an identifier, I want to create a URL in the following format:
http:
Since the code will be run for each page (1500+) on the site, how can I write the best optimized code?
source
share