Jump to content
Dragos

generare keyword-uri

Recommended Posts

  • Moderators
Posted

M-a rugat un prieten in seara asta sa-l ajut cu un script de generare de keyworduri pentru seo.

In scriptul de mai jos aveti doua campuri, lista 1 de cuvinte si lista 2 de cuvinte. Fiecare cuvant se trece pe linie noua. Spre exemplu

Lista 1

masini second hand

jaluzele

Lista 2

brasov

bucuresti

pitesti

constanta

Scriptul ia fiecare cuvant din lista a doua si il combina cu cuvantul din lista 1. Daca in lista 2 exista o sintagma (mai multe cuvinte), scriptul muta cuvantul din lista 2 pe langa fiecare cuvant din lista 1.

Spre exemplu, rezultatul la ce e sus

brasov masini second hand

masini brasov second hand

masini second brasov hand

masini second hand brasov

bucuresti masini second hand

masini bucuresti second hand

masini second bucuresti hand

masini second hand bucuresti

pitesti masini second hand

masini pitesti second hand

masini second pitesti hand

masini second hand pitesti

constanta masini second hand

masini constanta second hand

masini second constanta hand

masini second hand constanta

jaluzele brasov

brasov jaluzele

jaluzele bucuresti

bucuresti jaluzele

jaluzele pitesti

pitesti jaluzele

jaluzele constanta

constanta jaluzele

<form action="" method="post">
<table>
<tr><td>Lista 1 de cuvinte</td><td><textarea name="lista1" style="width:500px;height:300px"><?php echo $_POST['lista1']; ?></textarea></td></tr>
<tr><td>Lista 2 de cuvinte</td><td><textarea name="lista2" style="width:500px;height:300px"><?php echo $_POST['lista2']; ?></textarea></td></tr>
</table>
<input type="submit" value="Fa">
</form>
<?php
echo "<br /><br />";
$lista1 = explode("\n",$_POST['lista1']);
$lista2 = explode("\n",$_POST['lista2']);
for($i=0;$i<=count($lista1)-1;$i++)
{
for($j=0;$j<=count($lista2)-1;$j++)
{
$l1 = trim($lista1[$i]);
$l2 = trim($lista2[$j]);
if(stristr($l1," "))
{
$l1 = explode(" ",$l1);
for($q=0;$q<=count($l1)-1;$q++)
{
for($x = 0; $x <= count($l1)-1;$x++)
{
if($x == $q){
echo $l2 . " " . $l1[$x] . " ";
}else{
echo $l1[$x] . " ";
}
}
echo "<br />";
}
$l11 = implode(" ", $l1);
echo $l11 . " " . $l2 . "<br />";
}else{
echo $l1 . " " . $l2 . "<br />";
echo $l2 . " " . $l1 . "<br />";
}
}
}
?>

Posted
spanzura-te KebabAustriac.

Vezi ca scrapebox-ul are un modul fix pentru keyworks , la fel si hrefer-ul (am impresia)

Dap si in plus, poti sa faci acelasi lucru cu Keyword Planner, ai 2 fisiere cu keyword-uri si el iti face mutarile.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...