Jepser Bernardino
Jepser Bernardino

Reputation: 1372

404 error after migration of WP site

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?

Upvotes: 2

Views: 3145

Answers (1)

Philipp Hofmann
Philipp Hofmann

Reputation: 3478

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

Upvotes: 3

Related Questions