How do I change index.php page using Dreamweaver?

A friend of mine has a website that is hosted by godaddy. It is a site created by using Wordpress. Since I don't know anything about Wordpress (I only have Dreamweaver CS5) I'm not sure how to proceed.
There are a few text changes that need to be made. Can I copy the code from the index.php into a new DW (php) page - change the text - and then upload it? If I do that, will it still function the same, even though all I have done is just change text, not any functionality?
chopperchicAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Greg AlexanderLead DeveloperCommented:
Yes, a php page is just text, I use Dreamweaver exclusively for editing PHP file
0
Jason C. LevineDon't talk to me.Commented:
Hi chopperchic,

WordPress sites are completely database driven.  In order to change anything, you need to login to the WordPress backend and change the content from there.  DW is more or less useless in this situation unless you are designing a theme for a WordPress site and even there, it's pretty limited.
0
chopperchicAuthor Commented:
Well these are two conflicting solutions. It is only a spelling error I need to fix. I know nothing about Wordpress and wouldn't even know how to login to the back end through godaddy.com and fix what needs to be fixed. Can I do it live?
0
Introduction to Web Design

Develop a strong foundation and understanding of web design by learning HTML, CSS, and additional tools to help you develop your own website.

Jason C. LevineDon't talk to me.Commented:
It's not a conflicting solution.  If you look at index.php on the server from DW you will not see the content, just a lot of PHP code that controls what is displayed based on what is clicked.  There is nothing for DW to edit CONTENT-WISE.

Now, you can use DW to edit a WordPress site's THEME (the look and feel and structure) because the theme is independent of the content.  CS5 is supposedly optimized to do it but I'm not at all convinced of this and I think Adobe made it a selling point.

Contact your friend, get the admin login and password for the site.  The backend is accessible at:

www.thesite.com/wp-admin

0
Greg AlexanderLead DeveloperCommented:
A spelling error on wordpress is most likely stored in the database, there are very few static words within the wordpress framework... If you can download the page and see the text you good to change it. Is this a post from a blog or like a footer or something?
0
Dave BaldwinFixer of ProblemsCommented:
@jason1178 is right.  I'm responsible for 4 Wordpress blogs including two of my own.  If you edit 'index.php', you will simply crash the site.  Wordpress content is in the database and constant data will be in the theme.  Which is loaded by 'index.php' and the rest of the PHP pages in Wordpress.
0
gwkgCommented:
The spelling error could be in the theme files if it's part of the template.

The files you can edit in Dreamweaver are located in wp-content/themes/

There will most likely be multiple theme folders, including Twenty Ten.  

Look in the wp-admin Appearance > Themes to see which theme is active.

Editing a WordPress theme with Dreamweaver CS5 – Part 1: Learning the basics http://www.adobe.com/devnet/dreamweaver/articles/dw_wordpress_pt1.html


0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
chopperchicAuthor Commented:
It seemed as though not everyone agreed on whether I can use Dreamweaver or not. One comment says it will crash the site, another comment says it wouldn't.
0
gwkgCommented:
If you couldn't use Dreamweaver Adobe wouldn't have a tutorial on how to edit a Wordpress theme with Dreamweaver :)

The only question is whether the spelling error was part of the template or in a post/page.  Without you actually showing us the page with the spelling error it would be pretty hard to tell you which.

Hope you got it straightened out!
0
Dave BaldwinFixer of ProblemsCommented:
The problem isn't using Dreamweaver.  You asked about 'index.php'.  In Wordpress, that doesn't display anything, it is used to load up to a couple of dozen PHP pages/files that access the database that contains the items to be displayed.  If you change 'index.php' so that it doesn't do that, you will crash the site.

Wordpress is fairly complicated.  Most display items are in the database and can be edited in the control panel.  The items that are displayed by the theme are in the subdirectory for that theme.  If you are used to using Dreamweaver to edit a complete page, you may have trouble even with the theme files because they are only part of what it takes to display pages in Wordpress.  No one file is a complete page.
0
Jason C. LevineDon't talk to me.Commented:
Dave's right.  The basic facts boil down to this:

1) You don't use Dreamweaver to edit the content of a WordPress site because that is handled from within WordPress.  

2) DW CS5 can interact with a WordPress site and allow some editing to the cuurent theme (but not the content of the posts and pages and plugins) but this is not a well-developed feature and I recommend that people stay away from using it unless they are very knowledgable about both DW and WP.

3) Any version of DW can be used to edit WordPress files but unless you are really familiar with WordPress structure and taxonomy you should probably just use a good code editor instead of DW.   DW's tendency to rewrite paths could fatally cripple a WordPress site and you have to know what's what from the code in order to restore it.  
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
WordPress

From novice to tech pro — start learning today.