Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Roman Sofronov
Roman Sofronov
440 Points

Cannot save index.php from Text Edit in .php extension.

Cannot save index.php from Text Edit in .php extension. It want me to save it only as .rtf. What should I do? Thank you.

3 Answers

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

I would suggest if you're getting into coding that you use a real code editor. Here are a few: http://mac.appstorm.net/roundups/web-dev/the-best-code-editors-for-your-mac-in-2013/

Hi Roman,

Another option would be for you change the file name in the folder rather than via 'save as' and it should allow you to change this.

Thanks

-Rich

Roman Sofronov
Roman Sofronov
440 Points

Thank you for your answer, Rick

I have already tried the way you suggested. But after that I have a bunch of characters and numbers on my http://localhost:8888/ like this:

{\rtf1\ansi\ansicpg1251\cocoartf1265\cocoasubrtf210 {\fonttbl\f0\fswiss\fcharset0 Helvetica;} {\colortbl;\red255\green255\blue255;} \paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0 \pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural \f0\fs24 \cf0 Test}

instead of just "Test" like in tutorial. Is that the way it supposed to be, or what is wrong?

Thanks.

Roman Sofronov
Roman Sofronov
440 Points

Yeah, now it's working! Thank you!)