Remove HTML file extension from page

Hi, I could've sworn I read a post here somewhere that explained which file to edit in order to remove the .html file extension in relation to using the SEO add on.



Can't find it for the life of me, and the forum search restricts you from searching on words like 'code','html' etc.



Can anyone point me in the right direction? I'd like my urls to display as;



product-category/sub-category/my-product-name



Instead of:

product-category/sub-category/my-product-name.html



Thanks,



Scott.

[quote name='Scott_C' timestamp='1310604868' post='117242']

Hi, I could've sworn I read a post here somewhere that explained which file to edit in order to remove the .html file extension in relation to using the SEO add on.



Can't find it for the life of me, and the forum search restricts you from searching on words like 'code','html' etc.



Can anyone point me in the right direction? I'd like my urls to display as;



product-category/sub-category/my-product-name



Instead of:

product-category/sub-category/my-product-name.html



Thanks,



Scott.

[/quote]

Hi Scott, you'll want to modify your /addons/SEO/init.php and change the fn_define('SEO_FILENAME_EXTENSION', '.html'); value to fn_define('SEO_FILENAME_EXTENSION', '');



(Assuming you're on 2.2.X).



Alo checkout this thread: SEO: remove .html - General Questions - CS-Cart Community Forums

Hi, thanks for the reply. I actually paid Alt Team to do the mod a few months back.



Cheers,



Scott.

[quote name='demonangel' timestamp='1319120614' post='124133']

Hi Scott, you'll want to modify your /addons/SEO/init.php and change the fn_define('SEO_FILENAME_EXTENSION', '.html'); value to fn_define('SEO_FILENAME_EXTENSION', '');



(Assuming you're on 2.2.X).



Alo checkout this thread: SEO: remove .html - General Questions - CS-Cart Community Forums

[/quote]