I have an English language version of the main site installed in multiple site mode (there is no problem with it inside admin panel: I can switch sites, create channels/entries, manage templates for both sites etc.) — en.kiosov.pro. The index page is working well. But I can’t see channel page and entries page at all. For example, I have a channel called Cases with one entry inside. I have a template group called cases too with 2 templates inside:
index (http://
for <a> was added here by forum markdown parser)
{embed='index/header'}
{exp:channel:entries channel='cases' limit='25' paginate='bottom' dynamic='no'}
<div class="blog-entry">
<h2><a href="http://{url_title_path=cases/case}">{title}</a></h2>
{entry_date format='%n/%j/%Y'}
{case_teaser}
{if has_categories}
<b>in</b>: {categories backspace='2'}<a href="http://{path=%27cases%27}" title="View more in {category_name}">{category_name}</a>, {/categories}
{/if}
by: {author}
</div>
{if no_results}
{redirect='404'}
{/if}
{/exp:channel:entries}
{embed="index/footer"}
and case (http://
and %27
for <a> was added here by forum markdown parser)
{embed='index/header'}
{exp:channel:entries channel='cases' limit='1' require_entry='yes'}
<h1>{title}</h1>
{entry_date format='%n/%j/%Y'}
{case_teaser}
{case_post}
{if has_categories}
<b>in</b>: {categories backspace='2'}<a href="http://{path=%27cases%27}" title="View more in {category_name}">{category_name}</a>, {/categories}
{/if}
by: {author}
{if no_results}
{redirect='404'}
{/if}
{/exp:channel:entries}
{embed="index/footer"}
I have the entries listing code on index page which is works well (you can see it on en.kiosov.pro/#cases page)
{exp:channel:entries channel='cases' limit='5' paginate='bottom' dynamic='no'}
<h3><a href="http://{url_title_path=cases/case}">{title}</a></h3>
<h4>{case_teaser}</h4>
{/exp:channel:entries}
It builds the correct link to the entry but I get “Not Found” when I click it or just type the https://en.kiosov.pro/cases/case/first-test-case-post link for example in the browser URL field. Can’t realize what I missed for en. version because the main site (kiosov.pro — just old design and structure there) works without that problem and I building en. version with the same way (but other channels structure).
Thank you!
P.S. Thanks for forum access, Derek!
Sorry for your trouble, Goha. It looks like you need to set your web server to rewrite URLs to pass them through index.php. For instance, this works:
https://en.kiosov.pro/index.php/cases/case/first-test-case-post
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.