Viewing 15 replies - 166 through 180 (of 241 total)
  • lol.. well.. not actually..

    The root has to have the .htaccess file that does the redirecting. If that isn’t there, then there will never be any redirecting and everything else we try will break.

    Thread Starter Tremayne

    (@tremayne)

    my mistake, that IS the subdirectory htaccess…. checking the root now

    Thread Starter Tremayne

    (@tremayne)

    root htaccess look like this

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) wordpress/$2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ wordpress/$2 [L]
    RewriteRule . index.php [L]

    okay.. thanks
    I didn’t mean to say oh twice.. lol

    Thread Starter Tremayne

    (@tremayne)

    seriously, keep the thread count down, will ya. ??

    Do you still have the “marcusassoc.net/wordpress” hardcoded into the functions.php ?

    LOL.. yeah, I don’t want to take up too much space..

    If you have marcusassoc.net/wordpress hardcoded into the functions.php file it will defeat your effort to do the rewrite, I believe.

    Thread Starter Tremayne

    (@tremayne)

    sorry needed coffe.

    No, the functions php is with hardcode

    Thread Starter Tremayne

    (@tremayne)

    sorrry! withOUT hardcode. I must be tired. drinking coffee now

    lol, I know what you mean.

    Okay, thanks.. I saw where you had added it earlier and wanted to make sure that wasn’t there while we work on the rewrite. I’ve just been reading over what has been said here and I want to cover all bases.

    Thread Starter Tremayne

    (@tremayne)

    I do have an INDEX.php file both in the wordpress dir and root

    root says this

    <?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( dirname( __FILE__ ) ‘./wordpress/wp-blog-header.php’ );

    Thread Starter Tremayne

    (@tremayne)

    require( dirname( __FILE__ ) ‘./wordpress/wp-blog-header.php’ );

    is that keeping the structure alive?

    That should actually be:

    /** Loads the WordPress Environment and Template */
    require('./wordpress/wp-blog-header.php');
    Thread Starter Tremayne

    (@tremayne)

    changed it

    and similar on the sub-dir index.php?

Viewing 15 replies - 166 through 180 (of 241 total)
  • The topic ‘wp-admin link suddenly stopped working’ is closed to new replies.