Hi folks,
One of my clients has a problem with bad links on some other site, and I'm trying to fix it with an .htaccess redirect. Some of the inbound URLs have a bunch of garbage after the .jpg, e.g. http://www.TheirStore.com/mm5/graphi...h_blah_etc_etc. I just want to trim off everything after the .jpg extension. I figured out the regexp, but I'm having trouble getting the rest of it to work. Can someone give me a couple of lines of code for this please?
Also, if anyone knows of a good .htaccess tutorial on-line, please tell me; I haven't found anything real helpful.
Thanks --
One of my clients has a problem with bad links on some other site, and I'm trying to fix it with an .htaccess redirect. Some of the inbound URLs have a bunch of garbage after the .jpg, e.g. http://www.TheirStore.com/mm5/graphi...h_blah_etc_etc. I just want to trim off everything after the .jpg extension. I figured out the regexp, but I'm having trouble getting the rest of it to work. Can someone give me a couple of lines of code for this please?
Also, if anyone knows of a good .htaccess tutorial on-line, please tell me; I haven't found anything real helpful.
Thanks --
Comment