I have an Umbraco site that runs live on windows server/ iis 7. it has the domain of http://subsite.somedomain.com. so far so good...
For some reasons(probably SEO), we have redirected the site to another url from another site so that the site is available from the Url http://shop.somedomain.com
i have tried to change the path of Umbraco's media filelocation to an absolute path, in the /Config/FileSystemProviders config file. but without succes.
so i would be awesome if anyone could help me with : am i one the right track with changing medias filelocation or do i need to do something else to make it work ?
Hi Christoffer.
It doesn't sound like you are redirecting (301) to the new site, but it actually sounds like you are using two different live url's for the same site.
I terms of canonical url's, I think that most search engines doesn't like that on site/page can have multiple different url's. More about canonical url's: https://moz.com/learn/seo/canonicalization
site redirected media 404
Hey.
I have an Umbraco site that runs live on windows server/ iis 7. it has the domain of http://subsite.somedomain.com. so far so good...
For some reasons(probably SEO), we have redirected the site to another url from another site so that the site is available from the Url http://shop.somedomain.com
That is all good and i can open the site with the Url http://shop.somedomain.com, but the problem on this url is, that when getting all the media files from the umbraco server it uses the url http://shop.somedomain.com/media/1577/picture.jpg which does not exist because the media files is located at http://subsite.somedomain.com/media
i have tried to change the path of Umbraco's media filelocation to an absolute path, in the /Config/FileSystemProviders config file. but without succes. so i would be awesome if anyone could help me with : am i one the right track with changing medias filelocation or do i need to do something else to make it work ?
Regards Christoffer
Hi Christoffer. It doesn't sound like you are redirecting (301) to the new site, but it actually sounds like you are using two different live url's for the same site.
I terms of canonical url's, I think that most search engines doesn't like that on site/page can have multiple different url's. More about canonical url's: https://moz.com/learn/seo/canonicalization
https://webmasters.googleblog.com/2009/12/handling-legitimate-cross-domain.html?m=1
You should probably do a 301 redirect from shop.somedomain.com to subside.somedomain.com, which will then automatically fix your problem.
Hope this helped.
Take care!
is working on a reply...