I have moved my wordpress blog but can not get the permalinks to work. Previous hosting was set up with permalinks as: my-blog-name.com/2011/04/20/sample-post/ But new hosting has "index.php" in the middle, e.g. my-blog-name.com/index.php/2011/04/20/sample-post/ Thus none of my blog links work. Any suggestions on how I can fix this? i.e. with no "index.php" in the url .. I have tried using the custom links option but then none of the posts are displayed. The only way posts are displayed is when I use this format my-blog-name.com/2011/04/20/sample-post/?p=123 Thanks Gordano
use one plugin,permalink redirect. it automattically redirect old pemalink to new permalink,you can downoad it at wordpress.org
Thanks DianRibut I also found that another way is to edit the .htaccess fil including the following script .. in case anyone else on DP would find this useful <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
Just use http://www.microkid.net/wordpress/permalinks-moved-permanently/ which is a great plugin. Also, I have found that the structure post id/postname works best