Page 1 of 1

[seo url] php scripts vs .htaccess

Posted: Tue Oct 06, 2009 4:32 pm
by liyen
Dear all,

I'm quite new to Opencart.

I would like to find out...
Which is the best practice for creating Search Engine Friendsly URL for opencart?

Modifying php scripts or using .htaccess approach?

Re: [seo url] php scripts vs .htaccess

Posted: Tue Oct 06, 2009 5:08 pm
by suhanto
I like the wordpress/opencart approach where .htaccess is used as the first gateway to process URLs that point to non-physical files. The workhorse for URL rewrite is performed by PHP script.

and it turns out that this approach is more flexible compared to the other.

PrestaShop is taking full .htaccess approach for URL rewriting. The result: you can find it inside PrestaShop forum by searching using keyword 'SEO URL' :)

Re: [seo url] php scripts vs .htaccess

Posted: Tue Oct 06, 2009 5:14 pm
by liyen
Suhanto,

Thanks for sharing again :)