?
avatar TanaseButcaru
TanaseButcaru
16 Sep 2014

Steps to reproduce the issue

Fresh install of Joomla! 2.5.x + VirtueMart 2.6.10.
Default SEF options (Joomla! & VM).
Add a product with dots in name and after save the Product Alias will contain that dot.
Create a menu item with Virtuemart Frontpage / Category Layout to acceess the product details page.

Expected result

Product details page

Actual result

"404 not found" page & error_log will output something like:

"File does not exists: public_html/category-name, refferer http://website.com/category-name/product-name-alias.with-dots.in-it/"

System information (as much as possible)

  • linux host;
  • php 5.3 & php 5.3;

Additional comments

As described the issue here I found a temporary solution by removing the code that blocks the dot in urls from Joomla's default .htaccess file.

I have removed the /[^.]* from this line:

RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]

Joomla! core components seem to convert the dot for the alias field if exists in title, so that's why there are no problems, but for components that does not do this, it would be better to have this fixed.

avatar TanaseButcaru TanaseButcaru - open - 16 Sep 2014
avatar TanaseButcaru TanaseButcaru - change - 16 Sep 2014
Category SEF
avatar TanaseButcaru TanaseButcaru - change - 16 Sep 2014
The description was changed
avatar infograf768
infograf768 - comment - 17 Sep 2014

This line is no more in the htaccess shipping with 3.3.x
see e5eb98a#diff-05d39072fa81e84ead7860131f02ea3f

avatar TanaseButcaru
TanaseButcaru - comment - 17 Sep 2014

That's good for J! 3.3.x, but J! 2.5.24 still have that line.

avatar Bakual
Bakual - comment - 17 Sep 2014

Can you do a PR against the 2.5.x branch then which does the same thing as #488?

avatar infograf768
infograf768 - comment - 18 Sep 2014

PR merged. Thanks Closing.

avatar infograf768 infograf768 - close - 18 Sep 2014
avatar infograf768 infograf768 - close - 18 Sep 2014
avatar zero-24 zero-24 - close - 18 Sep 2014
avatar infograf768 infograf768 - change - 18 Sep 2014
Status New Closed
Closed_Date 0000-00-00 00:00:00 2014-09-18 15:11:30
avatar zero-24 zero-24 - change - 7 Jul 2015
Labels Added: ?

Add a Comment

Login with GitHub to post a comment