<span*class="author"> Опубликовано: <?php the_author(); ?></span>
не помогло
<?php global $bnews_options, $blognews; ?> <?php get_header(); ?> <!-- CONTAINER --> <div id="container"> <!-- POST STARTS --> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php if (function_exists('dimox_breadcrumbs')) dimox_breadcrumbs(); ?> <h2 id="innerPostTitle"><?php the_title(); ?></h2> <span class="postinfo"> <span class="author"><?php echo $blognews["writtenby"]; ?> <?php the_author_posts_link(); ?></span> <span class="folder"><?php the_category(', '); ?></span> <span class="date"><?php the_time('j M Y'); ?></span> <span class="clear"></span> </span> <div class="post"> <?php the_content(); ?> ....................
это и есть полный текст
шагну ....
старт ....
Вот это почти то что нужно но теперь открывается и site/news и site/news.html а нужно что бы редиректил еще сам на site/news---------- Добавлено 01.09.2014 в 19:23 ----------
RewriteEngine On RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^.]+)\.html\ HTTP RewriteRule ^([^.]+)\.html$ http:///www.****.ru/$1 [R=301,L] RewriteCond %{REQUEST_FILENAME}.html -f RewriteRule (.*) /$1.html [L] DirectorySlash Off
Спасибо. этот код работает как надо 🚬
точнее я наверное не верно выразился.
У меня в папке нет index.html . Просто не открывается файл news.html потому что есть папка news
все равно затрагивает
да открываются без редиректа---------- Добавлено 31.08.2014 в 02:39 ----------
не помогло, ничего не изменилось
Это не помогает . тоже самое
Forbidden
You don't have permission to access /news on this server.