Автор Тема: Не грузится раздел контакты и увеличение шрифта родительских категорий  (Прочитано 6688 раз)

Оффлайн Enot

  • Чайник
  • *
  • Сообщений: 13
    • Просмотр профиля
1. Версия движка 6.1.
2. ПО: программное обеспечение сервера неизвестно.
3. http://toymart-shop.ru
4. У меня 2 вопроса. Первый проблема с разделом "Контакты". Все работало до одного прекрасного дня, в который все слетело по неизвестным причинам. При нажатии на данный раздел он не загружается и пишет, что данная страница не найдена. Подскажите, что делать. И второй вопрос, как сделать главные родительские категории более жирным шрифтом, что бы они выделялись на фоне подкатегорий, а то все одним шрифтом идет и не очень удобно высматривать нужную категорию.


Оффлайн Enot

  • Чайник
  • *
  • Сообщений: 13
    • Просмотр профиля
Спасибо за ответ по поводу шрифта, сейчас попробую.
Вот файл .htaccess:
#config
DirectoryIndex index.php
AddDefaultCharset windows-1251
AddCharset windows-1251 .php
        Options -Indexes

# Добавляем слеш в конце строки uri
# исключаем файлы
   RewriteCond %{REQUEST_FILENAME} !-f
# исключаем символьные ссылки
   RewriteCond %{REQUEST_FILENAME} !-l
# исключаем файлы index.php
   RewriteCond %{REQUEST_URI} !index.php
# исключаем uri содержащие точки, для пропуска ссылок на файлы
   RewriteCond %{REQUEST_URI} !\.[^./]+$
# исключаем uri со слешем на конце
   RewriteCond %{REQUEST_URI} !(.*)/$
   RewriteCond %{REQUEST_URI} !(.*)/&(.*)$
# 301 перенаправление на запрос со слешем в конце
   RewriteRule ^(.*)$ $1/ [R=301,L]
   RewriteCond %{REQUEST_URI} !&*

#rewrite url's
RewriteEngine On
RewriteBase     /


#www redirect
RewriteCond %{HTTP_HOST} ^www.toymart-shop.ru$ [NC]
RewriteRule ^(.*)$ http://toymart-shop.ru/$1 [R=301,L]

#RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
    #RewriteRule ^index\.php$ http://toymart-shop.ru/ [R=301,L]

#Redirect 301 /index.html http://toymart-shop.ru

RewriteRule cart/&remove=(.*)/$ index.php?shopping_cart=yes&remove=$1 [L]
    RewriteRule cart/&clear/$ index.php?shopping_cart=yes&clear_cart=yes [L]

#copress js and css
        RewriteRule core/js/(.*)\.js$ core/jscss.php [L]
        RewriteRule css/css_(.*)/(.*).css$ core/jscss.php [L]
        RewriteRule ^core_ajaxconst.js$ core/core_ajaxconst.php [L]

#sitemap [[]]
RewriteRule ^sitemap.xml$ MySitemap.xml [L]

#payment
RewriteRule payment/$ index.php?payment [L]

#about url's
RewriteRule ^catalog/(.*)/about/$ index.php?about&category=$1/ [L]
RewriteRule ^brand/(.*)/about/$ index.php?about&brands=$1/ [L]

#catalog url's
RewriteRule ^catalog/(.*)$ index.php?catalog_hurl=$1 [L]
RewriteRule ^product/(.*)$ index.php?product_hurl=$1 [L]
RewriteRule ^news/(.*)$ index.php?news&news=$1 [L]
RewriteRule ^pages/(.*)$ index.php?pages&pages=$1 [L]
RewriteRule ^tags/(.*)$ index.php?tags_hurl=$1 [L]
RewriteRule ^brand/(.*)/(.*) index.php?brand=$1/$2 [L]

#sort url's
RewriteRule (.*)/(.*)/&sort=(.*)&order=(.*)$ index.php?$1_hurl=$2&sort=$3&order=$4 [L]

#offset url's
#RewriteRule offset/(.*)/&sort=(.*)&order=(.*)$ index.php?searchstring=$1&sort=$2&order=$3 [L]
RewriteRule (.*)/(.*)/&offset=(.*)/$ $1/$2/&offset=$3 [L]
RewriteRule (.*)/(.*)/&offset=(.*)$ index.php?$1_hurl=$2&offset=$3 [L]
#RewriteRule (.*)/(.*)/&offset=(.*)/$ index.php?$1_hurl=$2&offset=$3 [L]
RewriteRule (.*)/(.*)/&show_all=yes/$ index.php?$1_hurl=$2&show_all=yes [L]
RewriteRule (.*)/(.*)/&show_all=yes$ index.php?$1_hurl=$2&show_all=yes [L]

#lang url's
RewriteRule ru/$ index.php?new_language=0 [L]
RewriteRule en/$ index.php?new_language=1 [L]

