Suppose I wanted my website to have
www.aaa.com/bbbb
www.aaa.com/th/bbbb
The first one is the default language while second one is in Thai. I think I should prepared my folder structure like this :
root
-bbbb
--index.html
--images
-th
--bbbb
---index.html
Now that I copied the index.html
file from /bbbb
folder into /th/bbbb
folder and finished translate it, I realized that all path for images like in <img src=
or url(...
of CSS has been broken because I did not copied the whole bbbb/images
folder with it.
Instead of rewriting every url to go back one step and look for images in /bbbb
folder (that is, prefix every URL with ../bbbb/
) is there more practical way? Because the translated page uses nearly identical images with original ones.
Also for the solution presented, would that impact the SEO of images in any way?