How to get the admin login page in magento if it is showing 404 Error page not Found? - magento

I am doing a project in Magento.I have uploaded the project onto the server, the front end design of the project is showing correctly but when the admin login page is retrieved, its showing 404 error page not found.I have tried many solutions shown in the links below:
Magento 404 on Admin Page
But still it is not working.Can anyone suggest a solution for this?

I had a similar issue. After moving from one server to another admin showing 404. Problem was in configuration. In System->Configuration->Web->Secure->Use Secure URLs in Admin was set to "Yes", but https wasn't configured.
I'm in table core_config_data found row with path "web/secure/use_in_adminhtml" and set "value" = 0.
The problem is not widespread, but you can check this. Hope this helps

Related

Magento /admin panel doesn't work

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 !!!

Joomla homepage and global configuration showing 404 error, how do I fix it?

When I go to the homepage url of my joomla site a 404 error shows up that simply says 404 Not Found. I have the home page set as the default in the menus item manager. Are there any other ways to fix this? Also, I am getting a 404 error when I go to the global configuration page.
I believe we have the same problem. I think your joomla site may have been hacked as well, and the fix for this is easy. You just basically need to delete files. Here's a reference to the problem http://forum.joomla.org/viewtopic.php?f=428&t=786545.

Magento Admin 404 after sessions expire

We have just moved our joomla/magento site to a new server. We are now getting some intermittant 404 errors for the magento admin panel
We are able to use the Magento Admin periodically. After a couple of hours we will start getting a 404 after logging in. Once we manually clear the magento cache it starts to work again.
When we start getting the 404 the issue appears to be related to the URL.
Our setup is:
Joomla is in the root directory.
Magento (1.5.0.1) is in a sub-directory /magento
When the Admin panel (www.oursite.com.au/magento/_admin) is working the url after login is
https://www.oursite.com.au/magneto/index.php/_admin/..........
When the 404 starts occuring the url drops the 'magento' out of the url and becomes
https://www.oursite.com.au/index.php/_admin/............
After manually cleaning the magneto cache the issue is resolved. After a few hours it starts to occur again.
Any help would be appreciated.
Well I found the solution to the problem that we have been having.
Some where along the line the permissions of the magento/var/cache directory where incorrect. Apparently if magento can't write to this directory it starts writing to the global /tmp directory.
This post on the magento forum has the info and solution:
http://www.magentocommerce.com/boards/v/viewthread/282544/#t391174
Hope it helps someone.

Magento not using appropriate URL - 404 Page not found

I have a magento site running locally using WAMP and it works great. However I need to create a different site so I created a folder for this new site under htdocs.
In that folder I loaded the Magento files.
Created a new database for newsite with all rights in phpmyadmin.
Went to the localhost:8888/newsite and started Magento installation wizard.
In the configuration section of the wizard I entered all the info required: db name, user, password. For URL Base I used the default (http://localhost:8888/newsite). Selected allow charts and Allow apache rewrites. Finished installing magento.
Now magento is running on newsite. I can see the front and back-end of the site.
Here is the problem: When I create a category and/or subcategory, magento does create the menu link but when I click any category, the browser takes me to a 404 not found. Upon analyzing the URL that took me there i see that the URL is : http://localhost:8888/newsite/category.html BUT by adding "index.php" into the URL (http://localhost:8888/newsite/index.php/category.html , the page does work!
So this means magento IS creating the page for the category but the linking is somewhat wrong.
Now, I've been making sure that rewrite is enabled and after all, the other site I mentioned I have is working properly, so I assume rewrite is properly enabled.
So I need help finding:
Why is one site working and the other isn't?
How can I fix this issue?
Thank you!
Sounds like you haven't copied over the .htaccess file (in your Magento root folder). You need this file for the Apache rewrites to work.

Magento Homepage Keeps on redirecting to a 404 page

I have been on this issue for almost a week now and have been research all over the net for answers but i could not find one.
Problem:
each time i access the homepage of my site, it results to a 404 error.
ex.
http://www.domain.com ---> redirects to 404
http://www.domain.com/home ---> enters to the cms page that i set as my homepage
I have already run the magento cleanup scripts but it was not able to solve the problem.
ERROR MESSAGE:
Whoops, our bad...
The page you requested was not found, and we have a fine guess why.
If you typed the URL directly, please make sure the spelling is correct.
If you clicked on a link to get here, the link is outdated.
What can you do?
Have no fear, help is near! There are many ways you can get back on track with Magento Store.
Go back to the previous page.
Use the search bar at the top of the page to search for your products.
Follow these links to get you back on track!
Store Home | My Account
I've got a similar error and would like to post my solution here. The case was exactly the same for me: all the pages, categories, etc. worked perfectly, but the home page showed a 404 error.
I looked into the core_url_rewrite table and discover that there was an entry with the «request_path» field empty. So this entry was rewriting my base url and that was the reason for the 404 in my case. I just deleted it.
Hope this helps to other people.
If you are using the Enterprise version you should check the table enterprise_url_rewrite. The query below should help you:
select * from enterprise_url_rewrite where request_path="";
delete from enterprise_url_rewrite where request_path="";
Check the folowing:
1- System->Configuration->general->Web->secure
Base URL: http://www.your-site.com/
(be sure you are in the right shop site from the top left of the system)
2- System->Configuration->general->Web->Default Pages
Default Web URL: cms (yes just cms)
CMS Home Page: select your cms page
Default No-route URL: cms/index/noRoute
3- check your server has rewrites otherwise
System->Configuration->general->Web->Search Engines Optimization
Use Web Server Rewrites: No
4- something wrong with your .htaccess replace the file with the one in your original installer.
Because StackOveflow has this stupid rule that I must have a certain number of "points" before I can chime in on discussions I need to make this as a "new answer":
open-ecommerce.org's #2 also solved the problem for me
2- System->Configuration->general->Web->Default Pages Default Web URL:
cms (yes just cms) CMS Home Page: select your cms page Default
No-route URL: cms/index/noRoute
for me this was set to "index". No clue how it worked before, or why it was set that way, but after updating it broke and this was the fix for me.
Note that I did also truncate the 'core_url_rewrite' table as well in troubleshooting. If you don't change urls at all, or often, then that's no big deal. But if you are chaning URLs often, then you'll loose your 301 redirect history (all old urls will 404 going forward).
Open-ecommerce.org solution # 2 , worked for me.
I initially set my "Defaul Web URL" as the URL of the homepage. Similar to what I did with the baseURL but I was wrong.
I changed it to "CMS"
From there, it all works.
Thanks!

Resources