- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, after I finish installing Magento 2.2, only the home page works, all other pages give the error, including the admin page.
All pages appear the following message
Object not found!
A URL was not found on this server. If you entered the address (URL) manually, please double-check the address syntax.
If you are looking for a server problem, please contact the webmaster.
404 Error
I can not do anything, help me!
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes - this is issue is mainly related to .htaccess file !
In your magento 2 root directory - .htaccess file is not there - so kindly create .htaccess file in the root directory of Magento 2 and put this content in it - https://github.com/magento/magento2/blob/2.3-develop/.htaccess
it will resolved your issue - hope it helps !
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes - this is issue is mainly related to .htaccess file !
In your magento 2 root directory - .htaccess file is not there - so kindly create .htaccess file in the root directory of Magento 2 and put this content in it - https://github.com/magento/magento2/blob/2.3-develop/.htaccess
it will resolved your issue - hope it helps !
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Error 404 on all pages after installation!
I save the htaccess file in .txt or .php? or another extension?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Error 404 on all pages after installation!
no extension - extension itself .htaccess
if you have still confusion just download the .htaccess file from the link i have posted and put the same in root directory of magento
Then check it will works !
Hope it helps !
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Error 404 on all pages after installation!
The link you posted doesn't exist. Can you post the .htaccess contents within?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Error 404 on all pages after installation!
Hi @Gidisat
Here is the another link to download the default content of .htaccess file - https://github.com/magento-2/magento-2-community-sample-data/blob/master/.htaccess.sample
Hope it helps !
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Error 404 on all pages after installation!
hi i am getting the same error changed .htaccess but still having same issue.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Error 404 on all pages after installation!
ironic the link throws a 404 error