• When I login to WP, I get (under Apache/2.4.4 (Win32) PHP/5.4.16)
    ‘Index of /wordpress/wp-admin’
    and a list of many items: Parent Directory, about.php, admin-ajax.php,…index.php,…, widgets.php.
    Why? Seems abnormal to me.

    Anyway, in that list, I click themes.php, which gives me
    https://localhost/wordpress/wp-admin/themes.php:
    a window with Manage Themes / Install Themes. OK, this seems useful. Twenty Thirteen is the current theme. I click Customize, and get
    ‘You are previewing… what? the large pane on the right is blank.
    I have filled Title and Tagline. Under ‘Static Front Page’, I chose ‘Sample Page’ for both ‘Front page’ and ‘Posts page’, but the display on the right remains blank.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Parent Directory, about.php, admin-ajax.php,…index.php,…, widgets.php.

    That’s not WordPress. None of the above are part of the root folder of a WordPress install.

    Thread Starter TAB42

    (@tab42)

    It IS WordPress –but not in the root folder. about.php, admin-ajax.php, …index.php,…, widgets.php are in the wp-admin directory. As to Parent_Directory, it’s an entry made by Apache to help navigate out to the root WP directory.

    Sounds like you might need to edit your DirectoryIndex directive so Apache will serve index.php pages by default.

    Thread Starter TAB42

    (@tab42)

    Thank you. I did that. But I am still lost.
    In the ‘Edit Page’, I have the sample page, containing ‘This is an example page. It’s different from a blog …’. I click ‘View Page’, and get the content of localHost (ie, htdocs) Index.php, which has nothing to do with the sample page. Why? Where is the sample page located? Should I move it to the root (htdocs)?

    Where is the sample page located? Should I move it to the root (htdocs)?

    The data being displayed on the sample page is located in your database. It’s displayed by calling that data into a template located in your active wordpress theme. It isn’t a physical page/file like you might expect to find on an html site.

    …Should I move it to the root (htdocs)?

    Probably not a real reason to move anything to /htdocs if you’re running WordPress locally from a sub-directory.

    Your apache web root is htdocs. The root folder of your WordPress installation is /wordpress because you’ve installed it using a sub-directory.

    Just to rule this out – and I’m only guessing on this – when you installed WordPress, did you enter both addresses in your General Settings as https://localhost/wordpress ?

    Thread Starter TAB42

    (@tab42)

    did you enter both addresses in your General Settings as https://localhost/wordpress

    No. So, I adjusted the 2nd one and… it worked!
    Thank you! TY also for the explanations about WP.

    You’re welcome. Glad you got it working!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to display my sample page?’ is closed to new replies.