#information url's
RewriteRule info/(.*)$ index.php?aux_pages=$1 [L]

#[[]]
RewriteRule kontakty/&send_result=(.*)$ index.php?contact&send_result=$1 [L]
# RewriteRule uslugi/&send_result=(.*)/$ index.php?contact&send_result=$1 [L]
# RewriteRule uslugi/&send_result=(.*)$ index.php?contact&send_result=$1 [L]

#RewriteRule contact/$ index.php?contact [L]
RewriteRule kontakty/$ index.php?contact [L]
# Redirect 301 /contact/ http://toymart-shop.ru/pages/podarok-malchiku/

RewriteRule service/$ index.php?aux_page=aux2 [L]
RewriteRule uslugi/$ index.php?aux_page=aux2 [L]
# RewriteRule uslugi/$ index.php?contact [L]
# Redirect 301 /service/ http://toymart-shop.ru/catalog/sortery/

RewriteRule pricelist/([0-9]*)/$ index.php?show_price=$1 [L]
RewriteRule pricelist/$ index.php?show_price=yes [L]
RewriteRule ^price.xls$ core/core_xls.php [L]
RewriteRule feed.xml$ core/core_rss.php [L]

# [[]]
RewriteRule ^about/$ index.php?aux_page=aux1 [L]
RewriteRule ^o-magazine/$ index.php?aux_page=aux1 [L]
# Redirect 301 /about/ http://toymart-shop.ru/catalog/interaktivnye-igrushki/

RewriteRule kak-oformit-zakaz/$ info/kak-oformit-zakaz/ [L]



RewriteRule dostavka-i-oplata/ info/dostavka-i-oplata/ [L]
#RewriteRule /info/dostavka-i-oplata/ http://toymart-shop.ru/catalog/detskie-samokaty/ [L,R=301]

RewriteRule vakansii/$ info/vakansii/ [L]

RewriteRule grafik/$ index.php?aux_page=aux1 [L]
RewriteRule adress/$ index.php?aux_page=aux1 [L]
RewriteRule sitemap\.xml$ core/sitemap.php [L]
RewriteRule sitemap/$ index.php?sitemap [L]

#administration url's
RewriteRule admin$ admin.php [L]
RewriteRule ^admin/$ http://toymart-shop.ru/admin.php [L]

#cart url's
RewriteRule add2cart/(.*)$ index.php?shopping_cart&add2cart=$1 [L]
RewriteRule cart/$ index.php?shopping_cart=yes [L]
RewriteRule cart/&remove=(.*)$ index.php?shopping_cart=yes&remove=$1 [L]
RewriteRule cart/&delkupon=(.*)$ index.php?shopping_cart=yes&delkupon=$1 [L]
RewriteRule cart/&clear$ index.php?shopping_cart=yes&clear_cart=yes [L]
RewriteRule cart/order/$ index.php?order_custinfo=yes [L]
RewriteRule cart/order_placed/$ index.php?order_placement_result=1 [L]
RewriteRule printorder/$ core/core_printorder.php [L]
RewriteRule pd4/$ core/print_pd4.php [L]

#yandex url's
RewriteRule yandex\.(xml|yml)$ core/core_yml.php [L]
        RewriteRule metamarket\.xml$ core/core_metamarket.php [L]
       

#search_expanded url's
    RewriteRule search_expanded/ index.php?search_expanded=1 [L]

#watermark
    #RewriteRule ^(products_pictures|products_thumb|userfiles)/(.*\.(gif|jpg|jpeg|png))  core/watermark.php?dir=$1&img_path=$2 [L] # All image
    #RewriteRule ^(products_pictures)/(.*\.(gif|jpg|jpeg|png))  core/watermark.php?dir=$1&img_path=$2 [L] # All products_pictures
    #RewriteRule ^(products_pictures)/(.*-B\.(gif|jpg|jpeg|png))  core/watermark.php?dir=$1&img_path=$2 [L] # only big products_pictures
    #RewriteRule ^(products_pictures)/(.*-H\.(gif|jpg|jpeg|png))  core/watermark.php?dir=$1&img_path=$2 [L] # only smal products_pictures 
    #RewriteRule ^(products_thumb)/(.*\.(gif|jpg|jpeg|png))  core/watermark.php?dir=$1&img_path=$2 [L] # All products_thumb 


#errors
#RewriteRule info/error404/$ info/error404 [L]
#RewriteRule 404$ core/core_404.php [L]
RewriteRule 404$ info/error404 [L]
RewriteRule /404/$ /info/error404 [L]
RewriteRule 404/$ /info/error404 [L]

ErrorDocument 403 /info/error404
ErrorDocument 404 /info/error404

#ErrorDocument 403 http://toymart-shop.ru/info/error404
#ErrorDocument 500 http://toymart-shop.ru/
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_URI} !(.*)/$
#RewriteRule ^(.*[^/])$ $1/ [L,R=301]