All my content is currently setup as pages. I want to setup permalinks with page names. I read some posts online that said choosing %postname% path should render the content. But this does not work. When I access a page, I can see that the link is being updated with the page name, but it returns a 404.
I checked the .htaccess file and httpd.conf. mod_rewrite is loaded and access is setup with the right permissions.
My site is being hosted on ec2 aws.
Update: I just created a post and tested permalinks with it, the post also returns a 404.
Answers:
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
Method 1
I was able to find the answer here:
I had to create a custom permalink with the following value:
/index.php/%postname%/
All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0