Thanks - solve an htaccess replace text issue
This is the htaccess rewrite code:
RewriteRule ^images/(.*)$ http://thumbs.ebaystatic.com/pict/$1 [R,L]
No big deal.
Except my web page still shows 123435.jpg which can readily be identified as an eBay image.
What I am doing is changing my SEO link to be: images/12Z4Z5.jpg
(easy enough to do a string replace in php to change every "3" to a "Z" - I am changing every occurrence of "3" in the image name wherever it appears)
This is where I need your help.
How do I add to or change my htaccess rewrite code to change every "Z" back to a "3" wherever it may be in a link so that the correct eBay image is retrieved?
Example: how do I do this in htaccess:
/images/12Z4Z5.jpg retrieves thumbs.ebaystatic.com/pict/123435.jpg
/images/1Z7982.jpg retrieves thumbs.ebaystatic.com/pict/137982.jpg
etc.
$20 payment made via PayPal to first person who can solve this, with me verifying it works on my website.
-
webpro4hire -
Thanks
{{ DiscussionBoard.errors[3183068].message }} -
-
KirkMcD -
Thanks - 1 reply
{{ DiscussionBoard.errors[3183221].message }}-
kindsvater -
Thanks - 1 reply
{{ DiscussionBoard.errors[3183501].message }}-
Brandon Tanner -
Thanks - 1 reply
Signature{{ DiscussionBoard.errors[3184179].message }}-
kindsvater -
Thanks
{{ DiscussionBoard.errors[3184278].message }} -
-
-
-
-
webpro4hire -
Thanks
{{ DiscussionBoard.errors[3184368].message }} -