I have a website that I would like to transfer from HTML to wordpress, in order to be able to write more often and more efficiently. However, most of my webpages on the site end with *.php, and if I move the page to wordpress, the pages will not end with *.php, and my rankings in google will probably suffer. Are there any way around this? I thought about moving my template to wordpress, then just add these pages that I already have (it is not that many) over to wordpress manually, with the *.php endings. For your information, I only want to add wordpress to the sub-categories cricket picks and blog, the rest of the site could be HTML for all I care. Anyway to add the same wordpress install to two different sub-categories? The site is http://www.onlinecricketbetting.net for reference.
You can change wordpress permalink to end with *.php. In wordpress permalink settings add this line into the custom structure. /%postname%.php Code (markup):
Is there any negative effect of having your posts ending with .php, that seems to be the best solution. Or should I do the redirects? If so, how do I do the 301 redirects, any good links?
I don't know, I should be ask you that question because you have already using it as your web extension. But, in my opinion, I think it doesn't matter whatever extension we use. I've seen other extensions like .shtm, .asp and .cfm has a good position on the search engine, but it's up to you. Here is Google's explanation about 301 redirects. http://support.google.com/webmasters/bin/answer.py?hl=en&answer=93633 And here is the code to redirect a single page using .htaccess Redirect 301 /old-page http://www.domain.com/new-page Code (markup): New-page url will be vary depending on your WP permalink structures i.e. Redirect 301 /post-title.php http://www.domain.com/pos-title Code (markup):
Thank you Masim man, I think I will just stay with the .php endings. Removed a lot of headaches for me now
As Masim said, page extensions have nothing to do with search engine rankings. You can stick to it if you can.