Timeline for Redirect Image Url to a page via htaccess
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 14, 2015 at 17:53 | vote | accept | TheGuy | ||
Feb 14, 2015 at 17:04 | comment | added | TheGuy | Thank you very much. The problem was solved. I have a pet contest website where users vote on pet photos. Users can also share the Pet photos on social networks. The problem until now was when a user shares a pet photo on Facebook, only the image was shared and not the page. So with your help, I managed to redirect the image to the pet contest page. But now, when the user shares a particular pet photo, the pet-contest page is being shared with the thumbnail of the first pet photo on the page. Can you kindly suggest a workaround for this problem. | |
Feb 14, 2015 at 16:53 | comment | added | TheDeadMedic |
Yes, just use Redirect /wp-content/uploads/file.jpg /page-to-redirect-to
|
|
Feb 14, 2015 at 16:35 | comment | added | TheGuy | Thank you for your help. Is there any way to redirect individual images to 'my-page' instead of the folder itself. | |
Feb 14, 2015 at 16:31 | comment | added | TheDeadMedic | Well yeah, because they redirect to the page. | |
Feb 14, 2015 at 16:06 | vote | accept | TheGuy | ||
Feb 14, 2015 at 16:06 | |||||
Feb 14, 2015 at 15:58 | comment | added | TheGuy | Thank you. That worked. But all the images on the website are broken and not being displayed. | |
Feb 14, 2015 at 15:32 | history | answered | TheDeadMedic | CC BY-SA 3.0 |