• Hello,

    I an new to Word Press and have just created a new account here.
    I am hoping I can get a resolution to my problem.

    I am using the 5 minutes installation guide and am having a problem with step 5: (see below). When I navigate to
    https://eastcoasttechwriter.ca/wordpress/wp-admin/install.php
    I am getting a blank page in my browser.

    In the wp-config.php file there is one place I don’t understand
    what I need to put here.

    /** WordPress absolute path to the WordPress directory. */
    if ( !defined(‘ABSPATH’) )
    define(‘ABSPATH’, dirname(__FILE__) . ‘/’);

    Can someone please help me.

    =========================

    5.Open /wp-admin/install.php in your browser. This should setup the tables needed for your blog. If there is an error, double check your wp-config.php file, and try again. If it fails again, please go to the support forums with as much data as you can gather.

Viewing 3 replies - 1 through 3 (of 3 total)
  • if ( !defined(‘ABSPATH’) )
    define(‘ABSPATH’, dirname(__FILE__) . ‘/’);

    you leave that alone except for specific circumstances

    blank pages are usually indicative of php errors or low php memory – check the php error logs and ask host to bump memory to 32M for php

    v2belleville

    (@v2belleville)

    you leave that alone except for specific circumstances

    I might be under those specific circumstances and would really appreciate confirmation and hints about how to use this ABSPATH!

    I want to give a blog installed at https://www.host.eu/wordpress, URL like https://www.mydomain.net https://www.mydomain.net/about etc …

    if I simply set the web adress in wp manager to https://www.mydomain.net, links look like what I want, but pages are not found

    my host gives the possibility to have a directory (www.host.eu/wordpress) poitn to a different domain (www.mydomain.net) but then I get errors, because there is a loop somewere …

    can someone tell me if a proper seting of define('ABSPATH' could do what I whant ?

    many thks in advance!

    V

    v2belleville

    (@v2belleville)

    ok, I still do not know how define('ABSPATH' works…, but my problem:

    I want to give a blog installed at https://www.host.eu/wordpress, URL like https://www.mydomain.net https://www.mydomain.net/about etc …

    was essentially due to a wrong setting in the blog’s .htacess file:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /<em>wordpress/</em>
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /<em>wordpress/</em>index.php [L]
    </IfModule>

    # END WordPress

    the wordpress/ subdirectory should be suppressed, since this path is already given by setting the blog’s web address

    in my case, correct .htaccess is

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    have fun! … ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Question re wp-config.php file’ is closed to new replies.