Hi,
Well, here´s my setup:
In each template group, I have two templates: one template called “index” and a second one called “product_page_template”. The first one allways showing a list of product, the second one showing details about one particular product.
In the “product_page_template” i use the following code to display the appropriate product detected as a segment from URL:
{exp:channel:entries channel="channel_name" limit="1" disable="categories|member_data|pagination" require_entry="yes"}So until now, with EE 2.2.2 the url http://www.mysite.com/template_group_name/product_name/
was served with template “product_page_template” from “template_group_name” template group.
However after upgrading to EE 2.5.2, for the same URL, I get the template “index” displayed, instead of “product_page_template”.
Has anyone around here had to solve a similar situation recently? Should I modify the template somehow, or rather my .htaccess rule?
PS: I dont use index.php in URL, the appropriate entry in my .htacess file looks like this:
RewriteCond $0 !^(?:index\.php/)?template_group_name/(?:product_page_template) [NC]
RewriteRule ^(?:index\.php/)?template_group_name/([^/]+)/?$ /index.php/template_group_name/product_page_template/$1/ [L,NC]Any help will be greatly appreciated, I did the update on a production site and have to fix it rapidly.