开发者

404 error after migration of WP site

开发者 https://www.devze.com 2023-03-24 14:18 出处:网络
I have this url, where I have my site now, but I migrate it to this one. I have a custom permalink structure:

I have this url, where I have my site now, but I migrate it to this one. I have a custom permalink structure:

/%category%/%postname%/

In the first link (old site) al works fine, but in the new one, only the default option (?p=123) structure works.

It's important to say that the second link, the URL's points to another server, it means the second url is an CNAME in my server. I also import the .htaccess file.

开发者_开发问答

How can I make work my custom structure in the new server?


That did it for me:

Try flushing your mod_rewrite rules:

Dashboard -> Settings -> Permalinks

Save settings (no need to make any changes)

https://wordpress.stackexchange.com/questions/14685/after-server-migration-only-the-homepage-works

0

精彩评论

暂无评论...
验证码 换一张
取 消