I cannot figure out how to replace a string in a htaccess file. I need to change all of the urls on the site, currently they are formatted like this.
site.com/218-111-home/straight-black-mid-length-ladies-purse.jpg
and I need to redirect them to targets like this:
site.com/111-home/straight-black-mid-length-ladies-purse.jpg
I have tried for the life of me to get it to work, but I basically do not know how to take off the first three numbers after the domain and the -
Regex has beaten me.
218-111-home/to be redirected to111-home/changing their browser address, or just be sent internally and silently to content at111-home/? If you mean to physically change the links in your content, Apache URL rewriting can't actually do that...