Hi all, here's my problem.
In order to do so, i'd like first to do a test on a copy of the site, so i've made a copy of the db and the root, assigned it to a new website on my iis and then changed in app_data de db name.
the original site is for example https://www.sitename.it
the copy i've made is http://test.sitename.it
now, when i call the site name, it gets redirected to a http://www.test.sitename.it, and ofcoruse it doesnt exist and display a "server not found" error.
if i make a new installation, with a new db, it works fine, but as soon as i change db name in settings.txt, it redirect to the www and can't navigate it.
I suspect there's something in the db that i must change,mabye becouse the db is a copy of a different site with a different name, some options (i changed only name in table Store).
what else could i do?
You need to change store url from db table store. Did you do it?
Don't know which nopCommerce version you are using.
I am assuming that your problem is with WWW prefix requirement settings. Go to https://YOUR_STORE/Admin/Setting/GeneralCommon and on the SEO section you will find this setting. You may set Pages should not have WWW prefix or Doesn't matter
i changed store name in table store yesterday but it's still not working
this is the test site
it a copy of this
as i sad if a make a new installation its ok, the url http://new.eurinnova.it works fine.
as soon as i change the db it redirects, as u can see
cant event go to teh admin page
there's any thing i can change on the db directly from sql?
Look for the wwwRequirement in SEO settings (settings table), and set to:
/// Doesn't matter (do nothing)
NoMatter = 0,
/// Pages should have WWW prefix
WithWww = 10,
/// Pages should not have WWW prefix
WithoutWww = 20
Hello, im here again with another problem...
i managed last week to make it work properly. a fully functioning 4.40.4 version with my current db.
Yesterday the site stopped working ,giving this error
HTTP Error 500.30 - ASP.NET Core app failed to start
and in the event viewer there where an error with aspnetcoreV2
I thought i did something wrong, so i did a new installation.
I did a fresh installation of nop4.40.4, with a new db, and its working fine (so u guess that i dont have any problem with my actual .net core version, witch is 5.40)
as soon as i change the db in appsettting.json, i get the above error
what it myght be the problem?
Thx a lot for your help
Please try to set stdoutLogEnabled="true" in web.config file, and then restart the website.
Try to check logs under Logs folder.