Thanks!
Thanks working great
Thanks!
Thanks working great
Hi,
I am trying to configure my store with Vending Box but every time I try to Import All Settings, I get the following error message:
No valid feed could be found at the specified URL. Please ensure that you have installed the correct plugin and have entered the URL correctly.
My website is www.modernhejab.com
I have also added /vendingbox_feed.php to the excluded files for Ceon URI Mapping (SEO)
Please let me know what I am doing wrong. Your help is greatly appreciated!
Hi,
The file seems to be there but is redirecting to your main site for some reason. We'll communicate with you through email to solve the problem and put the solution here so that others can make use of it if the same thing happens to them.
Best regards,
VendingBox Support.
This problem arises when the .htaccess file is set to redirect requests to the index.php script.
If your .htaccess file looks like the following:
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,5}$ [OR]
RewriteCond %{REQUEST_URI} \.(html|htm|php)$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/zc_admin [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors [NC]
# Don't rewrite cPanel directories
RewriteCond %{REQUEST_URI} !/cpanel [NC]
RewriteCond %{REQUEST_URI} !/frontend [NC]
# Handle all other URIs using Zen Cart (index.php)
RewriteRule .* index.php?%{QUERY_STRING} [L]
then you need to add the following two lines just above the "# Handle all other ..." line:
# Don't rewrite VendingBox feed request
RewriteCond %{REQUEST_URI} !/vendingbox [NC]
This will prevent mod_rewrite from intercepting requests made to the vendingbox_feed.php file.
Thanks to mmadany for finding the issue.