【问题标题】:I'm losing my domain, is there any way I can redirect to new website?我失去了我的域名,有什么办法可以重定向到新网站?
【发布时间】:2020-07-20 00:07:20
【问题描述】:

因此,在运行 www.unixnerd.demon.co.uk 25 年后,我必须将其更改为 www.unixnerd.co.uk,因为 Vodaphone 正在抛弃所有旧的 Demon 用户。该网站是互联网上最古老的 BMW 资源之一,拥有大量链接和良好的页面排名。

请原谅我的无知,但有什么方法可以将流量重定向到新站点,而无需托管旧域名?

如果这个问题不合适并且有人取消了它,请给我一些指导以正确地重新发布它。我对这方面知之甚少。

【问题讨论】:

    标签: redirect web-hosting http-redirect


    【解决方案1】:

    遗憾的是,我没有看到保留您的域的解决方案。这是构建页面以重定向到您的网站的相关代码。

    <!DOCTYPE html>
    <html>
    <head>
        <meta http-equiv="Refresh" content="10;URL=http://www.unixnerd.co.uk">
        <meta charset="UTF-8">
        <title>NEW ADDRESS</title>
        <meta name="description" content="Our site has moved to a new address. Please note the change of address." >
    
        <!-- Mobile Specific Meta -->
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <!--[if IE]><meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'><![endif]-->
    
        <link href='http://fonts.googleapis.com/css?family=Noto+Sans:400,700' rel='stylesheet' type='text/css'>
    
        <style>
    
            body{
                font-family: 'Noto Sans', Arial, serif;
                font-weight: 400;
                -webkit-font-smoothing:antialiased;
                -moz-osx-font-smoothing:grayscale;
                line-height: 1.618em;
                background: #464646 url('car1.jpg') center center no-repeat fixed;
                background-size: cover;
            }
            h2{
                font-family: 'Noto Sans', Arial, serif;
                font-weight: 700;
                font-size:40px;
                line-height: 1.618em;
            }
            section{
                max-width:800px;
                margin:8% auto 1em auto;
                background-color:#222;
                opacity: 0.8;
                filter: alpha(opacity=80); /* For IE8 and earlier */
                color:#fff;
                padding:1em 5%;
            }
    
            a{
                color: #00CC66;
            }
            a:focus{
                outline:none;
                outline-offset:inherit;
            }
            @media (max-device-width: 1027px) {
    
                body{
                    text-align:center;
                    font-size:larger;
                }
                section{
                    max-width: 90%;
                }
    
            }
    
            @media (max-device-width: 640px) {
                section{
                    max-width: 97%;
                }
    
            }
    
    
        </style>
    </head>
    <body>
    
    <section>
        <h2>Our Site has moved!</h2>
    
        <h3>The service you want to use can be reached at <a href="www.unixnerd.co.uk">www.unixnerd.co.uk</a></h3>
        <h3>...You will be transferred to the new site in a moment...</h3>
    
        <p>If you have waited more than a few seconds and you are still seeing this message, please click on the link above! Thank you.</p>
    </section>
    
    </body>
    </html>
    

    注意事项* 1.从https://www.pexels.com/search/website%20background/下载图片 2.把图片和你的索引文件放在同一个目录下(这个html代码所在的地方) 3. 在样式标签下,查找

                font-family: 'Noto Sans', Arial, serif;
                font-weight: 400;
                -webkit-font-smoothing:antialiased;
                -moz-osx-font-smoothing:grayscale;
                line-height: 1.618em;
                background: #464646 url('car1.jpg') center center no-repeat fixed;
                background-size: cover;
            }
    

    并改变 background: #464646 url('car1.jpg') center center no-repeat fixed;

    到您下载的图片文件的名称及其扩展名。

    这应该会在十秒内自动重定向到您的页面,并且仍应保持专业诚信。

    【讨论】:

      【解决方案2】:

      如果域仍然有效,您可以添加一个页面作为索引,说明您的站点已迁移到带有链接的新域名。如果这是您想要走的路线,我很高兴为您提供该页面以用作此讨论中的索引。至于页面排名,您的网站应该已经有了不错的页面排名减去流量。积极查看您的网站并看到您指向新域名的链接的人将帮助您重新获得牵引力并帮助您在搜索排名中获得更高的分数。编辑:我访问了您的网站,该网站很快将被弃用,需要提及的几件事是您想要添加 SSL 票证并使用更好的布局实践来获得更高的搜索排名。您现在还有时间添加索引页面以将流量重定向到您的新网站。

      【讨论】:

      • 感谢您的帮助,该网站在许多地方都显示它的年龄。自 1996 年以来一直在运行。遗憾的是,我将无法再长时间访问原始域,不过我很快就会重定向到新站点。 5 月之后无法访问旧域是我的大问题。
      猜你喜欢
      • 1970-01-01
      • 2019-11-25
      • 2012-05-01
      • 1970-01-01
      • 2015-12-10
      • 2018-08-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多