我正在尝试为从 domain.com 到 dev.domain.com 的开发目的创建一份 prestashop 1.6 电子商店的副本
I am trying to create a copy of a prestashop 1.6 e-shop for development purposes from domain.com to dev.domain.com
我遵循的过程是
现在的问题是,当我打开 dev.domain.com 时,我仍然被重定向到 domain.com,我不知道接下来要尝试什么.
Now the problem is that when I open dev.domain.com i still get redirected to domain.com and I'm at a loss as to what to try next.
在 devdb 中的 phpmyadmin 中搜索 domain.com 没有结果grep -ri 'domain.com' * 也不会在文件中产生结果
Searching for domain.com in phpmyadmin in the devdb doesn't yield results grep -ri 'domain.com' * doesn't yield results either in the files
有什么建议我接下来可以尝试吗?
Any suggestions what I can try next?
PS:domain.com 和 dev.domain.com 是两个不同的域.反正不一样
PS: domain.com and dev.domain.com are two different domains. Not similar in anyway
首先,您能以正确的方式执行每一步是很棒的.现在的问题是:-
First of all it's great that you follow each step in correct manner. Now the problem is:-
当您在浏览器上运行任何域时.浏览器为此创建缓存和 cookie.如果您更改您的域的任何设置,它不会反映,直到您没有完全清除浏览器缓存和 cookie.
When ever you are running any domain on your browser. Browser create cache and cookie for this. If you change any setting of your domain, it will not reflect till you not clear your browser cache and cookie completely.
所以只需删除您的浏览器缓存和 cookie 并尝试检查它是否有效.
So just remove your browser cache and cookie and try to check is it working or not.
注意:- 根据您遵循的流程,似乎存在唯一的问题.
Note:- Based on your process that you follow, this only problem seems to exist.
这篇关于Prestashop 在数据库中更改后重定向到旧域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!