Search found 46 matches

by shotputty
Tue Jun 15, 2010 12:03 pm
Forum: osCommerce Modules
Topic: [osCommerce] Fatal error with correct Zend en php version
Replies: 2
Views: 3287

Re: [osCommerce] Fatal error with correct Zend en php versio

Binary was ok. I just upgraded from Zend 3.2x to 3.3.9 , that did make the difference, it now works. Strange I need such a high version. I will now PM you for that other issue with static pages! Thanks! 8-)
by shotputty
Tue Jun 15, 2010 10:19 am
Forum: osCommerce Modules
Topic: [osCommerce] Fatal error with correct Zend en php version
Replies: 2
Views: 3287

[osCommerce] Fatal error with correct Zend en php version

I get this error: Fatal error: Incompatible file format: The encoded file has format major ID 3, whereas the Optimizer expects 2 in /home/p*****/domains/mydomain.de/public_html/includes/magic_seo_url.php on line 0 PHP Version: 5.2.5 (Zend: 2.2.0) Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Tech...
by shotputty
Tue Jun 15, 2010 4:42 am
Forum: Custom Rewrite Rules
Topic: [osCommerce] Rewrite rule for custom page not redirecting
Replies: 26
Views: 35209

Re: [osCommerce] Rewrite rule for custom page not redirectin

I will purchase another license (new site) today and will send you the ftp of that domain. If you can solve the static pages on that site I can use that generic solution on my other site. The reason is i can't have testing too much on a very busy domain. If this will work you migth help out many mor...
by shotputty
Fri Jun 11, 2010 11:27 pm
Forum: Custom Rewrite Rules
Topic: [osCommerce] Rewrite rule for custom page not redirecting
Replies: 26
Views: 35209

Re: [osCommerce] Rewrite rule for custom page not redirectin

I placed the code at the bottom of .htaccess all times. After the changes I make the file read only again. I know it has changed because after each failed attempt I go back to the file (first make it writeable to edit again) and undo the trial code because it makes that particular page not work.
by shotputty
Fri Jun 11, 2010 9:20 am
Forum: Custom Rewrite Rules
Topic: [osCommerce] Rewrite rule for custom page not redirecting
Replies: 26
Views: 35209

Re: [osCommerce] Rewrite rule for custom page not redirectin

Ok, now I put: #all_products.php - all products RewriteRule ^all_products.php$ en/all-products? [L,R=301,QSA] RewriteRule ^([a-z]{2})/all-products$ all_products.php?language=$1 [L,QSA] at the bottom of .htaccess. (and change back to read only) After that the page mydomain.com/all_products.php stays ...
by shotputty
Fri Jun 11, 2010 1:20 am
Forum: Custom Rewrite Rules
Topic: [osCommerce] Rewrite rule for custom page not redirecting
Replies: 26
Views: 35209

Re: [osCommerce] Rewrite rule for custom page not redirectin

yes, in this format:

Code: Select all

RewriteCond %{QUERY_STRING} ^language=([a-z]{2})$
RewriteRule ^all_products.php$ %1/all-products? [L,R=301]
RewriteRule ^([a-z]{2})/all-products$ all_products.php?language=$1 [L,QSA]


didn't work..
by shotputty
Thu Jun 10, 2010 1:18 am
Forum: Custom Rewrite Rules
Topic: [osCommerce] Rewrite rule for custom page not redirecting
Replies: 26
Views: 35209

Re: [osCommerce] Rewrite rule for custom page not redirectin

I would purchase just about 10 more licenses for multiple OScommerce sites if this static page addition could get solved (multi language of course). Until that time I have partially SEO sites and partially just plain OScommerce. Any more tips would be greatly appreciated! :)
by shotputty
Thu May 20, 2010 2:21 am
Forum: Custom Rewrite Rules
Topic: [osCommerce] Rewrite rule for custom page not redirecting
Replies: 26
Views: 35209

Re: [osCommerce] Rewrite rule for custom page not redirectin

Is this too difficult? What are the options for all the OScommerce users who have a non standard static php page added in their shop?

Can't there be a uniform solution, maybe add pagenames in the .ini file in the future? :P

Or can these pages be added in the magic-seo-rul.php file on request?
by shotputty
Sat May 15, 2010 2:38 am
Forum: Custom Rewrite Rules
Topic: [osCommerce] Rewrite rule for custom page not redirecting
Replies: 26
Views: 35209

Re: [osCommerce] Rewrite rule for custom page not redirectin

I these 2 rules can be merged into 1 rule I think it should work (with the RewriteCond above it ofcourse): RewriteRule ^all_products.php$ %1/all-products? [L,R=301] RewriteRule ^([a-z]{2})/all-products$ all_products.php?language=$1 [L,QSA] Is that possible or is it no problem to have 2 rules for the...