Depending on if permalinks worked on your local server before the import or not you ether need to update the .htaccess in your wordpress root, or you need to enable rewrites all together in Apache. What operation system do you use?
This is a good guide if you use linus:
https://www.digitalocean.com/community/articles/how-to-set-up-mod_rewrite
Related Posts:
- Keep getting same permalink with WP_Query?
- Load post content into div with ajax
- Link for the page archive for posts, like using custom post types with get_post_type_archive_link
- Removing rel=”nofollow” from links posted in Post Content
- How should I add links to other pages/posts from my post?
- How to handle broken links created by permalink/slug changes?
- Internal linking to posts permalink fail because of spaces and stripe at postname
- How to link post titles on page A to its posts on page B?
- My posts section for logged in user
- Modifying the permalink href for posts with jquery
- Read more link not working [closed]
- Automatically search and replace link in content (pages/posts)?
- Permalink issue with new blog posts > getting 301 redirect
- Stop WordPress Wrapping Images In A “P” Tag
- Stop WordPress automatically adding tags to post content
- How do I check if I linked to a post before I delete it?
- How to use “Add link” pop up for a WordPress widget
- Where is the old post permalink slug stored?
- Get content from one page and show it on another page
- How to Check if a Page Exists by URL?
- Use category base slug in posts’ permalink
- Strategy for handling hierarchical pages with empty parent content
- How to automatically generate a unique random slug
- Custom permalink structure only for default posts
- Portable Post Links
- Post slugs and images cannot have same name?
- Change permalinks for post type ‘post’ only
- WordPress: How to get the current logged in author page URL?
- How to remove Nextpage tag inside posts text depending of utm_campaign
- Change the Slug of Post Type post to baseurl/post/%postname%
- Different permalink for posts and authors
- Pretty URL with add_query_var
- get_permalink returns default link
- Group Posts by First Letter of Title
- How can you make sure authors’ posts are longer than 250 words?
- How to control which category will be picked for the slug of a post?
- how to get permalink using sql
- Change slug with custom field
- What is the best / efficient way to get WordPress content by post id and why?
- JSON not valid after json_encode posts
- Why can posts never have a number as the link?
- Add default content to post (for specific category)
- Is it possible to add a first and latest posts link?
- Must permalinks always point to single post pages?
- Get current users post URL?
- Programmatically inserting page breaks
- How to allow slashes in single posts when i click in the edit permalink button
- Navigation link to specific user page
- Hide parts of the post content on the home page
- Filter/Remove HTML Elements on all posts and pages
- Post custom permalink results in 404 for archive page
- how to grab first link in post… and of course call it
- Some posts returning 404 instead of displaying post
- Custom post type single (permalink) throws a 404 error
- Paragraphs removed when using get_post_custom()?
- wp_list_categories link to first post of category instead of calling taxonomy template
- Post in Multiple Categories to stay in current category (permalink, next previous post link)
- Linking to page with all posts
- Random post permalink
- What Defines What Category A Post Picks (if in multiple)
- get_permalink executes link without https
- Permalink Settings: optional settings doesn’t apply to editor
- Testing for post title in ‘if/else’ statement returns no content
- Custom post type permalinks breaking due to 3.1 bug fix
- How can a guest view the “Pending Review” Post?
- Same content shared between multiple posts?
- Create pretty permalink for a post knowing the permalink structure
- Changing my permalink structure – will new layout conflict with existing page?
- How to change the page break URL from ../post/2 to …/post/page2/
- how load content as pop-up using ajax
- Link post permalinks to subdirectory /post
- change default post archive page link
- Link button is not working while editing a post in Firefox [closed]
- Adding a text link under the post title in the lists of posts
- Remove permalink from images when inserting into post
- How to get only text from wordpress post content?
- if I create ‘front-page.php’, then how do I link to post index?
- Remove the Edit button in posts for permalinks on certain user roles? WP 3.3
- Setting up navigation links for posts (first, prev, next, last)
- Batch process: remove first image from post content
- Dynamically generate child-URLs for posts or custom posts
- Bulk update post slugs through database
- Adding parent pages to posts
- Plain permalinks not working!
- Direct link to “New post” in specific category?
- Why content_arr[‘extended’] removes paragraph tags?
- Delete post by giving its link
- How to change permalink on post click on post listing page
- Changing Permalinks for Default Post type to reflect navigation
- Unautop / Sanitize content added to a post through a plugin
- WordPress not opening posts with only numbers if permalink is post_name
- is there a way to show the the post title after the image?
- How to get rid of shortcodes in post content once and for all
- Add Word Limit to Posts
- Using permalinks, category slugs, and tag slugs
- Problem with permalink routing?
- Move first half of posts to one parent page, second half to the other page
- How to check a post exist when the permalink has post id in it?
- After database migration, posts not showing up in dashboard
- Custom loop pagination links not working