User Tools

Site Tools


ru:how_to:website_settings

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
ru:how_to:website_settings [2013/09/24 04:14]
Arkady [Custom Permalink Structure]
ru:how_to:website_settings [2013/09/24 08:41]
Arkady [Настройка ЧПУ (настройка структуры URL сайта)]
Line 3: Line 3:
  
  
-=====Website Settings=====+=====Настройки сайта=====
  
-Website Settings are site-widemeaning that it does not matter who is logged into the backend - everyone will see the same exact settings.+Настройки секции Настройки сайта ​ имеют глобальный характер и не зависят от тогокакой из пользователей в данный момент активен
  
-{{:how_to:websitesettings.png|}}+{{ru:how_to:settings2.png|}}
  
-  * **Website Name** - This is the Name of your website +  * **Название сайта** – название вашего сайта 
-  * **Website Base URL** - This is the URL of where your GetSimple ​site is installed to +  * **Основной ​URL сайта**- URL установки вашего сайта на GetSimple  
-  * **Custom Permalink Structure** - Allows you to customize your URL structure.+  * **Настройка ЧПУ**  настройка структуры  ​URL вашего сайта.
  
-==== Custom Permalink Structure ​====+ 
 +==== Fancy (Pretty) URLs или ЧПУ ​ ==== 
 + 
 +GetSimple позволяет использовать ЧПУ (человекопонятные URL), что положительно отражается на внешнем виде URL страниц и полезно для SEO сайта. Для включения этой функции на сервере должен быть установлен и активирован модуль **mod_rewrite**.  
 + 
 +Система предоставляет возможность редактировать структуру URL страниц сайта путем изменения параметра **Настройка ЧПУ**. Некоторые структуры при этом требуют включенный модуль **mod_rewrite**,​ некоторые – нет. 
 +  
 + 
 +==== Настройка ЧПУ (настройка структуры URL сайта) ​====
  
 Create custom permalinks via the **Settings** tab in your GetSimple installation. Permalinks help define the URL structure of your site. If you put a value in the **Custom Permalink Structure** input box, your **FancyURL** setting may be overridden by the string you put in. Create custom permalinks via the **Settings** tab in your GetSimple installation. Permalinks help define the URL structure of your site. If you put a value in the **Custom Permalink Structure** input box, your **FancyURL** setting may be overridden by the string you put in.
 +В GetSimple предусмотрена возможность настройки постоянных ссылок (permalink) сайта сайта путем проставления определенных параметров (или, в терминологии GS, тэгов) ​ в поле **Настройки ЧПУ**. Если вы внесли какие-то параметры в поле **Настройка ЧПУ**, они могут перекрывать значение настройки **Использовать Fancy URLs**. ​
  
-The default ​URL structure for **"​FancyURLs"​ ON** is: +Структура ​URL по умолчанию,​ если флажок ​**Использовать Fancy URLs** включен
-''​%parent%/​%slug%/''​+
  
-The default URL structure for **"​FancyURLs"​ OFF** is: +<​code>​%parent%/​%slug%/</​code> ​
-''​index.php?​id=%slug%''​+
  
-=== Syntax ===+Структура URL по умолчанию,​ если флажок **Использовать Fancy URLs** выключен: ​
  
 +<​code>​index.php?​id=%slug%</​code> ​
  
-The two tags to build your custom permalink are ''​%parent%''​ and ''​%slug%''​ +=== Синтаксис ===
-Do not use a beginning slash+
  
-=== Examples ===+Для настройки ЧПУ или структуры URL вашего сайта применяются два тэга: ''​%parent%''​ (родитель) и ''​%slug%''​ (постоянная ссылка). Начальный слэш не используется. ​
  
-Replace ​subdirectory ​with your own virtual directory - //this folder does not need to exist//: +=== Примеры === 
-<​code>​subdirectory/​%parent%/​%slug%/</​code> ​+Замените параметр //subdirectory// ​на свою виртуальную директорию – //эта папка может и не существовать на сайте физически//​. 
 + 
 +<​code>​subdirectory/​%parent%/​%slug%/</​code>​ 
 + 
 +Следующая настройка удаляет строку ''​index.php''​ из URL. Может применяться при выключенных **Fancy URLs**.
  
