juiced Posted August 14, 2009 Share Posted August 14, 2009 (edited) Hi, I've been searching and did find some related posts but haven't found a working solution yet. We are using SEO-G for our osCommerce webshop v2.2 and installed the (fantastic) contribution Information Pages Unlimited. All links are rewritten to HTML and our catalogs and products are url friendly. However, we'd like to use the .htaccess functionality to also turn the "information.php?info_id" into SEO urls. Surely it must be possible to use something like this: RewriteRule ^(.*)-i-([0-9]+).html$ information.php?info_id=$2&%{QUERY_STRING} or RewriteRule ^information.php?info_id=([0-9][0-9])$ root.php?$1.html&%{QUERY_STRING} But neither rule is working for us. Are there any amendments we'd have to make in SEO-G or are we just using incorrect syntax with RewriteRule? Any help is greatly appreciated! Joost Edited August 14, 2009 by juiced Quote Link to comment Share on other sites More sharing options...
Job Posted August 14, 2009 Share Posted August 14, 2009 RewriteRule ^(.*)-i-([0-9]+).php$ information.php?info_id=$2&%{QUERY_STRING} Out of htaccess from ultimate SEO. Quote Link to comment Share on other sites More sharing options...
Job Posted August 15, 2009 Share Posted August 15, 2009 RewriteRule ^(.*)-i-([0-9]+).php$ information.php?info_id=$2&%{QUERY_STRING} Out of htaccess from ultimate SEO. Sorry, copied from the wrong file. This is the wright code. RewriteRule ^(.*)-i-([0-9]+).html$ information.php?info_id=$2&%{QUERY_STRING} But you allready tried that. Quote Link to comment Share on other sites More sharing options...
juiced Posted August 16, 2009 Author Share Posted August 16, 2009 Hi Job, thanks for your help, but indeed your suggestion didn't make the difference. The URLs don't get processed. I suspect that maybe it only works in combination with the Ultimate SEO contribution? I think it would not make a lot of sense to remove our SEO-G contribution and replace it with something else. Anyone? Thanks, Joost Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.