Only home page loads in sydney

I have customized the Sydney theme. The Home page loads and works great, e.g. www.mysite.com
However, none of the other pages load. I get 404 not found error.

E.g. I created a Blog page with permalink: www.mysite.com/blog/
However, when I navigate to it, I get following error:
Not Found
The requested URL /blog/ was not found on this server.

This same thing happens for all other pages I have created.
What am I missing?

Thanks in advance!

Hello there,

Try flushing your site’s permalinks structure by going to Settings > Permalinks; and just hit the save button.

Regards,
Kharis

Thanks but no luck.
I did see this message in the Settings > Permalinks page.

If your .htaccess file was writable, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your .htaccess file. Click in the field and press CTRL + a to select all.

Interestingly, I cant find .htaccess file anywhere on my server. I searched using find comman in SSH and cant see it using ls -al command too.

Could the above be a cause for this problem?

ok problem solved. as i suspected the missing .htaccess was the issue. i changed the folder permissions and saved settings>permalinks. now it created .htaccess and all pages load now.

thanks again for your help.
you are the best!

You’re welcome!

Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.

Regards,
Kharis