Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Google Forum


You are currently viewing our The Google Forum as a guest. Please register to participate.
Login



Reply
Converting my website to php from html
Old 11-02-2006, 06:20 PM Converting my website to php from html
bj_private's Avatar
Extreme Talker

Latest Blog Post:
Miss January 2009 . . . Great!
Posts: 199
Name: Tony
Trades: 0
Hi Guys,

I want to convert my website www.smartbro.com from static html to php. I mean all my website because this will give me more flexibility.

What I'm really worried about is search engines and traffic (especially Google). I was thinking of doing this like:

First, rename all my .html files into .php, then update my .htaccess file to forward all .html requests to .php

First of all, what do you think of my plan, I feel that it sucks but I can't think of another method. Do you have a better way?

My website pages have PR4, is there a chance to loose my PR b/c of this change? what do you suggest?

I appreciate any help, I really need this.
__________________
Tony Sticks

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
bj_private is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-02-2006, 07:08 PM Re: Converting my website to php from html
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
and in doing so any SE rankings/traffic etc will be seriously disrupted for 3 to 6 months.

Just set Apache to parse .html files as php, that way your URIs don't change and you can still run PHP.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-02-2006, 07:26 PM Re: Converting my website to php from html
bj_private's Avatar
Extreme Talker

Latest Blog Post:
Miss January 2009 . . . Great!
Posts: 199
Name: Tony
Trades: 0
Yeah, but the problem is that I'm using www.globat.com . Those guys are saying that they don't support this feature and they can't handle html files as php unless the files are renamed to php!!

I'm really stuck with this and I think I will need to find a solution for this soon.
__________________
Tony Sticks

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
bj_private is offline
Reply With Quote
View Public Profile
 
Old 11-03-2006, 12:55 AM Re: Converting my website to php from html
shabbirbhimani's Avatar
Application Developer

Latest Blog Post:
How to Write Product Reviews?
Posts: 1,003
Name: Shabbir Bhimani
Location: at Go4Expert.com
Trades: 0
Change the host then. Thats always one of the better option.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
shabbirbhimani is offline
Reply With Quote
View Public Profile Visit shabbirbhimani's homepage!
 
Old 11-03-2006, 04:17 AM Re: Converting my website to php from html
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
That's about it;

Change hosts to one that has a clue;

Stick with them and hope they get a clue soon (not very likely)

Change to .php and loose several months potential conversions.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-03-2006, 07:36 AM Re: Converting my website to php from html
bj_private's Avatar
Extreme Talker

Latest Blog Post:
Miss January 2009 . . . Great!
Posts: 199
Name: Tony
Trades: 0
I'm subscribed with them until Aug 2008

What potential hosts do you recommend guys?
__________________
Tony Sticks

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
bj_private is offline
Reply With Quote
View Public Profile
 
Old 11-04-2006, 06:55 PM Re: Converting my website to php from html
Skilled Talker

Posts: 54
Trades: 0
I have once heard of a programm that converts the Html code to php within seconds.It was something like htmltophp converter or so.If you are interested I can ask friends to bring you more info about the program.

Best Regards
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
//WEBMASTER/PROGRAMMERS:submit your software,forum,ebooks etc. for free
z80039 is offline
Reply With Quote
View Public Profile Visit z80039's homepage!
 
Old 11-05-2006, 04:24 AM Re: Converting my website to php from html
bj_private's Avatar
Extreme Talker

Latest Blog Post:
Miss January 2009 . . . Great!
Posts: 199
Name: Tony
Trades: 0
Thanks for the offer, but the problem is not in converting the code b/c the php parser will understand html as well, so it should work, but the problem is in getting the server to handle my files as php although their names are with .html extension.
__________________
Tony Sticks

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
bj_private is offline
Reply With Quote
View Public Profile
 
Old 11-07-2006, 08:19 AM Re: Converting my website to php from html
emalrola's Avatar
Skilled Talker

Posts: 97
Trades: 0
What about using mod rewrite? Rename mypage.html to mypage.php, but call it as mypage.html from your menus and let the mod rewrite in your .htaccess redirect it to the php.
__________________
Emalrola


Please login or register to view this content. Registration is FREE
emalrola is offline
Reply With Quote
View Public Profile
 
Old 11-07-2006, 04:33 PM Re: Converting my website to php from html
bj_private's Avatar
Extreme Talker

Latest Blog Post:
Miss January 2009 . . . Great!
Posts: 199
Name: Tony
Trades: 0
Hmmm... I think this is working great. I forwarded the .html file Awards.html to Awards.php (as a test) using:

RewriteRule ^Awards.html$ /Awards.php

It seems this is working fine ,

I tried loading the page from my website and it worked great! Also Google Toolbar shows that my Awards page has PR4. I think this is working just fine.

I only need to know if Google will be happy with this new arrangement. Do you have a way to test if Google will accept this file or not? Should I check if Google will cache the page or not?

BTW, is there a way to use the RewriteRule to forward all .html files to .php files in on shot?
__________________
Tony Sticks

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
bj_private is offline
Reply With Quote
View Public Profile
 
Old 11-07-2006, 05:31 PM Re: Converting my website to php from html
emalrola's Avatar
Skilled Talker

Posts: 97
Trades: 0
something like
RewriteBase /
RewriteRule ^([^/]+)\.html $1.php [L]

should do them all (but you need to test it first) Alternatively, just list them all one by one - much longer, but easier to check!! There's loads of guides to how to do this - just google modrewrite tutorial or something similar

I use mod rewrites all the time and google has no problem with them - it just sees an html file...


PS this thread is probably more suited to the php forum
__________________
Emalrola


Please login or register to view this content. Registration is FREE

Last edited by emalrola; 11-07-2006 at 05:33 PM.. Reason: another thought!
emalrola is offline
Reply With Quote
View Public Profile
 
Old 11-07-2006, 11:46 PM Re: Converting my website to php from html
Ultra Talker

Posts: 462
Trades: 0
OK! Your site is static HTML pages.

Now you want to change your pages to PHP pages, in otherwords, I guess you want to script your pages using php so that it will then output html pages. If this is the case, then keep your html site up and while it is up do the php pages offline. Once you have done them the upload them like a new site, but keep the html output the same and the urls the same as your old site and you will not loose any PR or rankings as your site will just look exactly the same to your visitors as it will to the search engines. To make the pages like like html urls you will have to use mod_rewrite.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

---->
Please login or register to view this content. Registration is FREE
- Over 3,000 Programs - Contextual Ads, Pay Per Lead, plus more
john546 is offline
Reply With Quote
View Public Profile Visit john546's homepage!
 
Old 11-08-2006, 01:53 AM Re: Converting my website to php from html
bj_private's Avatar
Extreme Talker

Latest Blog Post:
Miss January 2009 . . . Great!
Posts: 199
Name: Tony
Trades: 0
I guess everything is working now . I will need to do the forwarding for the rest of my pages. Thanks guys, I really appreciate this.
__________________
Tony Sticks

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
bj_private is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Converting my website to php from html
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.42205 seconds with 12 queries