Title: Question re wp-config.php file
Last modified: August 19, 2016

---

# Question re wp-config.php file

 *  [kathycam](https://wordpress.org/support/users/kathycam/)
 * (@kathycam)
 * [16 years, 12 months ago](https://wordpress.org/support/topic/question-re-wp-configphp-file/)
 * 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
    [http://eastcoasttechwriter.ca/wordpress/wp-admin/install.php](http://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)

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [16 years, 12 months ago](https://wordpress.org/support/topic/question-re-wp-configphp-file/#post-1084273)
 * > 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](https://wordpress.org/support/users/v2belleville/)
 * (@v2belleville)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/question-re-wp-configphp-file/#post-1084598)
 * > 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 [http://www.host.eu/wordpress](http://www.host.eu/wordpress),
   URL like [http://www.mydomain.net](http://www.mydomain.net) [http://www.mydomain.net/about](http://www.mydomain.net/about)
   etc …
 * if I simply set the web adress in wp manager to [http://www.mydomain.net](http://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](https://wordpress.org/support/users/v2belleville/)
 * (@v2belleville)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/question-re-wp-configphp-file/#post-1084599)
 * ok, I still do not know how `define('ABSPATH' works`…, but my problem:
 * > I want to give a blog installed at [http://www.host.eu/wordpress](http://www.host.eu/wordpress),
   > URL like [http://www.mydomain.net](http://www.mydomain.net) [http://www.mydomain.net/about](http://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.

## Tags

 * [wp-config.php file](https://wordpress.org/support/topic-tag/wp-config-php-file/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 3 replies
 * 3 participants
 * Last reply from: [v2belleville](https://wordpress.org/support/users/v2belleville/)
 * Last activity: [16 years, 5 months ago](https://wordpress.org/support/topic/question-re-wp-configphp-file/#post-1084599)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
