PDA

Zobacz pełną wersję : Problem z SEF - "psuje" stronę



zir
25-08-2011, 10:56
Witam,
stronę (i szablon) stworzyłem na localhoście. Za pomocą akeeba backup przeniosłem ją na live serwer i mam jeden problem. Po włączeniu SEF zaczynają się dziać dziwne rzeczy. O ile mogę wejść w podstrony jak Kontakt, Oferta (category list), akutalności (category blog), to artykuły będące w tych kategoriach zachowują się co namniej dziwnie.

Artykuły z kategorii oferta wyrzucają błąd:

404 - Kategorii nie znaleziono
Możliwe, że nie możesz zobaczyć tej strony, ponieważ


Użyta zakładka jest nieaktualna
Twoja wyszukiwarka nie odświeżyła jeszcze mapy naszej witryny
Adres został wpisany z błędem
Nie masz uprawnień do obejrzenia tej strony
Joomla! nie może zlokalizować wskazanego zasobu.
Wystąpił błąd podczas wykonywania powierzonego zadania.

Spróbuj jednej z następujących stron:


Strona startowa

Jeśli problem się powtarza, skontaktuj się z administratorem witryny..
Kategorii nie znaleziono
Artykuły z kategorii Aktualności ładują się ale bez CSS.
CSS dodałem na zasadzie:

href="<?php echo $this->baseurl ?>/templates/test/stylesheet/layout.css"tak wygląda ważny fragment .htacces

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.


Co muszę zrobić, żeby SEF działał poprawnie?

zwiastun
25-08-2011, 12:19
http://forum.joomla.pl/showthread.php?21594-PPA-PRZECZYTAJ-TO-Pomocnik-pisania-post%C3%B3w
Prawdopodobnie w pliku konfiguracyjnym witryny trzeba ustawić zmienną $live_site