Is it worth to redirect images folder through .htaccess even if changes done in path to show on front end?

Is it worth to redirect images folder through .htaccess even if changes done in path to show on front end? - .htaccess files are extremely useful in many cases for users who either do not have root permissions or for users who simply aren't comfortable in making changes in their web server's configuration file. Trying to debug .htaccess not working isn't always the easiest thing to do, however, hopefully by checking the discuss below mentioned about seo, htaccess, images, , .htaccess common problems as well as the troubleshooting tips, you'll have a better grasp on what you may have to modify to get your .htaccess file running smoothly.Problem :


I am considering to move my images from folder site/userimages to subfolder site/images/userimages.



The changes will be done in PHP files regarding the path change so that images do continue to show up on the main board of the site, however is it well reqd to show to search engines that the path folder is changed.



I mean as the images will keep on contuing to show on the front end of the page.
Is it also important to let search engines know that the folder has moved to a subfolder in the site through .htaccess redirect.



Note: the images are well indexed by search engines.


Solution :

If the URL for the images have changed you will need to do a 301 redirect to tell the search engines where their new location is if you wish to preserve their rankings (and all other SEO factors associated with them like links, etc). Images are no different than web pages. They are all documents to the search engines and the same rules apply.


Additionally, if you would like to do some further testing, give the htaccess tester tool a try. It allows you to specify a certain URL as well as the rules you would like to include and then shows which rules were tested, which ones met the criteria, and which ones were executed.

Comments

Popular posts from this blog

Rewrite in Mediawiki, remove index.php, .htaccess

.htaccess rewrite wildcard folder paths from host

Using .htaccess to set a cookie and 301 redirect