TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Should we take our dev's advice?

1 点作者 swandive超过 10 年前
I am not a coder, and I would like to get HN’s advice.<p>Our website is a marketplace for digital downloads. The entire system is built on Laravel, and we’re currently looking into options for adding in a blog and tutorial section that will require a CMS.<p>That said, our dev is recommending that we use Craft (https:&#x2F;&#x2F;buildwithcraft.com&#x2F;) as the CMS for the blog, tutorials, and for the rest of the site. We&#x27;ll then move the Laravel system that handles our user system and products into a subdomain. It would look something like browse.oururl.com instead of oururl.com&#x2F;browse.<p>He said the only other option is to hack something together using Laravel Bootstrap, (https:&#x2F;&#x2F;github.com&#x2F;davzie&#x2F;laravel-bootstrap) or something similar, for handling the blog and tutorials. The drawback is that it wouldn&#x27;t be as robust.<p>Should we be concerned about using a subdomain for this purpose? Will there be any performance issues? SEO issues? Low T issues?<p>Maybe we’re making a mountain out of an ant nipple, but it&#x27;s hard not being a coder and not knowing any better. I though I’d ask HN’s advice before giving the go ahead.<p>Thank you in advance for your advice.<p>-T

2 条评论

smt88超过 10 年前
Moving content from one URL to another is going to create SEO issues. The issues aren&#x27;t permanent, but if you rely on search traffic for cashflow, you just can&#x27;t do it.<p>It&#x27;s possible (but not necessarily as performant) to have your Craft code running at oururl.com&#x2F;blog and oururl.com&#x2F;tutorial, but your Laravel code running at your other URLs. It really just depends on how your server is configured (and which server you&#x27;re using).<p>Generally speaking, I think there are reasons to use subdomains (addressing different regions perhaps, definitely when running a different SaaS codebase).<p>For your purposes, I don&#x27;t see a good reason to use a subdomain, and it does add a little complexity related to configuration, cookies, SSL certs, and user perception.
评论 #9011405 未加载
评论 #9011390 未加载
cauterized超过 10 年前
You should be able to run both pieces in different environments and set up a reverse proxy to offer them at different paths under the same domain.