• Resolved dakranii

    (@dakranii)


    I want to bring my main page down locally through ftp, make a change, then reload it. But I don’t know where to find the file.

    It has to be easy, what am I doing to overlook it? I’m used to grabbing the index.html file out of the root directory and doing what I need to then putting it back. But I don’t understand how wordpress works. Where is it storing the main page content??

Viewing 15 replies - 1 through 15 (of 17 total)
  • I am also looking for the answer to this question. Anyone?

    I am also looking for the answer to this question. Anyone?

    Ryan S

    (@ryan_accuwebhosting)

    wordpress stores the main page contents in the mysql database, not in any page or folder. Hence you can not edit it. Also, the index page viewed on your main page is not one in the root directory. It is the index.php page present in your themes directory. For example, if you are using default theme, the main page of your blog is /wp-content/theme/default/index.php

    You can check this tutorials to know how wordpress works. But for that you must have knowledge of php and sql (mysql)

    Alright, so i am a photographer and want to add a page to my site about a particular topic. Obviously i want this to contain all of the same page information (nav bar, header, etc.) along with the same styling. I have a basic knowledge of CSS and html – how would i create a new page from scratch? I understand all i need to do is call the style sheet, but what would i need to add into the html to include the nav bar? or is it just not that simple?

    ryan_accuwebhosting wrote: wordpress stores the main page contents in the mysql database, not in any page or folder. Hence you can not edit it.

    Is it possible edit a “post” in a text editor outside of wordpress then replace the current post?

    Thanks much.

    You could copy the post from the edit screen in admin, paste into a PLAIN text editor, and then copy and paste the edited version over the original post. But why not just edit it in the admin area? And why do you say “post” as if you don’t really mean a post?

    @eikelben

    Go into the admin area and create the page…

    Sorry I didn’t explain thoroughly.

    I have a blog http://www.symbolicstrategies.com. I currently have 6 posts.
    When I edit these post in wordpress I have to add a lot of extra little code to get proper paragraph breaks ect. Also I travel a lot I want to be able to edit my wordpress site even when I do not have internet connection.

    So what im trying to do is this;
    I want to find the file that contains a post on my server, download it to my desktop, open it in dreamweaver, edit it, save it, and replace the file on my server with the new file I have edited. Thank you for the assist. – J

    Sorry I didn’t explain thoroughly.

    I have a blog http://www.symbolicstrategies.com. I currently have 6 posts.
    When I edit these post in wordpress I have to add a lot of extra little code to get proper paragraph breaks ect. Also I travel a lot I want to be able to edit my wordpress site even when I do not have internet connection.

    So what im trying to do is this;
    I want to find the file that contains a post on my server, download it to my desktop, open it in dreamweaver, edit it, save it, and replace the file on my server with the new file I have edited. Thank you for the assist. – J

    Sorry I didn’t explain thoroughly.

    I have a blog http://www.symbolicstrategies.com. I currently have 6 posts.
    When I edit these post in wordpress I have to add a lot of extra little code to get proper paragraph breaks ect. Also I travel a lot I want to be able to edit my wordpress site even when I do not have internet connection.

    So what im trying to do is this;
    I want to find the file that contains a post on my server, download it to my desktop, open it in dreamweaver, edit it, save it, and replace the file on my server with the new file I have edited. Thank you for the assist. – J

    Sorry I didn’t explain thoroughly.

    I have a blog http://www.symbolicstrategies.com. I currently have 6 posts.
    When I edit these post in wordpress I have to add a lot of extra little code to get proper paragraph breaks ect. Also I travel a lot I want to be able to edit my wordpress site even when I do not have internet connection.

    So what im trying to do is this;
    I want to find the file that contains a post on my server, download it to my desktop, open it in dreamweaver, edit it, save it, and replace the file on my server with the new file I have edited. Thank you for the assist. – J

    Someone more versed in this correct me if I’m wrong, but WordPress doesn’t store posts and pages in “files,” per se. It stores post and page and user data in the database and calls it from there.

    So if you make a post from your WordPress dashboard on Friday, then you travel over the weekend, you can’t simply go into your server, find “the file” associated with Friday’s post, and edit and reupload.

    The files you see on your server style and manipulate the data stored in the database (I think). You can’t point to any single file that is “your homepage,” or “page x.” Your homepage uses header.php, footer.php, index.php, sidebar.php, function.php, etc., plus extracts data from the database. It’s not simply a home.html file that you can edit, upload, and overwrite.

    You could probably hard-code something in one of the files which would then show up on your page, but that’s a pretty ugly solution if you’re going to be doing it regularly.

    @jeremymccann
    My question would be, if you have internet access to upload an edited file to your server, why not just connect to WordPress and create a new post or edit an existing one? Or prepare a post ahead of time with publish date in the future?

    you can’t simply go into your server, find “the file” associated with Friday’s post, and edit and reupload.

    Absolutely correct. Everything is stored in the database.

    When I edit these post in wordpress I have to add a lot of extra little code to get proper paragraph breaks ect

    Then there’s a problem and you need to fix it.

    @asechrest; Good question,

    I shoot film and video all over the world, so If I know I will be flying to… Lets say Africa to shoot a documentary on Sat. Where I know I will not have internet connection. Friday evening I want to be able to download a backup of my WP blog to my laptop and make all my edits while I am away then upload when I return.

    @thisisedie,

    When I edit these post in wordpress I have to add a lot of extra little code to get proper paragraph breaks ect

    thisisedie wrote, Then there’s a problem and you need to fix it.

    I have had this issue with multiple blogs and a couple different themes.
    Any idea what this could be?

    Sorry guys I have found myself writing the same issue in to different forum threads we should move this over to

    – How do I edit a post outside of wordpress? Link Here>>

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘How do I edit a file outside of WordPress’ is closed to new replies.