Post by bakku » Fri Jan 24, 2014 1:09 am

Buna ziua, vreau ca Google sa nu indexeze o pagina de produs anume (din motive de SEO) si nu stiu cum sa procedez, in sensul poti pune meta tag noindex dar e valabil atunci pentru tot site-ul si nu vrem asta.

Din robots.txt nu am reusit sa pun decat un folder intreg, si , iarasi nu asta cautam :)
Va multumesc anticipat pentru ajutor.

Newbie

Posts

Joined
Wed Jan 30, 2013 2:28 am

Post by florinsith » Fri Jan 24, 2014 2:39 am

Incearca:

Code: Select all

Disallow: /*&product_id=x
unde pui idul produsului in loc de x.
Sau daca ai seo urluri pui direct

Code: Select all

Disallow: /seo-urlul-produsului

Image
My Extensions - SuperTheme - Opencart templates - Opencart modules


User avatar
Expert Member

Posts

Joined
Fri May 14, 2010 2:36 am


Post by bakku » Fri Jan 24, 2014 5:01 pm

Multumesc pentru raspunsul prompt ^-^ ^-^ ^-^

Produsul are seo url: http://www.casa-plantelor.ro/remediul-faraonilor-100539

Asa arata robots.txt
-----

User-agent: *
Disallow: /remediul-faraonilor-100539

-----

am incercat pe 3 testere diferite si 2 imi spun ca am eroare :
WARNING: The tool has found some directory paths that don't include a trailing slash character.
Since a missing trailing slash can be both a deliberate decision or an error, and since this tool can't ipotize the real intentions of the webmaster, here follow some clarifications that could prevent a potential problem:

The following command will disable just the directory "private" and all its contents:
Disallow: /private/

...while the following command will disable both the "private" directory and any file or directory path starting with the text "/private" (so "/private-eye.html", "/privateroom/page.html", etc.):
Disallow: /private

Please be sure to use the correct syntax, according to your needs.

si al 2-lea tester :
Disallow: /remediul-faraonilor-100539/
The line below must be an allow, disallow, comment or a blank line statement.
Poate e nevoie de o extensie gen .html ......
Multumesc si astept raspuns.

Newbie

Posts

Joined
Wed Jan 30, 2013 2:28 am

Post by florinsith » Fri Jan 24, 2014 9:30 pm

...while the following command will disable both the "private" directory and any file or directory path starting with the text "/private" (so "/private-eye.html", "/privateroom/page.html", etc.):
Disallow: /private
pare sa fie ok, il blocheaza, ca sa fii sigur ai putea adauga .html la sfarsitul cuvantului seo din admin.
Insa exista posibilitate ca google tot sa-l indexese, testeaza si in google, pina la urma cred ca metoda cu meta tag ar fii cea mai buna.

In admin, poti duplica modulul featured, dar doar pentru a te folosii de formularul lui de adaugare produse, adaugi produsele la care vrei tagul acolo, apoi in header.tpl afisezi tagul doar daca idul produsului exista in sirul de iduri pe care le introduci in admin (in clona lui featured).

Image
My Extensions - SuperTheme - Opencart templates - Opencart modules


User avatar
Expert Member

Posts

Joined
Fri May 14, 2010 2:36 am

Who is online

Users browsing this forum: No registered users and 9 guests