Set Your Permalinks

Go to Settings Permalinks. Select anything but the default option and click Save.  Do this even if you had a non-default option selected. This causes WordPress to regenerate your URLS or Pretty Permalinks, and is required every time you create a new page using a special page template, activate a new theme, or on other rare occations. Do this anytime you get a 404 error where you know content should be.