• Resolved LostInDaJungle

    (@lostindajungle)


    I have a wordpress install that was placed in /wp/ for testing and set up.

    I am following the instructions from http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    I have done this several times, and each time I get to step 7, login to your admin panel and update permalinks, I get errors like the following:

    Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 7680 bytes) in /home/holidays/public_html/wp/wp-content/plugins/jetpack/modules/widgets/gravatar-profile.php on line 130

    It is a different php file each time.

    My .htaccess:

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

    index.php

    <?php
    /**
     * Front to the WordPress application. This file doesn't do anything, but loads
     * wp-blog-header.php which does and tells WordPress to load the theme.
     *
     * @package WordPress
     */
    
    /**
     * Tells WordPress to load the WordPress theme and output it.
     *
     * @var bool
     */
    define('WP_USE_THEMES', true);
    
    /** Loads the WordPress Environment and Template */
    require('./wp/wp-blog-header.php');

    I know that I can run other php files from my root directory. I have W3 Total Cache installed, and I disabled the plugin but still no luck. I have tried doing a search and replace of the Database with no change.

    What should I be looking at?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Problems moving wordpress from a subdirectory’ is closed to new replies.