for magento when i go to www.mydomain.com/admin, it will redirect to https://www.mydomain.com/home/index.php/admin/. error 404. I think this is unsecured url issue. how to solve this?
just try with below solution to change value in core_config_data data
find this web/secure/base_url and change with simple http or https
or if you have multiple store or view you can change according to that.
Also please don't forget to clear your cache.
hope this will sure help you.
Related
After I copied my magento installation on a new domain. The admin panel doesn't work. I checked the .htaccess, baseurls and tried a lot of other things, still the 404 error page.
The version of my installion is 1.9.
Please follow the following step.
delete cache folder from var
if you domain name changed then open your database and select core_config_data and set secure and insecure web url to your domain specific url
if you have still further problem for css and js and you have to make merge css and js flag to 0 which is also found in core_config_data
Thanks,
Sam
I hope sagar helped you to get rid of the problem.
to my opinion this issue happens due to improper setup of the core stores in magento.
what I did to resolve the issue to check the core_store tables. Check if store admin is active.
Make it active and your 404 problem will go away.
Thanks me later !!!
We have Added this code
"ini_set('display_errors',1);"
in index.php but there is no error.
Please tell me another solution. Is any problem in Database or server issue?
Try to enable developer mode from index.php
And check what is error display.
Please check the logs if you get some clue there.
Also, have you used any extension which is overriding the Customer management in admin. If yes, you can try to disable it once to identify the issue.
I hope you have ensured that its happening with the edit page and not for a particular customer.
I know that that similar issues and topics exist, however my issue differs slightly and none of the proposed fixes have worked.
I was accessing the Magento backend as normal. Approximately 10 minutes after that I could no longer access the Magento backend.
What I mean is that when I go to the admin url login page, I get a 404. However the 404 isn't generated by my host, it's generated by my webstore.
Everything about my webstore works as normal.
I've seen a number of fixes, mainly this one...
http://www.magentocommerce.com/boards/viewthread/207981/#t274443
I have a few main issues.
Admin Custom URL had been set (but not by me). It was set over a year ago when Magento was installed. It worked entirely fine until today.
I do not even have "admin/url/custom" and "admin/url/use_custom" in my "core_config_data" PHP table. It simply does not exist so I cannot change it. I looked manually for it and did a search for it. Nothing.
I tried updating the local.xml file and clearing "var/caches" and "var/sessions" but that did not work either.
I've been working this for hours and it's beyond frustrating. It's imperative that this be fixed ASAP because we are a fairly sizeable company.
Thanks ahead for helping. Anything at all would be appreciated.
First Check your Apache configurations
I know that you said you were only in the Magento admin but I would first check that apache was configured correctly. This is the first point of contact and you need to ensure that it's working right.
You need to locate a default Magento htaccess file that you can upload to your server. There's additional configurations that you need to make if you're in a subdirectory and also check to make sure that your mod_rewrite is working properly. There's an extensive tutorial on these things here, magento htaccess.
Make sure that you have the right magento admin url
I have to assume that you know what your magento admin url is, but of course I would double check that you're getting it right. There is an option in the admin area to change the admin url, you could have adjusted that on accident.
You say that you don't have "admin/url/custom" and "admin/url/use_custom" in your core_config_data table. This actually means that you didn't set the magento admin url from the admin area. However there is a third place that you can look for your admin url. This is in app/etc/local.xml but you couldn't have changed this from the administration area.
Did you turn off search engine friendly urls?
If you had been accessing your administrative area using /admin and then accidentally turned off SEF urls, then your admin area could have just simply moved to /index.php/admin. Of course you mentioned that you have a custom admin url, but I don't know what that is, so I'm giving examples with the default.
I can't really give you any more suggestions without more information. I hope that this helps!
Found this and thought I would post here since it shows up in google.
http://sourcelibrary.org/2011/05/19/magento-404-page-not-found-error-for-admin-panel-access/#comment-8444
In backend, when I click the “Reset Filter” button, it redirects to wrong url and displaying the 404 error.
I don’t know, how to debug this issue.
please help me,
Thanks in advance
Check your store or website base url.
Is there way to disable the secure login/registeration/forgot password alone, but all other pages like checkout customer dashboard area can use https but i want to disable secure url for only customer login/registeration/forgot pages, i checked on custome r module /etc/config.xml but couldnot find anything like that.
Please help me
Thanks in advance.
First you'll want to do all this from app/code/local/ of course!
With that being said you'll need to extend/edit app/code/core/Mage/Customer/etc/config.xml:
<secure_url>
<customer>/customer/account/</customer>
</secure_url>
...and remove it.
Next you'll need to edit/extend app/code/Core/Mage/Customer/Helper/Data.php:
and modify the _getUrl()'s to force using secure url on the pages you want it to be secure:
return $this->_getUrl('customer/account', array('_secure' => true));
NOTE: Like everyone else mentioned this isn't exactly a good idea from a security stand point.
Hope this helps!
Did you think that Login pages are accessed via HTTPS for a reason? The reason is to protect them from modification. Removing HTTPS will open a huge security hole and will cause leakage of passwords of your web site visitors.
So, you should overload the blocks that contents url links and rework it to get urls witout http. But the good is to use in your box the iframes.