| | #1 |
| HyperActive Warrior War Room Member Join Date: 2010 Location: Hong Kong
Posts: 212
Thanks: 29
Thanked 25 Times in 25 Posts
|
Silly question time? ![]() Have several sites built in css/html with Dreamweaver. Now want to add comments feature using the XCommentsPro software I have just bought. To drive the comments, any page has to be suffixed with a .php extension. Q1: Rather than having some pages .html and some .php would it be cleaner and better to just switch all pages to PHP? Then add the commenting extra php code to those that need it? Any impact on sites doing this? Q2: Got no pagerank to speak of yet, but does a switch to .php lose the Google indexing rank? Q3: Anything else I need to be concerned about? (Like I know I need to update links feeding sites to .php and that I need t) Thanks for any advice. |
|
Richard, Hong Kong Business Consulting | |
| |
| | #2 | ||
| HyperActive Warrior |
Internal linking between pages and anchors and images. To clear up potential confusion you could setup a redirect that will take any requests for the old .html files and send them properly to the "new" .php files. Please let me know if this helps. Thank you. | ||
| Exciting comment opportunities on my WF blog: (1) Better money with better marketing (2) Forming strong customer bonds (3) Earn more money with DB marketing (4) Building a revenue and profit model | |||
| |
| The Following User Says Thank You to awesometbn For This Useful Post: |
| | #3 |
| HyperActive Warrior War Room Member Join Date: 2010 Location: Hong Kong
Posts: 212
Thanks: 29
Thanked 25 Times in 25 Posts
|
Yes, thanks for your helpful reply. Fell much better about taking the php plunge now. Might even encourage me to learn more php for future database apps. I have a new Hostgator resellers account and tests with simple php contact forms has worked fine so far. (Doesn't on the ISP I am moving sites from.) But best to send a query ticket as you suggest in to see if there is anything special I should check. |
|
Richard, Hong Kong Business Consulting | |
| |
| | #4 |
| Software Engineer War Room Member Join Date: 2008 Location: Asheville, NC USA
Posts: 693
Thanks: 37
Thanked 112 Times in 100 Posts
|
Just be sure to redirect the old pages to the new addresses with a 301 status (permanent new location), and you'll be fine.
|
| I build web things, server things. I help build the startup Veenome. | Remote Programming Jobs | |
| |
| | #5 |
| HyperActive Warrior War Room Member Join Date: 2010
Posts: 160
Thanks: 1
Thanked 19 Times in 16 Posts
|
Well there is one minor penalty to be paid for switching to PHP. That is that there is a slight amount of processing overhead that will occur as a result even for pages with no actual PHP code in them. This will slow down page loads and server performance, though not by much. HTML does not have to be processed by the server so it incurs no such penalty. The other issue is a maintenance issue, should you ever need to hire a programmer to modify your site. If every page is a php page, then he won't be able to readily distinguish between those pages that have functional dynamic code and those that are static. On a sizable site, if he has to figure out something that is not obvious he could get bogged down for hours or even days because each page would have to be examined individually. |
| TwEmpire -Build an empire of Twitter followers on autopilot FAST!! Phase I Beta Test Coming Soon!
| |
| |
| | #6 |
| HyperActive Warrior War Room Member Join Date: 2010 Location: Hong Kong
Posts: 212
Thanks: 29
Thanked 25 Times in 25 Posts
|
Thanks. Will be sure to include 301 redirects for every page, and will leave both copies on server for a short while to be sure of no 'not found' pages! ![]() Sad about the slight penalty as I love the speed of native html for sure. I have noticed the slight delay on php forms I am using now but never gave it a serious thought ref whole site. Got no choice it seems if I want easy to maintain comments/blogs, so will keep an eye on this point. I am Ok with css/html but not into php at all yet. Maintenance point good too. Gives me the idea to add a simple comment at each page top to say if php dynamic code is present. Thanks for that. My plan now is: 1. Save all html pages as php. 2. Fix and test all internal site links. 3. Upload to site in parallel with existing html files. 4. Test php 'site' remotely. 5. Redirect all html pages to php. Update: All done Ok. Will convert second site tomorrow. No sweat but just gotta get my PHP server working on my PC end. ![]() Thanks again guys. |
|
Richard, Hong Kong Business Consulting Last edited on 30th Jul 2010 at 11:53 AM. Reason: Added plan detail + Done update. | |
| |
| | #7 |
| Active Warrior Join Date: 2010
Posts: 49
Thanks: 0
Thanked 2 Times in 2 Posts
|
I don't think PHP loses PR .. I personally prefer PHP . Most of the sites now use PHP over HTML .. With PHP , we can INCLUDE things like title and header and so .. |
| |
| | #8 | |
| Active Warrior Join Date: 2010
Posts: 74
Thanks: 10
Thanked 11 Times in 11 Posts
|
If done properly they are easier to manage. Just take a look around and see how many pages a php and how many are html | |
| |
| | #9 |
| Warrior Member Join Date: 2010 Location: City of Industry, California
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
| |
| |
| | #10 |
| Warrior Member Join Date: 2009
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
|
Changing the file extension can cost you PR temporarily if you don't do a 301 redirect. Depending on your hosting you may be able to change the mime type and parse html for php. I've done that with some client sites when we had an established site and were adding interactive features that required server side processing.
|
| |
| | #11 |
| Warrior Member Join Date: 2010
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
You can do many things to limit your issues with php pages and their load times etc. etc. I have begun using a CMS from concrete5.org and it uses a solid template system for pages and is highly extensible and SEO friendly. I am considering using it for all of my clients projects in the future due to the ease of use and simplicity of getting someone up and running with the CMS. Pages are properly cashed to avoid issues of page load times and you have the ability to add any custom coding that you need within the framework... a real win win situation.
|
| Cheap Yet Awesome Web Hosting! Site design is about to be revamped... click on 'order' to get hosting options. Enter 'warrior20' during check out for an instant $20 in savings on 1, 2 and 3 year plans. Don't get penalized by Google! Free Web Site Speed Report | |
| |
| | #12 |
| HyperActive Warrior War Room Member Join Date: 2010 Location: Hong Kong
Posts: 212
Thanks: 29
Thanked 25 Times in 25 Posts
|
Thanks again guys. I have just downloaded Xampp and will give that the first opportunity to work for me. Like the look of it. Have Wamp on one of my machines so far and it is not that friendly so will have a good chance to compare later today. Sure miss the Dreamweaver page previews. ![]() Will also check out the CMS suggestion as I am aware that I do need to move in that direction. Have noticed some delays on my own site (not critical as developing other sites for IM purposes). Seems that Google has half-embraced my php site now. Still got some html pages in the cache so will keep my 301s in place until they get replaced by the php pages which is starting. Weird how their crawler does half a job. I submitted a new sitemap.xml after deleting all the html pages and was expecting a 100% changeover. |
|
Richard, Hong Kong Business Consulting | |
| |
| | #13 |
| Warrior Member Join Date: 2010
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
Using 301 re-direct you can cut down the harm that can happen after converting your website extension. If hosting permits you can convert form Html to php.
|
| | |
| |
|
| Bookmarks |
| Tags |
| converting, css or html, php, website |
| |