“&” character is blocking on new versions of woocommerce
-
hi i updated woo to 3.4.3 latest version. now all of my affiliate links on my site arent working. im adding “linked (affliate) product” on woo.
the “&” character and the following is auto removing.
im installing the old version now. i need urgent help. this is a bug.
real url: https://ad.test.com/aff_c?offer_id=967&aff_id=4032&asdfastafafsafsafasfasfasf
if i click buy now, it is redirecting to there: https://ad.test.com/aff_c?offer_id=967
i tested this on 3.3.5 and 3.4.3 on new clean website, new version has the problem.
please help me.
The page I need help with: [log in to see the link]
-
Hi there,
Any chance you can send through some screenshots of how that product has been configured? Also, please send through a copy of your system status report – you can find that under WooCommerce > System Status.
Thanks!
Hi @tosunkaya,
Please let us know if you still need any help from us or if we can mark this thread as
Resolved
? Thank you and looking forward to your reply!Hi @tosunkaya,
Looks like you are all set for now so I am going to mark this thread as
Resolved
. Feel free to connect with us again should you have any additional questions!Marking as
Resolved
.i saw your reply recently. i still need help.
sample product: https://kuponla.com/sale/urun/lacoste-erkek-mavi-polo-t-shirt-27/
here is status:
also its not related with theme. i tried with wordpress.com themes like twentyseventeen etc. problem continues. tried with disabling all plugins.
screenshot: https://snag.gy/UPLx65.jpg
### WordPress Environment ### Home URL: https://kuponla.com/sale Site URL: https://kuponla.com/sale WC Version: 3.3.5 Log Directory Writable: ? WP Version: 4.9.7 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: tr_TR ### Server Environment ### Server Info: LiteSpeed PHP Version: 7.2.7 PHP Post Max Size: 8 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.60.0 OpenSSL/1.0.2k SUHOSIN Installed: – Max Upload Size: 8 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 3.3.5 WC Database Prefix: wprx_ Toplam Veritaban? Boyutu: 314.54MB Veritaban? Veri Boyutu: 198.42MB Veritaban? ?ndis Boyutu: 116.12MB wprx_woocommerce_sessions: Data: 0.00MB + Index: 0.00MB wprx_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB wprx_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB wprx_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB wprx_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB wprx_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.00MB wprx_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB wprx_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB wprx_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB wprx_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB wprx_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB wprx_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB wprx_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB wprx_woocommerce_log: Data: 0.00MB + Index: 0.00MB wprx_commentmeta: Data: 0.00MB + Index: 0.00MB wprx_comments: Data: 0.00MB + Index: 0.00MB wprx_datalist: Data: 0.00MB + Index: 0.00MB wprx_links: Data: 0.00MB + Index: 0.00MB wprx_litespeed_img_optm: Data: 0.02MB + Index: 0.09MB wprx_litespeed_optimizer: Data: 0.05MB + Index: 0.03MB wprx_options: Data: 6.01MB + Index: 0.36MB wprx_pmxi_files: Data: 0.00MB + Index: 0.00MB wprx_pmxi_history: Data: 0.00MB + Index: 0.00MB wprx_pmxi_images: Data: 0.02MB + Index: 0.00MB wprx_pmxi_imports: Data: 0.16MB + Index: 0.00MB wprx_pmxi_posts: Data: 12.78MB + Index: 2.62MB wprx_pmxi_templates: Data: 0.29MB + Index: 0.00MB wprx_postmeta: Data: 126.10MB + Index: 90.02MB wprx_posts: Data: 39.58MB + Index: 8.13MB wprx_termmeta: Data: 0.00MB + Index: 0.01MB wprx_terms: Data: 0.00MB + Index: 0.01MB wprx_term_relationships: Data: 3.42MB + Index: 7.33MB wprx_term_taxonomy: Data: 0.00MB + Index: 0.00MB wprx_usermeta: Data: 0.01MB + Index: 0.01MB wprx_users: Data: 0.00MB + Index: 0.01MB wprx_wc_download_log: Data: 0.02MB + Index: 0.03MB wprx_wc_webhooks: Data: 0.02MB + Index: 0.02MB wprx_yith_wcwl: Data: 0.00MB + Index: 0.00MB wprx_yith_wcwl_lists: Data: 0.00MB + Index: 0.01MB wprx_yoast_seo_links: Data: 7.91MB + Index: 5.72MB wprx_yoast_seo_meta: Data: 2.03MB + Index: 1.72MB ### Post Type Counts ### attachment: 1 blocks: 1 customize_changeset: 2 nav_menu_item: 1 page: 3 post: 1 product: 85489 revision: 4 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (8) ### Featured Image From URL: (Marcel Jacques Machado) – 1.8.7 – WooCommerce’in etkin sürümüyle test edilmemi?tir Tosunkaya.com | Teknoloji ve ?nternet Blogu: (tosunkaya) – 2016.02.27 LiteSpeed Cache: (LiteSpeed Technologies) – 2.4 WooCommerce: (Automattic) – 3.3.5 – 3.4.3 mevcut Yoast SEO: (Yoast ekibi) – 7.7.3 WP All Import Pro: (Soflyy) – 4.5.4 WP All Import - WooCommerce Add-On Pro: (Soflyy) – 2.4.1 YITH WooCommerce Wishlist: (YITHEMES) – 2.2.2 ### Settings ### API Enabled: – Force SSL: – Currency: TRY (?) Currency Position: right Thousand Separator: . Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) ### WC Pages ### Ma?aza giri? sayfas?: #880 - / Sepet sayfas?: ? Sayfa ayarlanmam?? ?deme sayfas?: ? Sayfa ayarlanmam?? Hesab?m sayfas?: ? Sayfa ayarlanmam?? ?artlar ve ko?ullar: ? Sayfa ayarlanmam?? ### Theme ### Name: Flatsome Version: 3.6.0 Author URL: https://www.uxthemes.com/ Child Theme: ? – WooCommerce'i kendinizin olu?turmad??? ana bir temada düzenliyorsan?z yard?mc? bir tema kullanman?z? ?neririz. Bkz.: Nas?l yard?mc? tema olu?turulur? WooCommerce Support: ? ### Templates ### Overrides: flatsome/woocommerce/archive-product.php flatsome/woocommerce/cart/cart-empty.php flatsome/woocommerce/cart/cart.php flatsome/woocommerce/checkout/form-checkout.php flatsome/woocommerce/checkout/form-coupon.php flatsome/woocommerce/checkout/thankyou.php flatsome/woocommerce/content-product.php flatsome/woocommerce/content-product_cat.php flatsome/woocommerce/content-single-product.php flatsome/woocommerce/global/breadcrumb.php flatsome/woocommerce/global/quantity-input.php flatsome/woocommerce/global/wrapper-end.php flatsome/woocommerce/global/wrapper-start.php flatsome/woocommerce/loop/loop-end.php flatsome/woocommerce/loop/loop-start.php flatsome/woocommerce/loop/orderby.php 2.2.0 sürümü güncel de?il. ?ekirdek sürüm: 3.3.0 flatsome/woocommerce/loop/pagination.php flatsome/woocommerce/loop/result-count.php flatsome/woocommerce/loop/sale-flash.php flatsome/woocommerce/myaccount/form-login.php flatsome/woocommerce/myaccount/navigation.php flatsome/woocommerce/notices/error.php flatsome/woocommerce/notices/notice.php flatsome/woocommerce/notices/success.php flatsome/woocommerce/product-searchform.php flatsome/woocommerce/single-product/photoswipe.php flatsome/woocommerce/single-product/price.php flatsome/woocommerce/single-product/product-image.php flatsome/woocommerce/single-product/product-thumbnails.php flatsome/woocommerce/single-product/rating.php flatsome/woocommerce/single-product/related.php flatsome/woocommerce/single-product/review.php flatsome/woocommerce/single-product/sale-flash.php flatsome/woocommerce/single-product/share.php flatsome/woocommerce/single-product/short-description.php flatsome/woocommerce/single-product/tabs/tabs.php flatsome/woocommerce/single-product/title.php flatsome/woocommerce/single-product/up-sells.php flatsome/woocommerce/single-product-reviews.php flatsome/woocommerce/single-product.php Outdated Templates: ?Nas?l güncelle?tirilece?ini ??renin
Hi @tosunkaya,
I tested this and have a & in the affiliate link has no issue. I’ll mark this as resolved.
Thanks,
Did u really test with same url on latest version? Or did u fix on v3.4.4? It wasnt working on 3.4.3 and working on 3.3.5
are you kidding me? i updated to 3.3.5 to 3.4.5 ISSUE STILL CONTINUES.
original link on 3.3.5: https://tr.rdrtr.com/aff_c?offer_id=2792&aff_id=17854&file_id=60993&url=https%3A%2F%2Fwww.divarese.com.tr%2Fp_antrasit-suet-deri-loafer_50163%3Futm_source%3Dgeli
new broken link on 3.4.5: https://tr.rdrtr.com/aff_c?offer_id=2792
and u r saying “i tested and working” really?
Hi @tosunkaya
Yes, the affiliate link works with ampersands (&) and it works on the most recent version. Although you’ve mentioned you’ve conflict tested, I see in the Status report that the theme active at the time has several templates overrides and there is a caching plugin that could cause issues.
I’d also recommend you to review the .htaccess file for redirects, try again switching back to a default theme like Twenty Seventeen and disable all plugins except for WooCommerce again afterward to see if this resolves the issue.
i disabled everything and tried twenty seventeen still same. last working version is 3.3.5 then it removes everything after “&”
Hi @tosunkaya,
If you click on “Buy Product” for this External/Affiliate product, are you taken to a URL that contains an ampersand (&) if not multiple?
https://coy-test-site.mystagingwebsite.com/product/woo-ninja/
You’ll see here the ampersands added to the Product URL: https://cld.wthms.co/uFlEcs
That said, there could be something in your site’s
.htcaccess
that is causing this to fail. You may want to contact your host for help with help finding the cause as it’s not an issue with WooCommerce.Hi @tosunkaya
We haven’t heard from you in a while so I’ll close this thread for now. Feel free to open a new thread if you still have troubles after checking the
.htaccess
file and consult with your host.
- The topic ‘“&” character is blocking on new versions of woocommerce’ is closed to new replies.