I Can't access admin page - it get redirected to page not found and also front end product not showing and front end links not working after changing our hosting server
Asked
Active
Viewed 1,236 times
0
-
Have you an error output ? – Ivan Barayev Dec 24 '16 at 23:57
-
no error, just page not found and also my front end product not showing but the frontend index page shows up but no product showing on it and also the links to different categories too are showing not found – Niang Moore Dec 25 '16 at 00:04
-
check the .htaccess file is there or not ? – Ivan Barayev Dec 25 '16 at 00:08
-
yes there is .htaccess file at the root folder – Niang Moore Dec 25 '16 at 00:10
-
can you put screenshoot of your file structure – Ivan Barayev Dec 25 '16 at 00:23
2 Answers
0
Possible solutions:
- Open your
core_config_data
table inphpMyAdmin
and make sure you have changed the URLs if not than changeweb/unsecure/base_url
andweb/secure/base_url
with your appropriate domain url (trailing slash necessary) likehttp://www.example.com/
- Incorrect permissions on
var/session
, preventing session files from being saved. So set0777
permissions to var folder. The
cookie
domain inSystem -> Configuration -> Web -> Session Cookie Management
doesn't match the actual site domain
- Clear contents from var/cache,
var/session
directories after changingbase_urls
through ftp - You can refer Can't log in to Magento Admin

Community
- 1
- 1

Suman Singh
- 1,379
- 12
- 20
0
- Open your
core_config_data
table in phpMyAdmin and make sure you have changed the URLs if not than changeweb/unsecure/base_url
andweb/secure/base_url
with your appropriate domain url (trailing slash necessary) like http://www.example.com/ - Delete
var/cache
folder Delete
app/etc/local.xml
(Re-install your project).If Not working yet make change in
.htaccess
file

Ketan Borada
- 856
- 9
- 24
-
after deleting local.xml, how do you mean (Re-install your project) at step 3. At step 4, which changes should I make to .htaccess – Niang Moore Dec 26 '16 at 06:59
-
After delete local.xml you can resetup admin try that it may solve your issue and keep backup for roll back – Ketan Borada Dec 26 '16 at 07:42