Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter addy75

    (@addy75)

    Did some more digging and found the sitewide tag plugin. Used it and all is well but still looking for a way to distinguish between the origin of the blog posts to I can place the appropriate excerpt into the relative section.

    Right now I still have the standard loop on my main site in one section:

    <?php query_posts("posts_per_page=5"); ?>
        <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
        <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
    		<p><?php the_date(); ?></p>
    			<?php the_post_thumbnail(); ?>
    				<h5><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h5>
    	 			<p><?php echo excerpt(0);?></p>

    as always, any help will be greatly appreciated.

    Hey Norm,

    This is what I followed from the start to get my .htaccess situated:

    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    Hey Norm. I don’t know if this helps but I just fixed my issue. Assuming we both followed the same directions from codex on giving wordpress it’s own directory, we have 2 .htacces files: one in the root and a copy in the sub. My problem was that I kept on modifying the .htaccess file in the sub. I just modified the .htaccess file in the root with the same configs you have above and it’s working now. I feel stupid. I hope this is your situation also so you can move on. I’ve been stuck on this for 2 weeks.

    Thread Starter addy75

    (@addy75)

    Yes. Most definitely. You know you made me go inside my folders and look around again. Then I remembered that I had 2 .htaccess files. One that was in the root and one that was in the sub. I NEVER modified the root .htaccess file, only the sub duh. It’s working now. We can consider this resolved. Thank you.

    I posted the exact same problem 5 days ago on 2 different sites and haven’t received any assistance yet. I’m not supposed to post my problem in someone else’s post according to the forum guidelines so I’ll keep my eyes on both of our posts and if I eventually get it resolved before you do, I will fill you in.

    Hi all. I researched the web and this forum until I found this post and it’s such a breath of fresh air to find my exact issue. I share the same issue as cottage – the Network Admin is pointing to “mydomain.com/wp-admin/network” instead of where I need it to, which is “mydomain.com/public/wp-admin/network (where my subdir is “public” and not “wordpress” )

    I used the code above but to no avail. I am new to this forum and I want to follow proper etiquette so I just wanted to ask, is it ok to share my problem here or do I create a new post? Just checking. Anyway any help anyone can assist me with will be greatly appreciated. I am the end of my rope. Here is my code so far:

    define('WP_DEBUG', false);
    define('WP_ALLOW_MULTISITE', true);
    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', true);
    define('DOMAIN_CURRENT_SITE', 'mydomain.com');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) public/$1 [L]
    RewriteRule ^(.*\.php)$ public/$1 [L]
    RewriteRule . index.php [L]
Viewing 6 replies - 1 through 6 (of 6 total)