Can somebody help me with an image redirect in .htaccess? I need to replace http://www.example.com/wp/folder_changes/6/bg6.png with http://www.example.com/wp/wp-content/uploads/folder_changes/bg6.png The '6' can be any number and any length.
I only have some regular expression experience and came up with this:
\/wp\/(.*)\/(.*)\/bg(\d*).png$
How do you re-assemble it again?
RewriteEngine On
RewriteRule /wp/(.*)/(.*)/bg(\d*).png$ /wp/wp-content/uploads/???/bg???.png
Thanks!