-Removes the ''​index.php''​ from URL. This can be done without Fancy URL's turned on: 
 <​code>?​id=%slug%</​code>​ <​code>?​id=%slug%</​code>​
  
-=== Adding ​.html, .htm or .php extension to URLs ===+=== Добавление расширения ​.html, .htm or .php к URL === 
 + 
 +Если вы хотите добавить расширения (''​.html'',​ ''​.htm'' ​ или ''​.php''​) к постоянным ссылкам на ваши страницы,​ необходимо отметить флажок **Использовать Fancy URLs**, затем в поле **Настройка ЧПУ** прописать необходимое вам расширение, ​ например ''​.html'',​ следующим образом:​
  
-If you want to add an extension (''​.html'',​ ''​.htm''​ or ''​.php''​) to your website'​s pages, you first need turn on **Use Fancy URLs**, then set the **Custom Permalink Structure** to (example for pages that will end in ''​.html''​):​ 
 <​code>​%slug%.html</​code>​ <​code>​%slug%.html</​code>​
  
-Next, you need to make a small change to your root level ''​.htaccess'' ​file. Change the Rewrite Rule to this: +Затем необходимо изменить главный ​''​.htaccess''​-файл сайта, переписав правило **Rewrite Rule**:
-<​code>​RewriteRule /?​([A-Za-z0-9_-]+).html$ index.php?​id=$1 [QSA,​L]</​code>​+
  
-NOTE: Change ''​.html''​ to ''​.php''​ (or ''​.htm''​) in both the Rewrite Rule above and the permalink structureif you are using that extension instead.+<​code>​RewriteRule /?​([A-Za-z0-9_-]+).html$ index.php?id=$1 [QSA,L]</​code>​
  
-=====User Profile=====+На заметку:​ Измените ''​.html''​ на ''​.php''​ (или ''​.htm''​) ​ в **Rewrite-правиле** и в поле **Настройка ЧПУ**, если вам необходимо применить эти расширения. ​
  
-This section of **Settings** allows you to change settings particular to the logged in user.  
  
-{{:​how_to:​usersettings.png|}}+=====Профиль пользователя=====
  
-  ​* **Username** - Cannot be changed as of GS 3.0. This is the login username. +Секция ​**Настройки** позволяет изменять настройки для текущего пользователя.
-  * **Email Address** - This is the email address of the logged in user. It is used primary with the //Reset Password// feature and by some "​contact us" plugins. +
-  * **Local Timezone** - This helps show you the correct time that files have been created. +
-  * **Language** - This changes the [[ru:​languages|language of the backend]] of the site. You can download additional languages from [[http://​get-simple.info/​extend/​|Extend]]. +
-  * **Enable the HTML Editor** - Enables the [[ru:​how_to:​wysiwyg_editor|WYSIWYG editor]] within the page editor. +
-  * **New Password / Confirm Password** - Only fill in these fields if you plan on changing your password. Leaving this blank and clicking "​Save"​ leaves your password as-is.+
  
 +{{ru:​how_to:​user.png|}}
  
 +  * **Логин** – В версиях 3.0 логин пользователя не может быть изменен. ​
 +  * **Email** - email активного пользователя. Эта настройка используется при изменении пароля пользователя и некоторыми плагинами.
 +  * **Часовой пояс** – настройка устанавливает местное время, например,​ при отображении времени создания файлов.
 +  * **Язык** – настройка устанавливает язык интерфейса административной панели. Дополнительный языковые файлы загружаются из секции [[http://​get-simple.info/​extend/​|Extend]] сайта GetSimple.
 +  * **Включить HTML редактор** – активирует [[ru:​how_to:​wysiwyg_editor|WYSIWYG-редактор ]] в режиме редактирования страниц.
 +  * **Новый пароль / Подтвердить пароль** – Эти поля подлежат заполнению только в случае если вы хотите изменить свой текущий пароль. Если кликнуть **Сохранить изменения** с незаполненными полями **Новый пароль** и **Подтвердить пароль** – текущий пароль останется без изменений.
 ====== Ссылки ====== ====== Ссылки ======
  
ru/how_to/website_settings.txt · Last modified: 2013/09/24 08:41 by Arkady