Hello, I just moved all post from my old domain at http
://www.example.net to a new one at http
://www.example.com.
I tried to do a 301 redirect but it didn't work out fine. Only the homepage redirects. Every other page redirects to the new site but brings the 404 error page.
The permalinks structure for example.net is a custom one that looks like this http://www.example.net/147/how-to-configure-and-get-2go-to-work-on-your-blackberry.html (the 147 at the end of the domain is post-id) while the one on example.com is one of the defaults in WordPress.
To make it clearer, I used [/%post_id%/%postname%.html] permalinks structure on example.net and I want to use [/%postname%/] structure on example.com.
I tried the redirection using .htaccess with the following code
# BEGIN WordPress
RewriteEngine On
RewriteCond %{HTTP_HOST} !^example.net$ [NC]
RewriteRule ^(.*)$ http
://www.example.com/$1 [R=301,L]
# END WordPress
Please, how can I make the redirect work? Thanks in advance.
[edited by: Ocean10000 at 9:22 pm (utc) on Apr 21, 2014]
[edit reason] examplified [/edit]