Přihlásit se

Joomla 5.1.0 a Joomla 4.4.4 (17 dub 2024)

Dnes byla uvolněna nová verze Joomla 5.1.0, společně s Joomla 4.4.4. Tato verze přináší spoustu nových funkcí, vylepšení v oblasti bezpečnosti a kódu a díky těmto vylepšením i vyšší rychlost.

Nastavení SEO - hezké URL - nefunguje

24. bře 2012 18:05 #91616
Nastavení SEO - hezké URL - nefunguje od Chcibezpečí.cz
Pokročilý uživatel
Dobrý den
Dnes jsem se odhodlal nainstalovat Joomlu 2.5.3,
V nastavení jsem nastavil URL přátelské k vyhledávačům - ANO
Použít přepis URL - ANO
.htaccess jsem přejmenoval

Od té doby mi nejde web, nemohu z home stránky jinam.
Můžete mi poradit?
www.chciparit.cz

Hosting má mod rewrite -ANO
PHP 5.3
MySQL 5.3
Safe mod - Off

Děkuji za radu

24. bře 2012 18:46 #91618
Odpověď od prontik
Zkušený uživatel
Co vas napadne ve chvili, kdyz neco udelate a ono to nefunguje. ...Asi to vratit do puvodniho stavu.

Proc spousta lidi sotva nainstaluje cistou Joomlu, nainstaluje maximalne jeste cestinu a pak uz hrrrrrrrrrrr do globalniho nastaveni hrabat do URL adres.... Udelejte prve web k obrazu svemu, do SEF se leze az uplne nakonec.

Joomla je jako puzzle. Stačí vědět jak ty dílky k sobě poskládat.

24. bře 2012 18:59 #91619
Odpověď od Chcibezpečí.cz
Pokročilý uživatel
Díky, ale to je odpověď docela k ničemu.
Pochopitelně že potom co mi to přestalo jít, jsem to vrátil zpět, ale nepomohlo.
Pokud htaccess zase přejmenuju na txt, tak mi nejde web vůbec.

Jelikož to nastavení je již na začátku, nevím, proč by se mělo dělat až na konci, to mi není jasné?

Můžu tedy získat nějakou informaci kde se stala chyba a jak ji vyřešit?
To by byla informace, která má nějakou hodnotu a váhu.

Děkuji

24. bře 2012 19:24 #91620
Odpověď od Chcibezpečí.cz
Pokročilý uživatel
tak jsem vypnul češtinu a vše okolo a jde to,
ale jak to tedy udělat?
Mám postavit web, pojmenovat si ho česky a až potom to zapnout?
Bude to fungovat?
Proč to nejde od začátku?

24. bře 2012 20:03 #91622
Odpověď od prontik
Zkušený uživatel
Tak cestinou to urcite nebude, tu klidne muzete zapnout.

Zapnete v globalnim nastaveni pouze URL pratelske k vyhledavacum...... Funguji hezke URL? Predpokladam ze ano.

Takze problem bude po tom zapnuti Prepsat URL. Takze jste nejspis spatne prepsal htaccess, protoze ted jsem to zkusil u sebe na ciste instalaci a vsechno mi v pohode jede.

Udelate mi screen FTP kde uvidim ten .htaccess?

Joomla je jako puzzle. Stačí vědět jak ty dílky k sobě poskládat.

24. bře 2012 20:54 #91624
Odpověď od Chcibezpečí.cz
Pokročilý uživatel
Díky za ochotu
Problém nastane když zapnu volbu POUŽÍT PŘEPIS URL

tady je to .htaccess atributy mám 666
je v původním stavu, jen jsem na začátku nastavil přesměrování domény

RewriteEngine on
RewriteCond %{HTTP_HOST} ^chciparit.cz
RewriteRule (.*) www.chciparit.cz/$1 [R=301,QSA,L]

##
# @package Joomla
# @copyright Copyright (C) 2005 - 2012 Open Source Matters. All rights reserved.
# @license GNU General Public License version 2 or later; see LICENSE.txt
##

##
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE!
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's. If they work,
# it has been set by your server administrator and you do not need it set here.
##

## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

## Mod_rewrite in use.

RewriteEngine On

## Begin - Rewrite rules to block out some common exploits.
# If you experience problems on your site block out the operations listed below
# This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to base64_encode data within the URL.
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
# Block out any script that includes a <script> tag in URL.
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL.
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL.
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Return 403 Forbidden header and show the content of the root homepage
RewriteRule .* index.php [F]
#
## End - Rewrite rules to block out some common exploits.

## Begin - Custom redirects
#
# If you need to redirect some pages, or set a canonical non-www to
# www redirect (or vice versa), place that code here. Ensure those
# redirects use the correct RewriteRule syntax and the [R=301,L] flags.
#
## End - Custom redirects

##
# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root).
##

# RewriteBase /

## Begin - Joomla! core SEF Section.
#
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
#
# If the requested path and file is not /index.php and the request
# has not already been internally rewritten to the index.php script
RewriteCond %{REQUEST_URI} !^/index\.php
# and the request is for something within the component folder,
# or for the site root, or for an extensionless URL, or the
# requested URL ends with one of the listed extensions
RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]
# and the requested path and file doesn't directly match a physical file
RewriteCond %{REQUEST_FILENAME} !-f
# and the requested path and file doesn't directly match a physical folder
RewriteCond %{REQUEST_FILENAME} !-d
# internally rewrite the request to the index.php script
RewriteRule .* index.php [L]
#
## End - Joomla! core SEF Section.
Přílohy:

Powered by Fórum