远程子域网址屏蔽

编程入门 行业动态 更新时间:2024-10-28 02:34:08
本文介绍了远程子域网址屏蔽的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

二Magento的基础的问题在这里,我就是pretty的信心我能找到我的答案。我所拥有的已经是的站点承载:

Second magento based question here, and i'm pretty confident i'll be able to find my answer. What i have is a site already hosted at:

hostedwebsite

但是,主机不支持InnoDB的,所以我无法在其上运行的Magento。正因为如此,子域...

However, the host doesn't support innodb, so i'm unable to run magento on it. Because of this, the subdomain...

shop.hostedwebsite

...现在设置在CNAME和A记录指向我自己的主机的IP地址。事情在我的主机的网站也会进行排序。一切加载完全按计划进行。但是它保持基本文件结构从我的服务器。所以,如果你在店里子域中输入你去到正确的页面,但它给人的网址...

...is now set up in CNAME and A record to point to the ip of my own host. Things on my hosts site are sorted as well. Everything loads exactly as planned. However it's keeping the base file structure from my server. So if you type in the shop subdomain you go to the right page, but it gives the url...

myserver/work/newshop

...。

我有一个去试图弄清楚这一点我自己,我甚至检查与主域名和托管的支持,但他们无法弄清楚要么说我应该尝试.htaccess文件自定义code。但是我想我会问这里,因为你们可能会认识很多比我更好的。

I've had a go at trying to figure this out myself, i even checked with the support for the main domain and hosting, however they couldn't figure it out either and said i should try a .htaccess file with custom code. However i thought i'd ask here, as you guys will probably know a lot better than me.

我要对这个权利?有没有办法屏蔽的网址,以便它显示了店子域?

Am i going about this right? IS there a way to mask the url so that it shows the shop subdomain?

推荐答案

检查系统的存储配置>配置常规/ Web选项卡上。这家商店的网址应该指出的子域名。你也可以查看在core_config_data表中MySQL和手动更改网址。

Check your store configuration in System > Configuration on the General / Web tab. The store URLs should be pointed to the sub domain. You could also check in the core_config_data table in MySQL and change the URLs manually.

更多推荐

远程子域网址屏蔽

本文发布于:2023-10-31 19:25:13,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1547048.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:屏蔽   域网

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!