Forums / Contribution-Writing Guidelines / site redirects to page not found even if a php file exists - Ultimate SEO

site redirects to page not found even if a php file exists - Ultimate SEO

Locked

Views: 8,000

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
18 Aug 2010, 1:48 PM
#1
amazonpayments avatar

amazonpayments

New Zenner

Join Date:
Oct 2009
Posts:
52
Plugin Contributions:
0

site redirects to page not found even if a php file exists - Ultimate SEO

Hi,

I am the author of Checkout by Amazon plugin for zencart.

one of the merchant uses our plugin and we are getting one problem as described here
http://www.zen-cart.com/forum/showthread.php?t=161514#6

the file checkout_by_amazon.php exists in zencart directory. when redirecting from our amazon server after placing the order, the merchant website says page not found.

merchant has ultimate SEO installed.

should i have to worry about URL rewrite? how can i solve this issue?

  • Bala
    Amazon Payments
18 Aug 2010, 2:44 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: site redirects to page not found even if a php file exists - Ultimate SEO

the file checkout_by_amazon.php exists in zencart directory. when redirecting from our amazon server after placing the order, the merchant website says page not found.

merchant has ultimate SEO installed.

should i have to worry about URL rewrite? how can i solve this issue?
To trouble shoot - have the merchanty turn off the SEO re-write and see if the problem persists

Zen-Venom Get Bitten

19 Aug 2010, 6:54 PM
#3
kenichi avatar

kenichi

Zen Follower

Join Date:
Oct 2008
Posts:
252
Plugin Contributions:
0

Re: site redirects to page not found even if a php file exists - Ultimate SEO

Hi,

I'm getting the issue of 404 page not found but even with USU turned off it's still a 404 error page.

19 Aug 2010, 7:22 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: site redirects to page not found even if a php file exists - Ultimate SEO

All the so-called SEO-URL addons have mod-rewrite rules in .htaccess that control whether pages are accessible. If you haven't added special rules for new files you're adding to the site, then those new files will probably be mistreated.

Turn off the addon and delete all your .htaccess rewrite rules to see whether the system can work correctly normally without messing with normal operation.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

19 Aug 2010, 9:10 PM
#5
kenichi avatar

kenichi

Zen Follower

Join Date:
Oct 2008
Posts:
252
Plugin Contributions:
0

Re: site redirects to page not found even if a php file exists - Ultimate SEO

Thanks, we found the solution which required the help of my hosting company.

Hey Ryan,

The issue you are having is that the shopping card application is passing a full url, something disallowed by default within mod_security (A module that we run to harden our servers.)

I have white-listed that rule for your domain, the shopping cart appears to be acting normally now.
If you have this issue in the future, please email support and ask them to whitelist mod_sec rule 1234234.

If you have any further questions or support issues, please let us know!

Best regards,
James V.

18 Oct 2010, 4:26 PM
#6
bobthemolder avatar

bobthemolder

Zen Follower

Join Date:
Nov 2008
Posts:
164
Plugin Contributions:
0

Re: site redirects to page not found even if a php file exists - Ultimate SEO

Kenichi:

Thanks, we found the solution which required the help of my hosting company.

Please share :smile:

23 Oct 2010, 11:04 AM
#7
kenichi avatar

kenichi

Zen Follower

Join Date:
Oct 2008
Posts:
252
Plugin Contributions:
0

Re: site redirects to page not found even if a php file exists - Ultimate SEO

The solution was in the quote I posted above.