I just moved my blog to a new server (I've updated the dns).

Everything is fine except the permalink settings. I used to choose the day-name style like: mydomain.com/blog/2013/08/28/sample-post/. But after the moving, it turns something like: mydomain.com/blog/blog/2013/08/28/sample-post/.

So if I keep using this style, my previous blogs can't be visited because their links lead to mydomain.com/blog/blog/2012/09/12/something, while they should be mydomain.com/blog/2012/09/12/something.

If I switch it to the default: mydoamin.com/blog/?p=123, all my old posts can be visited.

Any one have dealt with this problem?

  • What is the code that generates the permalinks? – s_ha_dum Aug 28 '13 at 14:48
  • I just click the button in wordpress dashboard – leoce Aug 28 '13 at 14:55
  • What are the settings at wp-admin -> Settings -> General for the two URL values-- third and fourth from the top? – s_ha_dum Aug 28 '13 at 14:57
  • Em...I guess you're referring to the home and site url, right? That's the weird thing here: they just don't exist. It really sucks to be the site admin after someone created it. – leoce Aug 28 '13 at 15:02
  • You are not an admin? Are the home and site urls defined in wp-config.php? – s_ha_dum Aug 28 '13 at 15:04

You sound like you are multisite which I don't use but if this were a single site install I would tell you to remove blog/ from WP_SITEURL.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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