Forums

different directory - template editing (10 posts)

  1. mel
    Member
    Posted 8 years ago #

    Is it possible to still edit your templates using the wordpress interface, even if your blog is located outside of the wordpress directory.
    I did everything according to these instructions:
    http://wordpress.org/docs/installation/different-address/
    And, now when I go to edit the main index template, I get the old one located in the WP directory and not the new one in the root directory. Is it possible to edit this tempalte through WP, or do I have to now FTP any changes to my index.php file? thanks
    mel

  2. Nick Momrik
    Member
    Posted 8 years ago #

    I've been able to edit any files on my site through WP by simply using the correct path/filename comibination.

  3. mel
    Member
    Posted 8 years ago #

    so,
    let's say i have wp installed here
    http://www.mysite.com/wp/
    and my index.php file is here
    http://www.mysite.com/index.php
    When I got to the templates page andI use the edit file box, I've put in
    /home/mysite/public_html/index.php
    and got nothing and also
    http://www.mysite.com/index.php and got nothing.
    Is there something else I need to be doing to make it work?

  4. mel
    Member
    Posted 8 years ago #

    and when I type in index.php I get the original index.php file that's located in http://www.mysite.com/wp/index.php, which does not update http://www.mysite.com/index.php

  5. Nick Momrik
    Member
    Posted 8 years ago #

    Try putting in ../index.php

  6. mel
    Member
    Posted 8 years ago #

    I get the original index.php file in the WP directory :-/

  7. mel
    Member
    Posted 8 years ago #

    anyone know what I did wrong? or if this is just the way WP is? thanks.

  8. lopolis
    Member
    Posted 8 years ago #

    I'm having the same problem

  9. lopolis
    Member
    Posted 8 years ago #

    Whoops, meant to give a few more details...
    Wordpress is installed at /htdocs/wordpress and my weblog is at /htdocs/collections.
    When I try editing ../collections/index.php I get "Sorry, can’t edit files with ".." in the name." and when I try editing /htdocs/collections/index.php I get "Editing ./htdocs/collections/index.php Oops, no such file exists!"
    It seems like the edit "Common files" links should be relative to where you set your blog directory to be. Any help in getting template editing working for non-Wordpress directory blogs would be great

  10. grayum
    Member
    Posted 7 years ago #

    Lopolis, did you ever find a satisfactory answer to this one? The last one seems a but "Linuxy" to me. I am having precisely the same problem.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.