Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I've tried creating a copy of my site using a sql dump and importing this to a new set-up. The problem is that although my homepage works ok, I get 404 for all the other pages, although I can see them all in Wordpress. I have tried re-saving the permalink structure, mod_rewrite is enabled. Wordpress can save .htaccess. I've Googled this and not found any further clues as to how to fix it.

# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
share|improve this question
Can you get to the pages if you set your permalink structure to the default structure? – m0r7if3r Feb 9 '12 at 11:50
Yes I can indeed – Tony B Feb 9 '12 at 12:56
But any rewrite structure breaks them? Or just postnames? What are your site and wordpress urls set to in Settings->General? – m0r7if3r Feb 9 '12 at 13:03
Anything but the default fails. I had it set to postname but anything other than domain.xxx.xx/?p=123 fails. – Tony B Feb 9 '12 at 13:47
Can you post your .htaccess (change from the default post type to your desired post type first) – m0r7if3r Feb 9 '12 at 13:49
show 3 more comments

closed as too localized by Brian Fegter, kaiser, Rarst Oct 2 '12 at 21:31

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

1 Answer

Try adding:

Options +FollowSymLinks

to the top of your .htaccess file.

share|improve this answer

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