Zadejte hledaný výraz...
Jakub Glos
Webtrh.cz
Vývoj webových stránek na WordPressu a proklientský přístup pro freelancery
Třídenní infromacemi nabitý prezenční + online kurz v Praze od Webtrhu pouze za 2 871 Kč
Více informací

Duplicita stránek v Joomle

Jan Pokorný
verified
rating uzivatele
(36 hodnocení)
2. 4. 2013 18:46:39
Zdravím,
potřeboval bych se poradit ohledně duplicity stránek. Inzerent požadoval, aby jeho odkaz byl jen na homepage.
Nyní mu to ale ukazuje 107 stránek, na kterých se mu odkaz zobrazuje.
homepage je www.poker-centrum.cz
a další stránky, které bere jako stejné jsou např. tyto:
http://www.poker-centrum.cz/titan-poker/titan-poker-freeroll-turnaje/21-uvodni-stranka.html
http://www.poker-centrum.cz/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php
http://www.poker-centrum.cz/titan-poker/titan-poker-maui-jackpot-turnaje/21-uvodni-stranka.html
http://www.poker-centrum.cz/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php
http://www.poker-centrum.cz/titan-poker/titan-poker-rio-jackpot-sng-turnaje/21-uvodni-stranka.html
http://www.poker-centrum.cz/index.php/index.php/index.php/index.php/index.php/index.php/freeroll-monitor.html
http://www.poker-centrum.cz/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/uvodni-stranka.feed
http://www.poker-centrum.cz/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/uvodni-stranka.feed?type=atom
Vůbec nechápu, kde se berou, mám jen nastavené hezké URL bez toho .php na konci, ale v tom problém asi nebude.
2. 4. 2013 18:46:39
https://webtrh.cz/diskuse/duplicita-stranek-v-joomle/#reply885882
Martin Balko
verified
rating uzivatele
2. 4. 2013 18:48:53
nastavoval si aj robots.txt? niekde som videl riešenie duplicity v joomle nastavením robots.txt, žiaľ neviem ako presne ho treba pozmeniť
---------- Příspěvek doplněn 02.04.2013 v 18:51 ----------
pardon nie robots ale .htaccess :) aspon vidno aké mám technické znalosti :D
2. 4. 2013 18:48:53
https://webtrh.cz/diskuse/duplicita-stranek-v-joomle/#reply885881
Bossini
verified
rating uzivatele
(3 hodnocení)
2. 4. 2013 19:00:05
Několik možných chyb:
- přejmenoval jsi htaccess.txt na .htaccess?
- jestli ano zkus přidat řádek RewriteRule ^index.php.? /? k odstranění těch index.php/neco
- i když ani to ti nepomůže tak zkus nainstalovat sh404 a v konfiguraci dát default index file
Jestli ti něco z toho pomůže, pak v google webmaster můžeš zažádat o odstranění těch duplicit, jestli nepomohlo tak napiš verzi joomly a komponenty.
2. 4. 2013 19:00:05
https://webtrh.cz/diskuse/duplicita-stranek-v-joomle/#reply885880
Jan Pokorný
verified
rating uzivatele
(36 hodnocení)
2. 4. 2013 19:02:03
Díky za tip. V .htaccess mám ohledně index.php toto:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|.php|.html|.htm|.feed|.pdf|.raw|/*)$
RewriteRule (.*) index.php
RewriteRule .* -
Poradil by někdo, jak to opravit, aby to nedělalo nekonečné smyčky?
Stejně to ale asi nevysvětlí, proč tato stránka:
http://www.poker-centrum.cz/titan-poker/titan-poker-freeroll-turnaje/21-uvodni-stranka.html
se tváří jako homepage
---------- Příspěvek doplněn 02.04.2013 v 19:03 ----------
A tohle čtu až po té mé zprávě, takže jdu na to.
Napsal Bossini;931563
Několik možných chyb:
- přejmenoval jsi htaccess.txt na .htaccess?
- jestli ano zkus přidat řádek RewriteRule ^index.php.? /? k odstranění těch index.php/neco
- i když ani to ti nepomůže tak zkus nainstalovat sh404 a v konfiguraci dát default index file
Jestli ti něco z toho pomůže, pak v google webmaster můžeš zažádat o odstranění těch duplicit, jestli nepomohlo tak napiš verzi joomly a komponenty.
2. 4. 2013 19:02:03
https://webtrh.cz/diskuse/duplicita-stranek-v-joomle/#reply885879
Martin Balko
verified
rating uzivatele
2. 4. 2013 19:22:53
nasiel som odkaz s pomocou ktoreho som to nastavoval aj ja: http://www.joomlaportal.cz/index.php/forum/37-joomla-1-5-stable/58557-stranky-s-www-a-bez-a-nasledna-duplicita-obsahu
2. 4. 2013 19:22:53
https://webtrh.cz/diskuse/duplicita-stranek-v-joomle/#reply885878
Jan Pokorný
verified
rating uzivatele
(36 hodnocení)
10. 4. 2013 16:13:11
Tak jsem zatím nepokročil.
Mám .htaccess, v něm asi to hlavní je toto:
## End of deny access to extension xml files
RewriteCond %{QUERY_STRING} mosConfig_{1,21}(=|%3D)
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*(.*)
# Block out any script that includes a
Pro odpověď se přihlašte.
Přihlásit