最近看到有些大神,利用大量解析二级域名做灰词排名,也想试试,奈何站群系统都挺贵,免费的没找到好用的。就利用一下本办法吧。思路如下:
1.首先使用火车头(修改保存的html模板即可),或者水淼单页生成系统,可以批量生成大量单页面。因为我发现这些大神做的页面也就是个单页,而且都非常简单的单页面。主要是做排名,页面不重要。
2.利用二级域名批量生成器,生成一批二级域名名称,保存待用。
3.把第一步当中的单页面,使用bat工具,把html页面逐一复制到一个文件夹当中,参考:http://www.seobiji.cn/vps/3016.html
4.使用bat,批量修改这些文件夹名称,并把文件夹内的html文件名修改为index.html
<# : cls&echo off&cd /d "%~dp0"&rem 编码ANSI powershell -NoProfile -ExecutionPolicy bypass "[IO.File]::ReadAllText(\"%~f0\",[Text.Encoding]::GetEncoding('GB2312'))|Invoke-Expression" pause exit #> $newnamelist=@" 新名称1 新名称2 新名称3 …… 新名称10000 "@; $arr=$newnamelist.trim() -split '[\r\n]+'; $folders=@(dir -literal "."|?{$_ -is [System.IO.DirectoryInfo]}); for($i=0;$i -lt $folders.length;$i++){ if($i -lt $arr.length){ write-host ($folders[$i].Name+' --> '+$arr[$i]); $files=@(dir -literal $folders[$i].FullName|?{('.html' -eq $_.Extension) -and ($_ -is [System.IO.FileInfo])}); if($files.length -ge 1){ $newbase='index'+$files[0].Extension; if($files[0].Name -ne $newbase){ $newfile=$files[0].Directory.FullName+'\'+$newbase; move-item -literal $files[0].FullName $newfile -force -ErrorAction SilentlyContinue; } } $newfolder=$folders[$i].Parent.FullName+'\'+$arr[$i]; move-item -literal $folders[$i].FullName $newfolder -force -ErrorAction SilentlyContinue; } }
5.批量解析一下域名
转载请注明:郑州SEO优化_郑州网站优化 » 利用bat批量创建站群思路和方法