HTML链接无效。输出“您的连接不是私密的”

时间:2016-06-04 19:28:00

标签: jquery html css hosting

我目前正在尝试设置指向我网站投资组合部分的链接。 每当我尝试点击链接并访问我的投资组合部分的任何项目时,我都会收到此输出:您的连接不是私密的。当我在Firefox中查看高级详细信息时,我也收到此错误:

  

NET :: ERR_CERT_COMMON_NAME_INVALID

我在Firefox支持论坛中搜索了旧的堆栈帖子和一些问题,但解决方案目前没有帮助我。当我尝试从另一台计算机访问网站上的项目时,结果是一样的。

HTML代码:

 <section class="no-padding" id="portfolio">
        <div class="container-fluid">
            <div class="col-lg-12 text-center" id ="port">
                    <h2 class="section-heading" id="portfolio-title">Portfolio</h2>
                    <p>Here you can observe some of my accomplished projects and fork me on GitHub. ;) </p>
                </div>
            <div class="row no-gutter">
                <div class="col-lg-3 col-sm-6">
                    <a href="https://www.wickeddevs.net/2" class="portfolio-box">
                        <img src="img/portfolio/1.jpg" class="img-responsive" alt="" id="box-one">
                        <div class="portfolio-box-caption">
                            <div class="portfolio-box-caption-content">
                                <div class="project-category text-faded">
                                    Band Website
                                </div>
                                <div class="project-name">
                                    Lelahell Personal Website
                                </div>
                            </div>
                        </div>
                    </a>
                </div>
                <div class="col-lg-3 col-sm-6" >
                    <a href="www.wickeddevs.net/faded" class="portfolio-box">
                        <img src="img/portfolio/2.jpg" class="img-responsive" alt="" id ="box-two">
                        <div class="portfolio-box-caption">
                            <div class="portfolio-box-caption-content">
                                <div class="project-category text-faded">
                                    Barbershop Website
                                </div>
                                <div class="project-name">
                                   FADED
                                </div>
                            </div>
                        </div>
                    </a>
                </div>
                <div class="col-lg-3 col-sm-6">
                    <a href="https://www.wickeddevs.net/1" class="portfolio-box">
                        <img src="img/portfolio/3.jpg" class="img-responsive" alt="" id ="box-three">
                        <div class="portfolio-box-caption">
                            <div class="portfolio-box-caption-content">
                                <div class="project-category text-faded">
                                    Data Entry Start up
                                </div>
                                <div class="project-name">
                                    Go Progression
                                </div>
                            </div>
                        </div>
                    </a>
                </div>
                <div class="col-lg-3 col-sm-6">
                    <a href="https://github.com/ZombieChowder11" class="portfolio-box">
                        <img src="img/portfolio/4.jpg" class="img-responsive" alt="" id="box-four">
                        <div class="portfolio-box-caption">
                            <div class="portfolio-box-caption-content">
                                <div class="project-category text-faded">
                                    Github
                                </div>
                                <div class="project-name">
                                    My other backend web projects<br>
                                    can be found on my github account.
                                </div>
                            </div>
                        </div>
                    </a>
                </div>
            </div>
        </div>
    </section>

我认为这可能是我应该尝试从我的C-panel修复但我不太确定。感谢您的帮助!

1 个答案:

答案 0 :(得分:1)

我发现了问题所在。我的投资组合项目托管在同一个域中,当我尝试访问它们时,我会两次写出我的网站名称,从而产生安全错误。我通过简单的写作来解决:

 <a href="/2" target="_blank" class="portfolio-box">

这只会重定向到我的主域名中的文件夹。