English 中文(简体)
交换域会导致错误和断开链接
原标题:Swapping domains causes errors and broken links

我最近交换了我的域名。我把我的新域名指向了托管我文件的主机DNS。我添加了子域,并将正确的根目录指向每个子域。所以这么好。我浏览了主域和所有子域,它们都显示了我的内容但是我现在看不到我的标题,布局不同,我所有子域上的所有链接都断开了。。。这里发生了什么?我哪里出了问题,我需要做什么?

Also, the main domain is programmed in Drupal (CMS) all links work perfectly and layout displays correctly. All sub domains links are still pointing to my old domains.

这是我的新域名

主域-http://bit.ly/kvqEEL(所有工作)

Amstaff-http://bit.ly/kB9tx0(链接断开,横幅/标题未显示和布局问题)

请帮忙。。。。任何意见或帮助都将不胜感激!!!

我不是程序员,回复时请记住。。。。提前感谢!

问题回答

看起来您缺少一些样式表。仔细检查以确保所有样式表都正确连接。

此外,您的URL根是http://amstaff.pedigrees.co/而您的大部分内容都链接到http://amstaff.virtualpedigrees.com/-您需要将代码中的所有引用更新到新的根目录。

代码中的所有链接都指向.com,但您的域现在是.co,这些路径都需要更新。如果你的电脑上有网站代码,你可以尝试在项目范围内进行搜索,并将其从“amstaff.virtualpedigrees.com”替换为“amstaff.virtulpedigrees.co”。





相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签