When i click on post url on my site -> it redirect me to the homepage. Indeed the address changed with the post name, but it display the home page.
Site url: http://www.as-bidud.co.il/
I know that you will see the site language as problem to help but for see that problem - click on the "read more \ קרא עוד" button on the slider.
When i switched the theme to Twenty eleven - everything work fine.
I dont find the problem in the function.php
- I already turned off the plugins and turn on one by one and not found the problem
- I thought the problems come from the Custom Post Type UI plugin but...not
Pages url work fine.
.htacess :
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Single.php file:
<?php get_header(); ?>
<?php if(have_posts()) : ?> <?php while(have_posts()) : the_post(); ?>
<div id="main" class="sub-page">
<div id="page-view">
<h1 class="page-title"><span><?php wp_title ( '', true,'left' ); ?></span></h1>
<div class="page-content">
<p><?php the_content(); ?></p>
<?php endwhile; ?>
<?php endif; ?>
<?php get_footer(); ?>