404 on site except for home page

Solved
szahid

Sep 25th, 2022 08:27 PM

After following all instructions and enabling my website on local Apache I was able to get to the home page.

The Issue I ran into is that any child link such as /blog or /login gives me a 404.

Is there anything I need to do extra (in addition to what is in the installation instructions) to make it work?

FYI: I have Apache Rewrite module on and working.

Do note that I am running this on Windows.

Thanks in advance for your help.

bobbyiliev

Sep 26th, 2022 06:14 AM

Best Answer

Hello,

Have you set AllowOverride All in your Apache config?

If AllowOverride is not set to All, the .htaccess file would not take effect.

szahid

Sep 26th, 2022 03:14 PM

Thank you. This indeed did resolve the problem I was facing.

Not sure why I missed this as I have it setup for all of my WordPress sites.

Again, thanks for the quick response.

bobbyiliev

Sep 27th, 2022 04:47 AM

No problem at all! Happy to hear that it is all working now!