Post by zerBdak » Fri Jun 07, 2019 7:18 pm

Hi all,
I am using OpenCart 3.0.3.1 with Journal Theme.
After enabling SEO I am getting 404 error only for the home page. All other pages are working properly.
I have read a lot of forum posts referring exactly the opposite (home page OK but all others 404).

I have checked all the SEO enabling checklist.
- .htaccess (renamed - I am using the default one)
- installation is found in root folder (public_html) so RewriteBase /
- mod_rewrite enabled on server (other pages work - so no problem)

Clicking the eshop logo goes to https://www.mydomain.com/index.php?route=common/home (no SEO keyword for this URL yet) and everything works properly.
Clicking to the Home page (custom link to OpennCart home) returning to 404 error page.
In general https://www.mydomain.com goes to 404 error page.
It needs https://www.mydomain.com/index.php in order to work properly.

Last thing I would like to mention is that admin folder has been renamed to "customname" with the proper changes in config.php file in admin folder.

Any help is well appreciated.
Thank you in advance

Newbie

Posts

Joined
Wed Jun 05, 2019 11:27 pm

Post by D3MO » Sat Jun 08, 2019 4:38 am

make sure you dont have any index.html or index.htm (as these files loads first) then index.php by the way what is your url?

Opencart Expert | voldemaras@gmail.com
Skype - programanija | Gtalk - voldemaras@gmail.com
Extensions for Opencart @ https://www.opencartextensions.eu / or Opencart Marketplace

Need Custom Module? debug third party module or simply have any question related to Opencart? feel free to contact directly for a live chat session:) - INSTANT LIVE CHAT


User avatar
Active Member

Posts

Joined
Mon Apr 04, 2011 6:57 am

Post by cedcommerceteam » Sat Jun 08, 2019 3:40 pm

Hello zerBdak,

Generally, website opens with https://domainname.com, we need not to put index.php or index.html, but yes it should have a index.html or index.php or index.htm because it reads index file first, so please once check modification folder is there something which has overridden your home page path or path link i.e., why it needs https://www.mydomain.com/index.php instead of https://www.mydomain.com.

I hope this answer will help you in resolving your issue.

Thanks & Regards :

Call us at : (+91) -8765210318 , Skype: live:carlmorgan.cedcommerce , Email: support@cedcommerce.com

Image


User avatar
Active Member

Posts

Joined
Wed Aug 09, 2017 9:02 pm

Post by zerBdak » Sun Jun 09, 2019 12:57 am

Hi and thanks for your suggestions.
There are no index.htm or index.html files in root folder.
After further investigation it seems that the problem comes from NGINX.
My server uses Engintron (NGINX for cPanel). Disabling NGINX everything works properly.
Any advise about this?

Thank you

Newbie

Posts

Joined
Wed Jun 05, 2019 11:27 pm

Post by cedcommerceteam » Tue Jun 11, 2019 2:40 pm

Hello ZerBdak,

Is there any file or some code that overrides in NGINX for your websites index page

Please see to it, there must be any Ocmod or vQmod file that is over-riding your index page

Thanks & Regards :

Call us at : (+91) -8765210318 , Skype: live:carlmorgan.cedcommerce , Email: support@cedcommerce.com

Image


User avatar
Active Member

Posts

Joined
Wed Aug 09, 2017 9:02 pm

Post by zerBdak » Wed Jun 19, 2019 8:30 pm

For those who are facing the same issue.
The issue caused by a ModSecurity rule "Output filter: Response body too large".
Nothing to do with ENGINTRON, NGINX or PHP-FPM.
A proper configuration in mod_sec user config solved the issue.
Thanks for your time!

Newbie

Posts

Joined
Wed Jun 05, 2019 11:27 pm
Who is online

Users browsing this forum: No registered users and 6 guests