Forum Moderators: phranque

Message Too Old, No Replies

Changing Index from .COM to .PHP - what are the consequences?

will a different extension wipe out my page ratings?

         

warpoet

11:55 pm on Jan 27, 2004 (gmt 0)

10+ Year Member



I've had to change my main page to a "php" extension in order to run a script for dynamic content. I don't want to lose 6 months of progress on search engine ratings for the .COM version of my page, so I've simply setup a redirect on my server. Did I just screw up 6 months of work? Should I continue to promote the .COM page version and trust that it'll translate through the redirect?

Hope I'm making my question clear.

Thanks,
warpoet

Birdman

12:10 am on Jan 28, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, warpoet!

Your question is clear, but you are confusing file extentions(.html, .htm, .php, ,asp, etc.) with TLDs(.com, .co.uk, .net, .tv, etc.).

If you have access to your .htaccess file, you can add this line to force .html/.htm pages to parse for PHP code.

AddType application/x-httpd-php .php .php3 .phtml .html

What type of redirect did you use?

warpoet

12:46 am on Jan 28, 2004 (gmt 0)

10+ Year Member



Birdman, you are my new hero!
I don't know what type of redirect I used, but I made the change you suggested to the .htaccess file and it works beautifully!

Thank you. This forum is a real goldmine.

warpoet