- Posts: 30
- Thank you received: 1
Turn on Use URL Rewriting all hikashop menu error 404
-- HikaShop version -- : 5.1.1
-- Joomla version -- : 5.2.2
-- PHP version -- : 8.2
-- Error-message(debug-mod must be tuned on) -- : 404
hi
after i turn on Use URL Rewriting all hikashop page error 404
Please Log in or Create an account to join the conversation.
I can see that URL rewriting is activated on your website, and I couldn't find 404 errors on your website. All the HikaShop pages I tried worked fine.
Please provide precise information on where to find the errors.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
For some reason I see the 404 error, which I didn't get yesterday.
Renaming the templates/YOUR_TEMPLATE/error.php file via FTP to something else in order to deactivate it. Also, turn on the "debug" setting of the Joomla configuration page. Then, access a page with the error. It should hopefully display more information on the problem, which will help understand what's going on.
Please Log in or Create an account to join the conversation.
nicolas wrote: For some reason I see the 404 error, which I didn't get yesterday.
yesterday i turn off Use URL Rewriting (because this website work and i cant down it for long time)
nicolas wrote: Renaming the templates/YOUR_TEMPLATE/error.php file via FTP to something else in order to deactivate it.
i rename it now, and disable all code inside it
nicolas wrote: Also, turn on the "debug" setting of the Joomla configuration page.
nicolas wrote:
no any more informationnicolas wrote: Hi,
Then, access a page with the error. It should hopefully display more information on the problem, which will help understand what's going on.
Please Log in or Create an account to join the conversation.
Then, it's not a website issue but a server issue.
I think you must have missed something with the steps to activate this setting as explained here:
docs.joomla.org/Enabling_Search_Engine_Friendly_%28SEF%29_URLs
Please review these.
Please Log in or Create an account to join the conversation.
and if u see my site all other link ( non hikashop work as fine )
Please Log in or Create an account to join the conversation.
idk what can i do
Please Log in or Create an account to join the conversation.
I don't see any menu item other than ones for HikaShop on your website.
Also, I can see that the links works again on your website. And SEF is still enabled. Only the index.php is in the URL. And if the URLs don't work without the index.php, in most cases it means that the htaccess.txt file has not been renamed to .htaccess or the configuration of the web server has not been done properly.
I can't say more than this.
You might want to post your issue on forum.joomla.org as I believe that the issue is for all your website, not just HikaShop, and everything points at what I said.
Please Log in or Create an account to join the conversation.
nicolas wrote: Hi,
I don't see any menu item other than ones for HikaShop on your website.
Also, I can see that the links works again on your website. And SEF is still enabled. Only the index.php is in the URL. And if the URLs don't work without the index.php, in most cases it means that the htaccess.txt file has not been renamed to .htaccess or the configuration of the web server has not been done properly.
I can't say more than this.
You might want to post your issue on forum.joomla.org as I believe that the issue is for all your website, not just HikaShop, and everything points at what I said.
nicolas wrote: Also, I can see that the links works again on your website.
bro i told you i cant TURN OFF this website for long time... ( if i turned on Use URL Rewriting ) site show me error 404 ( i just turned in for half day you see error ) after you answer me i turned off it and site work as fine again
my problem is this INDEX.PHP show in all links...
nicolas wrote: And SEF is still enabled. Only the index.php is in the URL. And if the URLs don't work without the index.php, in most cases it means that the htaccess.txt file has not been renamed to .htaccess or the configuration of the web server has not been done properly.
i change htaccess name
and server this is not my main server ( we all rent some host from other company ) we access to C-Panel and some config ( we cant change server config ) in this host 3 more website work ( avisapro.ir / behpookaran.ir and ... ) other website work without index.php and sef fine ( so this problem just for medequip.ir not from server ) i wanna know this problem come from hikashop ? or gantry 5 framework ? or my template !!! this is broken my mind because ( i receive error 404 without any error massage ) so i cant understand this 404 coming from where bro
and thanks for your answering
i love hikashop for ever this Super Powerfull SHOP MAKER in the world... ( who say this 22 years as web design work with lot of shop maker _ woocommerce, virtuemart, presta shop and etc...
i found just 1 little problem in hikashop ( UI most be reworked to graphic UI )
Please Log in or Create an account to join the conversation.
Maybe I wasn't clear enough. The problem is not in HikaShop's code, nor in HikaShop's settings, nor gantry 5 nor your template. The problem is with the setup of your server or the htaccess file.i wanna know this problem come from hikashop ? or gantry 5 framework ? or my template !!! this is broken my mind because ( i receive error 404 without any error massage ) so i cant understand this 404 coming from where bro
If the htaccess.txt file is not renamed to .htaccess you can't remove the index.php in the URLs, or the URLs will all display 404 errors.
And on some servers, additional steps need to be made in the server configuration to support the removal of the index.php as explained in the link I gave before:
docs.joomla.org/Enabling_Search_Engine_Friendly_%28SEF%29_URLs
If you renamed the htaccess, and followed the steps there and it still doesn't work then you missed something with the instructions there, or something else on your website messed with the htacccess. For example, if you manually empty the htaccess file, even if you rename it to .htaccess, it won't work. There are some components, like adminTools, which can modify the htaccess based on how you configure it. So it's possible you might have messed up that file without knowing it. I would recommend comparing the file with the default htaccess file of a Joomla install package.
In any case, your issue is between Joomla and your server. That's why I told you to ask on forum.joomla.org
The problem is not in HikaShop and our support is only for HikaShop so we can't help further on that index.php issue.
Please Log in or Create an account to join the conversation.
nicolas wrote: Hi,
Maybe I wasn't clear enough. The problem is not in HikaShop's code, nor in HikaShop's settings, nor gantry 5 nor your template. The problem is with the setup of your server or the htaccess file.
If the htaccess.txt file is not renamed to .htaccess you can't remove the index.php in the URLs, or the URLs will all display 404 errors.
And on some servers, additional steps need to be made in the server configuration to support the removal of the index.php as explained in the link I gave before:
docs.joomla.org/Enabling_Search_Engine_Friendly_%28SEF%29_URLs
If you renamed the htaccess, and followed the steps there and it still doesn't work then you missed something with the instructions there, or something else on your website messed with the htacccess. For example, if you manually empty the htaccess file, even if you rename it to .htaccess, it won't work. There are some components, like adminTools, which can modify the htaccess based on how you configure it. So it's possible you might have messed up that file without knowing it. I would recommend comparing the file with the default htaccess file of a Joomla install package.
In any case, your issue is between Joomla and your server. That's why I told you to ask on forum.joomla.org
The problem is not in HikaShop and our support is only for HikaShop so we can't help further on that index.php issue.
yes with this i found problem
you right all this problems coming from htaccess
this is not for name or ...
i say what happen maybe some one else have this problem :
i install some component ( name is JCH Optimizer ) this component always work fine but not after update it from version 8 to 9 this component remove all htaccess code... ( all of them ) and add some new code from JCH to htaccess, so htaccess have not default code and i receive this problem
sorry for my bad english i hope this commend help other people too
Please Log in or Create an account to join the conversation.
Great! I would recommend reporting the issue to that other component so that they can look into the problem. If they find an issue and fix it, others won't have the problem in the future.
Please Log in or Create an account to join the conversation.