alex999 Posted May 15, 2010 Share Posted May 15, 2010 hi,installed friendly urls, link rewrite, .htaccess... everything works fine.But I would like to change the url to something more seo-oriented for my site.So for example: when I click the manufacturer-block the url requested is manufacturer.phpIs it possible to change that url to something pointing to say xyz.php? And if so, how?Thanks in advance for each hint. Link to comment Share on other sites More sharing options...
alex999 Posted May 15, 2010 Author Share Posted May 15, 2010 OK... found. For instance, for manufacturera) change under \modules\blockmanufacturer\ in blockmanufacturer.tpl the {$base_dir} in line 3 to yoururl.php rename manufacturer.php, under your root, to yoururl.phpc) amend .htaccess:RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ /......../yoururl.php?id_manufacturer=$1$3 [QSA,L,E]It seems to work. Looking for the script for generating the .htaccess file, as each time I refresh .htaccess changes under c) are overwritten. If anyone know... thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now