Moved site; now permalinks give 404s
-
I moved my simple, static site from a (multi-site) hosted provider to my own local server. The home page renders fine, and I can get to the content of the other few pages, but not using the menus/permalinks. When using the main (permalink) menus to access the other pages, I get 404 (page-not-found) errors.
Example: https://www.dovercottage.com.au/attractions fails
However: https://www.dovercottage.com.au/?s=attractions is OK.Looking at the page source, all the links seem to reference the correct database pages, i.e. reference the page IDs returned from this query:
mysql> select ID,post_name,post_type,post_title from wp_posts where post_type="page";
The permalink settings use
/%category%/%postname%/
; the top-level .htaccess is as per the usual permalinks configuration (copied from the previous working site) and I see no other apache2 errors.I’m not sure how the mod-rewrite/permalinks process works and I can’t see where else to look for configuration errors, etc, so I’d appreciate a few pointers to tell me what I might have done wrong. (Thanks!)
- The topic ‘Moved site; now permalinks give 404s’ is closed to new replies.