Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I had a blog exposing posts as "day and name". After exporting that blog and importing it on a new installation of WordPress I can't see the posts in that format, only in the default one: http://blog.xxxxx.com/main/?p=123

Also moving to previous pages (http://blog.xxxxx.com/main/page/2/) does not work.

Is this a known issue with a solution?

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted
+50

The WordPress .xml import file only contains post data and not any site settings, such as permalinks. It seems to me that this is only an issue of setting the permalinks the same way of your old site.

  • Settings -> Permalinks (/wp-admin/options-permalink.php)
  • select Day and name
  • save changes

If WordPress can't update the .htaccess file, follow this instructions: http://codex.wordpress.org/Using_Permalinks#Automatically_updating_.htaccess

[update]

In case it is a server problem:

http://codex.wordpress.org/Using_Permalinks#Permalinks_without_mod_rewrite

http://wpengineer.com/2318/pretty-permalinks-without-mod_rewrite/

share|improve this answer
    
This is what I did without success. I didn't receive a message regarding .htaccess file –  sw. May 7 '12 at 17:55
    
Sorry then, I haven't understood from your question that you did refresh the permalinks. Is the new installation in the same server as the old? It can be a mod_rewrite problem. Check the update in my answer. @mrwweb, thanks for clarifying :) –  brasofilo May 8 '12 at 10:42
    
The issue was related to AWS EC2 instances not having enabled the RewriteEngine on a specific virtual domain. Marking it as answered since it was related to .htaccess. –  sw. May 12 '12 at 5:11
add comment

You should give a hit to this plugin : https://wordpress.org/extend/plugins/permalink-editor/

It helps me to edit and get my permalink back when i move from one server to another.

hope it helps.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.