Latest News: (loading..)

zipicip

Members
  • Content count

    59
  • Joined

  • Last visited

About zipicip

Profile Information

  • Real Name
    Zip
  1. Robert, I use KissER Error Handling & Debugging and memcache as cache system for seo url. I saw that information page is not stored correctly. Every time it query for page name. Can u check please.
  2. I use Traditional Rewrite Seo Urls ( Requires mod_rewrite and RewriteRules added to .htaccess ) www.mysite.com/category-name-c-1.html I want to remove .html from url because I want to rewrite page navigation Example www.mysite.com/category-name-c-1.html?page=5 to www.mysite.com/category-name-c-1/page-5 Another example www.mysite.com/category-name-c-1.html?page=5&filter=some_filter to www.mysite.com/category-name-c-1/page-5/filter-name-ff-filterId Is there any fast way to change that ? Your code is very well structured but it will take me some time to understand it . Can u give me a hint want to look for (function name) or what to change Thanks
  3. I managed to resolve this by adding #htacess condition RewriteCond %{HTTP_HOST} ^mysite\.com$ [NC] RewriteRule ^(.*)$ http://www.mysite.com/$1 [L,R=301] Before # RewriteBase instructions # Change RewriteBase dependent on how your shop is accessed as below. # http://www.mysite.com = RewriteBase / # http://www.mysite.com/catalog/ = RewriteBase /catalog/ # http://www.mysite.com/catalog/shop/ = RewriteBase /catalog/shop/ # Change RewriteBase using the instructions above RewriteBase / RewriteRule ^([a-z0-9/-]+)-p-([0-9]+).html$ product_info.php [NC,L,QSA]
  4. #htacess condition RewriteCond %{HTTP_HOST} ^mysite\.com$ [NC] RewriteRule ^(.*)$ http://www.mysite.com/$1 [L,R=301] First page: http://www.mysite.com/product-page-p-7896.html Remove the www: http://mysite.com/product-page-p-7896.html -> http://www.mysite.com/product_info.php - 301 moved -> http://www.mysite.com/index.php?cPath= - 301 moved Can u help debugging this FWR MEDIA ?
  5. Hello. In my httacess I have # To redirect all users to access the site WITH the 'www.' prefix, # (http://mysite.com/... will be redirected to http://www.mysite.com/...) # adapt and uncomment the following: RewriteCond %{HTTP_HOST} ^mysite\.com$ [NC] RewriteRule ^(.*)$ http://www.mysite.com/$1 [L,R=301] But when I try to acces a rewrite link of an manufacturer page Ex: http://www.mysite.com/manufacturer-m-1.html it redirects to www.mysite.com I guess maybe from 301 redirect .... ? Can u help ? Another example: http://www.mysite.com/product-name-p-1.html (product page) it redirects to http://www.mysite.com/index.php?cPath=
  6. Hello. I have a question ..... ultimate_seo_urls5/includes/usu_general_functions This is the original function function usu_cleanse( $value ) { return preg_replace( '@[^a-z0-9_]@i', '', $value ); } I need [] because I use query array like gender[]=male&gender[]=female And also I need "-" character because for example http://www.domain.com/product_info.php?products_id=6770&utm_campain=zz-cc it redirect to http://www.domain.com/products-name-p-6770.html?utm_campain=zzcc and it removes the - character from the query It is safe to change function to? function usu_cleanse( $value ) { return preg_replace( '@[^a-z0-9_ \%\+\[\]-]@i', '', $value ); } I added [], -
  7. and ultimate_seo_urls5/includes/usu_general_functions change function usu_cleanse( $value ) { return preg_replace( '@[^a-z0-9_]@i', '', $value ); } into function usu_cleanse( $value ) { return preg_replace( '@[^a-z0-9_\[\]]@i', '', $value ); }
  8. I did a hack $custom_url_allow_array = http_build_query( $_GET ); $custom_url_allow_array = preg_replace('/%5B([0-9]+)%5D/', '[]', $custom_url_allow_array ); ultimate_seo_urls5/uri_modules search for http_build_query( $_GET ) Usu_Main::i()->setVar( 'request_querystring', $custom_url_allow_array );
  9. I found out that this is the function that translate url setVar( 'request_querystring', http_build_query( $_GET ) ) (search for all apperences in ultimate_seo_urls5 folder ) other alternative to keep []
  10. how can I allow something like this http://www.domain.com/adidas-m-10.html?form_arrray_variable[]=zz because it automated translated in http://www.domain.com/adidas-m-10.html?form_arrray_variable5B05D=zz
  11. OK. Its seams logic but the problem I am referring is on products_listing page. I guess that are the important links. How can I debug so I can test what is caching. I need to know your algorithm. (the main idea) Thanks a lot.
  12. I am using KissER Error Handling & Debugging with ULTIMATE Seo Urls 5 . As cache option I use sqllite. When I first reset cache Everything is working fine. I tested with kiss error and almost no query. But after an hour when I test again for every product I get this query (I guess this is form tep_href_link function) Number: 3 Time: 0.0003 Seconds. Query: SELECT pd.products_name, m.manufacturers_name, cd.categories_name, p.products_model, p2c.categories_id FROM products_description pd INNER JOIN products_to_categories p2c ON p2c.products_id = pd.products_id INNER JOIN products p ON pd.products_id = p.products_id LEFT JOIN manufacturers m ON m.manufacturers_id = p.manufacturers_id INNER JOIN categories_description cd ON p2c.categories_id = cd.categories_id AND cd.language_id='1' WHERE pd.products_id='6548' AND pd.language_id='1' LIMIT 1 ..... Until Number: 32 ..... I checked permissions and everything is fine. (file usu_cache.db is almost 1 mb)
  13. Hello. I use this contribution with KissER Error Handling and Debugging. I selected sqlite as cache system. When I debugg to see query executed I get on every page Number: 1 Time: 0.0001 Seconds. Query: SELECT information_title FROM information WHERE information_id='10' AND language_id='1' LIMIT 1 (in header there is a link tep_href_link(FILENAME_INFORMATION, 'info_id=10')) but this link should be cached isn't it?
  14. Thanks a lot. I didn't understand that class name class Xxx_Page_Module extends aPage_Modules must be as the same as file name for example: if file_name is : this_is_a_test.php class must be name This_Is_A_Test_Page_Module
  15. Call to a member function retrieveDependencies() on a non-object Hello. I am trying to create a new module using class Usu_Template.php .