search
HomeBackend DevelopmentPHP Tutorial如何让百度不收录无效的二级域名

大家好,有个问题:假定我的网站的一级域名为 wangzhan.cn,但是发现运营一段时间后,在百度中输入”site:wangzhan.cn“,结果有很多垃圾的二级域名结果,比如 abc.wangzhan.cn,xxx.wangzhan.cn......
我估计是我的网站的域名被人利用了,制造了很多垃圾无效的二级域名,导致百度收录了,但这些垃圾结果在百度中收录会降低本网站的百度排名。
请问,我如何让百度对无效的二级域名不做收录呢?


回复讨论(解决方案)

这个问题,你只有拿到域名管理权限,控制不要解析其它二级域名,这是最根本的办法。

这个问题,你只有拿到域名管理权限,控制不要解析其它二级域名,这是最根本的办法。



谢谢回复!我之前已经在万网DNS控制了,现在无效的二级域名都无法访问,但是还是有收录,点击无效的二级域名进去就是提示找不到服务器,说明是已经控制了的。


这个问题,你只有拿到域名管理权限,控制不要解析其它二级域名,这是最根本的办法。



谢谢回复!我之前已经在万网DNS控制了,现在无效的二级域名都无法访问,但是还是有收录,点击无效的二级域名进去就是提示找不到服务器,说明是已经控制了的。 过段时间就好了,快照更新是要时间的,或者你可以去申诉。



这个问题,你只有拿到域名管理权限,控制不要解析其它二级域名,这是最根本的办法。



谢谢回复!我之前已经在万网DNS控制了,现在无效的二级域名都无法访问,但是还是有收录,点击无效的二级域名进去就是提示找不到服务器,说明是已经控制了的。 过段时间就好了,快照更新是要时间的,或者你可以去申诉。

是么?我等了很久了,还是没见下去,可以申诉啊!




这个问题,你只有拿到域名管理权限,控制不要解析其它二级域名,这是最根本的办法。



谢谢回复!我之前已经在万网DNS控制了,现在无效的二级域名都无法访问,但是还是有收录,点击无效的二级域名进去就是提示找不到服务器,说明是已经控制了的。 过段时间就好了,快照更新是要时间的,或者你可以去申诉。

是么?我等了很久了,还是没见下去,可以申诉啊! 嗯,比如说百度,如果SEO做的不好,几个月才更新都很正常,你点快照,里面有申诉的链接。





这个问题,你只有拿到域名管理权限,控制不要解析其它二级域名,这是最根本的办法。



谢谢回复!我之前已经在万网DNS控制了,现在无效的二级域名都无法访问,但是还是有收录,点击无效的二级域名进去就是提示找不到服务器,说明是已经控制了的。 过段时间就好了,快照更新是要时间的,或者你可以去申诉。

是么?我等了很久了,还是没见下去,可以申诉啊! 嗯,比如说百度,如果SEO做的不好,几个月才更新都很正常,你点快照,里面有申诉的链接。

非常感谢!

百度站长平台有相关功能的,你可以自己提交URL

百度站长平台有相关功能的,你可以自己提交URL


感谢!

跟我们公司遇到的情况一样。两个月了,现在百度权重是1,搜网站名接不到。site:ztjt.com.cn,第二个往后全是垃圾解析,已经打不开了。
楼主的问题解决了吗?求助,我QQ:2803767379.

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
What is the difference between absolute and idle session timeouts?What is the difference between absolute and idle session timeouts?May 03, 2025 am 12:21 AM

Absolute session timeout starts at the time of session creation, while an idle session timeout starts at the time of user's no operation. Absolute session timeout is suitable for scenarios where strict control of the session life cycle is required, such as financial applications; idle session timeout is suitable for applications that want users to keep their session active for a long time, such as social media.

What steps would you take if sessions aren't working on your server?What steps would you take if sessions aren't working on your server?May 03, 2025 am 12:19 AM

The server session failure can be solved through the following steps: 1. Check the server configuration to ensure that the session is set correctly. 2. Verify client cookies, confirm that the browser supports it and send it correctly. 3. Check session storage services, such as Redis, to ensure that they are running normally. 4. Review the application code to ensure the correct session logic. Through these steps, conversation problems can be effectively diagnosed and repaired and user experience can be improved.

What is the significance of the session_start() function?What is the significance of the session_start() function?May 03, 2025 am 12:18 AM

session_start()iscrucialinPHPformanagingusersessions.1)Itinitiatesanewsessionifnoneexists,2)resumesanexistingsession,and3)setsasessioncookieforcontinuityacrossrequests,enablingapplicationslikeuserauthenticationandpersonalizedcontent.

What is the importance of setting the httponly flag for session cookies?What is the importance of setting the httponly flag for session cookies?May 03, 2025 am 12:10 AM

Setting the httponly flag is crucial for session cookies because it can effectively prevent XSS attacks and protect user session information. Specifically, 1) the httponly flag prevents JavaScript from accessing cookies, 2) the flag can be set through setcookies and make_response in PHP and Flask, 3) Although it cannot be prevented from all attacks, it should be part of the overall security policy.

What problem do PHP sessions solve in web development?What problem do PHP sessions solve in web development?May 03, 2025 am 12:02 AM

PHPsessionssolvetheproblemofmaintainingstateacrossmultipleHTTPrequestsbystoringdataontheserverandassociatingitwithauniquesessionID.1)Theystoredataserver-side,typicallyinfilesordatabases,anduseasessionIDstoredinacookietoretrievedata.2)Sessionsenhances

What data can be stored in a PHP session?What data can be stored in a PHP session?May 02, 2025 am 12:17 AM

PHPsessionscanstorestrings,numbers,arrays,andobjects.1.Strings:textdatalikeusernames.2.Numbers:integersorfloatsforcounters.3.Arrays:listslikeshoppingcarts.4.Objects:complexstructuresthatareserialized.

How do you start a PHP session?How do you start a PHP session?May 02, 2025 am 12:16 AM

TostartaPHPsession,usesession_start()atthescript'sbeginning.1)Placeitbeforeanyoutputtosetthesessioncookie.2)Usesessionsforuserdatalikeloginstatusorshoppingcarts.3)RegeneratesessionIDstopreventfixationattacks.4)Considerusingadatabaseforsessionstoragei

What is session regeneration, and how does it improve security?What is session regeneration, and how does it improve security?May 02, 2025 am 12:15 AM

Session regeneration refers to generating a new session ID and invalidating the old ID when the user performs sensitive operations in case of session fixed attacks. The implementation steps include: 1. Detect sensitive operations, 2. Generate new session ID, 3. Destroy old session ID, 4. Update user-side session information.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)