Shan
💖 Chevereto Fan
Okay, so I own two image hosting websites.
Uplo4d.com and Imagize.me
Both ARE running chevereto 2.1.
In the .htaccess;
This desermines the location of the old file, and where the new one is located. Now both my websites are on the same host.
Just for example, "upload" is located at 'public_html/randomlocation/uplo4d/' and "Imagize" is located at 'public_html/randomlocation/imagize.me/'.
I wish to merge the two websites. Simply put, I wish ALL of the older images to be redirected to the new location at Imagize.
I know how to redirect the entire website (By simply using 301 redirect), but how would I achieve this using the form above. As I cannot define the root of the domain using this rewrite (if I change the value "/images/old/" above to "./randomlocation/imagize.me/images/old/" the image isn't located.
Anyone got an idea? If the understand that I'm trying to get at.
tldr version
Want to change the RewriteRule above to redirect the location of the older image file (/images) to the new location (/images/old) which is located on a new domain (/public_html/randomlocation/otherdomain/images/old) which is on the same server.
Thanks in advance,
~Shabs
Uplo4d.com and Imagize.me
Both ARE running chevereto 2.1.
In the .htaccess;
Code:
RewriteRule ^images/(\w*\.)(jpg|png|gif)$ /images/old/$1$2 [L] #legacy images
This desermines the location of the old file, and where the new one is located. Now both my websites are on the same host.
Just for example, "upload" is located at 'public_html/randomlocation/uplo4d/' and "Imagize" is located at 'public_html/randomlocation/imagize.me/'.
I wish to merge the two websites. Simply put, I wish ALL of the older images to be redirected to the new location at Imagize.
I know how to redirect the entire website (By simply using 301 redirect), but how would I achieve this using the form above. As I cannot define the root of the domain using this rewrite (if I change the value "/images/old/" above to "./randomlocation/imagize.me/images/old/" the image isn't located.
Anyone got an idea? If the understand that I'm trying to get at.
tldr version
Want to change the RewriteRule above to redirect the location of the older image file (/images) to the new location (/images/old) which is located on a new domain (/public_html/randomlocation/otherdomain/images/old) which is on the same server.
Thanks in advance,
~Shabs