I just changed my site into a wp blog and for some reason all of my posts have the following format: www[dot]doggroomingworld[dot]com/index.php/xxx.html. Unfortunately all of my google traffic went to the pages when they were doggroomingworld[dot]com/xxx.html. How can I get rid of that stupid index.php part?
add this to your .htaccess file RewriteCond %{HTTP_HOST} ^www.doggroomingworld.com$ RewriteCond %{REQUEST_URI} index.php/ RewriteRule (.*) http://www.doggroomingworld.com/$1 [L,R=301] RewriteCond %{HTTP_HOST} ^doggroomingworld.com$ RewriteCond %{REQUEST_URI} index.php/ RewriteRule (.*) http://doggroomingworld.com/$1 [L,R=301] Code (markup): should work fine
I tried that but then my entire site stopped working. I decided to just leave it alone. Search engines will eventually reindex my pages properly.
You could also go into your admin area in WP, go into Settings -> Permalinks, and select custom structure, and then just put in /%postname%/ in the box.
Go to options in WordPress. There will be a Site URL and actual location of WordPress. Change these as required.