Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: open
Doing a re-design of my main site and want to make it php functional. Right now all the extensions are .shtml, and the site reanks really well and is what pays my rent every month :)
Needless to say I'm a little concerned about changing it around. But if I want the site to grow and take it to another level, I gotte do this.
So I know about using the 302 / 301 re-directs, but is that the best way to do it?
I used a re-direct recently on some pages on a nother site and after two months the pages still show a whitebar for pagerank. That'd be devastating if it happens to the site I wanna change now.
What's the best way of doing this? I only want to change the extension, not the whole filename, though I'm sure that probably doesn't make a difference.
Any suggestions would be fantastic.
I'd suggest to go ahead with the 302 redirects on a per-page basis. That should minimise the impact and all your backlinks according to G should remain in-tact.
You'll realise from scanning these boards that toolbar PR is not an accurate indication of current PR. In fact, we've been waiting months for the last toolbar 'update'. Your "real" PR is what matters, and with the correct redirection in place, it should remain transparent enough for your php pages to rank as well.
The last thing that you absolutely MUST do, is cross your fingers, sacrifice a small child, and plead to the SE Gods. But seriously, good luck :)
Before you do *any* redirects make sure that you can't use mod_redirect to redirect your *existing* pages to your *new php pages*. That is to say, keep your existing url/link format and structure.
That way, as far as the SEs are concerned, you haven't changed a thing.
Then please don't risk it. Changing to new URLs means entirely new pages in the index.
>>That way, as far as the SEs are concerned, you haven't changed a thing.
Critter has it, the search engines need to continue to see the same URLs - and 302's will NOT do it. That is a temporary redirect, and it isn't even accurate for the situation.
Don't take chances with what's keeping a roof over your head. The answer lies with .htaccess, but please study it all enough before you make any changes that could put your rankings, and consequently your livelihood into jeopardy.
AddType application/x-httpd-php .shtml
in a .htaccess file in the required directory and see if that works. I haven't tried it, but I wanted my web pages to end in .html but to be php code so I added a very similar line to my .htaccess and voila.