i have unistalled and re-installed wordpress on my blog and restored the database in it.but after re-storing it i am not able to access the sub-domains (posts) in it.how to restore those sub domains or sub urls?
First of all,if you are able to access your website's frontend and backend,then there is no problem at the database. The problem is in your htaccess and the rewrite rule inside it.. Just follow these steps and you will get the issue solved ; Switch off the PERMALINKS on the blog. REFRESH the site. Check site frontend and see,if you are able to access your articles. It will be with URLS like this http://example.com/?p=n Again activate the PERMALINK and it will ask you to update your htaccess,and that too it will display in the bottom,what you need to update. Just copy and paste it on your .htaccess file at your root of the site and save the file. Refresh Check site again. You will get the SEF URLs again. GOOD LUCK
thanks i followed your steps but it did not ask me to update .htaccess.Is it ok?whether it asks or not i have to update .htaccess?
You will need to create .htaccess manually in your root folder. Make sure you chmod to 777 before you update permalinks. Then later on change it back to 644.