Чтение RSS каналов

Форум

Открыть Ответить

Люди есть ли у кого переделаный КОНФ фаил на ЧПУ в 2.6 ???

0

0
1
08.03.2010 20:38:31

Я думаю что у меня не доделана до конча КОНФ фаил... поетому не делает ссылки так: News-article-13.html


а не как сейчас..
index.php?name=News&op=article&sid=13


короче хотела бы чтоб были так :)

News-article-13.html

3.71

3.71
2
09.03.2010 13:00:20

так надо сделать только в новостях или во всей системе ?

4.05

4.05
3
09.03.2010 17:52:29

ну мне бы и новостей хватило 2.6 лите версия :)

3.71

3.71
4
09.03.2010 19:51:20

У Вас вообще ЧПУ включен!?

3.95

3.95
5
09.03.2010 20:41:02

config_rewrite.php:

&lt;&#063;php<br /> if (!defined(&quot;FUNC_FILE&quot;)) die(&quot;Illegal File Access&quot;);<br /> <br /> $rewrite_out = array(<br /> &quot;System.html&quot;,<br /> &quot;Services.html&quot;,<br /> &quot;Reklame.html&quot;,<br /> &quot;Contact.html&quot;,<br /> &quot;Recommend.html&quot;,<br /> &quot;Search.html&quot;,<br /> &quot;Topics.html&quot;,<br /> &quot;Add_News.html&quot;,<br /> &quot;Rules.html&quot;,<br /> &quot;Info.html&quot;,<br /> &quot;News.html&quot;,<br /> &quot;news-&#092;&#092;2-&#092;&#092;3.html&quot;,<br /> &quot;news-&#092;&#092;2.html&quot;,<br /> &quot;news-topic-&#092;&#092;2-&#092;&#092;3.html&quot;,<br /> &quot;news-topic-&#092;&#092;2.html&quot;,<br /> &quot;news-cat-&#092;&#092;2-&#092;&#092;3.html&quot;,<br /> &quot;news-cat-&#092;&#092;2.html&quot;,<br /> &quot;news-&#092;&#092;2-&#092;&#092;3.html&quot;<br /> );<br /> <br /> $rewrite_in = array(<br /> &quot;&#039;(&#063;&lt;!/)index.php&#092;&#063;name=System&#039;&quot;,<br /> &quot;&#039;(&#063;&lt;!/)index.php&#092;&#063;name=Services&#039;&quot;,<br /> &quot;&#039;(&#063;&lt;!/)index.php&#092;&#063;name=Reklame&#039;&quot;,<br /> &quot;&#039;(&#063;&lt;!/)index.php&#092;&#063;name=Contact&#039;&quot;,<br /> &quot;&#039;(&#063;&lt;!/)index.php&#092;&#063;name=Recommend&#039;&quot;,<br /> &quot;&#039;(&#063;&lt;!/)index.php&#092;&#063;name=Search&#039;&quot;,<br /> &quot;&#039;(&#063;&lt;!/)index.php&#092;&#063;name=Topics&#039;&quot;,<br /> &quot;&#039;(&#063;&lt;!/)index.php&#092;&#063;name=Add_News&#039;&quot;,<br /> &quot;&#039;(&#063;&lt;!/)index.php&#092;&#063;name=Rules&#039;&quot;,<br /> &quot;&#039;(&#063;&lt;!/)index.php&#092;&#063;name=Info&#039;&quot;,<br /> &quot;&#039;(&#063;&lt;!/)index.php&#092;&#063;name=News&#039;&quot;,<br /> &quot;&#039;(&#063;&lt;!/)index.php&#092;&#063;name=([newsNews]+)&amp;op=article&amp;sid=([0-9]+)&amp;pagenum=([0-9]+)&#039;&quot;,<br /> &quot;&#039;(&#063;&lt;!/)index.php&#092;&#063;name=([newsNews]+)&amp;op=article&amp;sid=([0-9]+)&#039;&quot;,<br /> &quot;&#039;(&#063;&lt;!/)index.php&#092;&#063;name=([newsNews]+)&amp;new_topic=([0-9]+)&amp;pagenum=([0-9]+)&#039;&quot;,<br /> &quot;&#039;(&#063;&lt;!/)index.php&#092;&#063;name=([newsNews]+)&amp;new_topic=([0-9]+)&#039;&quot;,<br /> &quot;&#039;(&#063;&lt;!/)index.php&#092;&#063;name=([newsNews]+)&amp;op=cat&amp;catid=([0-9]+)&amp;pagenum=([0-9]+)&#039;&quot;,<br /> &quot;&#039;(&#063;&lt;!/)index.php&#092;&#063;name=([newsNews]+)&amp;op=cat&amp;catid=([0-9]+)&#039;&quot;,<br /> &quot;&#039;(&#063;&lt;!/)index.php&#092;&#063;name=([newsNews]+)&amp;op=([a-z]+)&amp;sid=([0-9]+)&#039;&quot;<br /> );<br /> <br /> &#063;&gt;


.htaccess:

RewriteEngine On<br /> RewriteBase /<br /> <br /> RewriteCond %{REQUEST_FILENAME} !-f<br /> RewriteRule ^index.html index.php [NC,L]<br /> RewriteRule ^([a-zA-Z_]+)&#092;.html$ index.php&#063;name=$1 [NC,L]<br /> RewriteRule ^news-([0-9]+).html$ index.php&#063;name=News&amp;op=article&amp;sid=$1 [NC,L]<br /> RewriteRule ^news-([0-9]+)-([0-9]+).html$ index.php&#063;name=News&amp;op=article&amp;sid=$1&amp;pagenum=$2 [NC,L]<br /> RewriteRule ^news-topic-([0-9]+).html$ index.php&#063;name=News&amp;new_topic=$1 [NC,L]<br /> RewriteRule ^news-topic-([0-9]+)-([0-9]+).html$ index.php&#063;name=News&amp;new_topic=$1&amp;pagenum=$2 [NC,L]<br /> RewriteRule ^news-cat-([0-9]+).html$ index.php&#063;name=News&amp;op=cat&amp;catid=$1 [NC,L]<br /> RewriteRule ^news-cat-([0-9]+)-([0-9]+).html$ index.php&#063;name=News&amp;op=cat&amp;catid=$1&amp;pagenum=$2 [NC,L]<br /> RewriteRule ^news-(printpage|friendsend)-([0-9]+).html$ index.php&#063;name=News&amp;op=$1&amp;sid=$2 [NC,L]

3.92

3.92
Открыть Ответить
Хотите опробовать SLAED CMS в действии?

Технологии

PHP MySQL HTML 5 CSS 3 jQuery jQuery UI

Контакты

  • D-49179, Deutschland
    Ostercappeln, Im Siek 6
  • +49 176 61966679

  • https://slaed.net
Идеи и предложения
Обратная связь