chaplaindoug
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Cannot Open Dashboard on New SitesSOLUTION FOUND. BUT WHY???
I went to another multisite network I created that has been working fine. I simply copied the web.config file from that working site into my non-working site. The site on which I was having problems now works.
The web.config I copied in has seven (7) rules instead of the six (6) rules contained in the web.config that did not work. The non-working web.config was created using the text given in the Network Setup page.
Below is the WORKING web.config, followed by the NON_Working web.config. It appears that the additional rule (Rule 2 in the working version) is the one that made the difference. Anyone know why it fixed it?
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="WordPress Rule 1" stopProcessing="true"> <match url="^index\.php$" ignoreCase="false" /> <action type="None" /> </rule> <rule name="WordPress Rule 2" stopProcessing="true"> <match url="^([_0-9a-zA-Z-]+/)?files/(.+)" ignoreCase="false" /> <action type="Rewrite" url="wp-includes/ms-files.php?file={R:2}" appendQueryString="false" /> </rule> <rule name="WordPress Rule 3" stopProcessing="true"> <match url="^([_0-9a-zA-Z-]+/)?wp-admin$" ignoreCase="false" /> <action type="Redirect" url="{R:1}wp-admin/" redirectType="Permanent" /> </rule> <rule name="WordPress Rule 4" stopProcessing="true"> <match url="^" ignoreCase="false" /> <conditions logicalGrouping="MatchAny"> <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" /> </conditions> <action type="None" /> </rule> <rule name="WordPress Rule 5" stopProcessing="true"> <match url="(^[_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*)" ignoreCase="false" /> <action type="Rewrite" url="{R:2}" /> </rule> <rule name="WordPress Rule 6" stopProcessing="true"> <match url="^([_0-9a-zA-Z-]+/)?(.*\.php)$" ignoreCase="false" /> <action type="Rewrite" url="{R:2}" /> </rule> <rule name="WordPress Rule 7" stopProcessing="true"> <match url="." ignoreCase="false" /> <action type="Rewrite" url="index.php" /> </rule> </rules> </rewrite> </system.webServer> </configuration>
THE NON-Working version:
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="WordPress Rule 1" stopProcessing="true"> <match url="^index\.php$" ignoreCase="false" /> <action type="None" /> </rule> <rule name="WordPress Rule 2" stopProcessing="true"> <match url="^([_0-9a-zA-Z-]+/)?wp-admin$" ignoreCase="false" /> <action type="Redirect" url="{R:1}wp-admin/" redirectType="Permanent" /> </rule> <rule name="WordPress Rule 3" stopProcessing="true"> <match url="^" ignoreCase="false" /> <conditions logicalGrouping="MatchAny"> <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" /> </conditions> <action type="None" /> </rule> <rule name="WordPress Rule 4" stopProcessing="true"> <match url="^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*)" ignoreCase="false" /> <action type="Rewrite" url="{R:1}" /> </rule> <rule name="WordPress Rule 5" stopProcessing="true"> <match url="^([_0-9a-zA-Z-]+/)?([_0-9a-zA-Z-]+/)?(.*\.php)$" ignoreCase="false" /> <action type="Rewrite" url="{R:2}" /> </rule> <rule name="WordPress Rule 6" stopProcessing="true"> <match url="." ignoreCase="false" /> <action type="Rewrite" url="index.php" /> </rule> </rules> </rewrite> </system.webServer> </configuration>
esmi: I cannot run such a test, as this is an extensive web site, online, using another theme, etc. It would be too disruptive.
However, it is notable that I do not have the same issue when logging into another one of my sites that uses a different theme. The one having the problem uses PureVision.
Forum: Fixing WordPress
In reply to: How to Allow MP3 UploadsGotcha. I have WordPress sites that I host (most of them) and sites that WordPress hosts (my personal). I just got mixed up. Thanks.
Forum: Fixing WordPress
In reply to: How to Allow MP3 UploadsYeppirs. It is only on my xxx.wordpress.com free site (hosted by WordPress) that I have the issue. I guess I have to purchase an upgrade to have this capability on the “free” site?
Forum: Plugins
In reply to: [WP SMTP Config] Not Working as Advertised in Multisite NetworkSOLUTION. DO NOT BOTHER WITH WP-SMTP.
I was able to make the plugin, “Configure SMTP” work network wide. I went to the file configure-smtp.php in the plugin’s folder and entered the information for my Exchange Server (username, password, smtp port, etc.) in the section found under:
* Initializes the plugin’s configuration and localizable text variables.
That made my specific settings for default for each network site. it works!
Forum: Networking WordPress
In reply to: Setting SMTP Options Network WideSOLUTION.
I was able to make the plugin, “Configure SMTP” work network wide. I went to the file configure-smtp.php in the plugin’s folder and entered the information for my Exchange Server (username, password, smtp port, etc.) in the section found under:
* Initializes the plugin’s configuration and localizable text variables.
That made my specific settings for default for each network site. it works!
Forum: Themes and Templates
In reply to: [Twenty Twelve] Making a Recent Posts PageThis topic is resolved per my solution at:
https://www.ads-software.com/support/topic/how-to-display-just-one-post-on-a-page-of-posts?replies=7
Forum: Themes and Templates
In reply to: [Twenty Twelve] Making a Recent Posts PageGary:
I found a solution to the issue by making my own template. See my solution at:
https://www.ads-software.com/support/topic/how-to-display-just-one-post-on-a-page-of-posts?replies=7
Forum: Themes and Templates
In reply to: How to Display Just One Post on a Page of PostsI found an article that gave the fix for the problem noted above.
https://www.sunnybalanga.com/2011/07/07/wordpress-query_posts-page-navigation-problem-fixed-solved/
I had the line indicated. But it had “paged” instead of “page.” With that correction the “Older Posts” link works.
My modified template files is as follows:
<?php /** * Template Name: Page of Posts * * for a child theme of Twenty_Twelve */ get_header(); ?> <div id="primary" class="site-content"> <div id="content" role="main"> <?php $paged = (get_query_var('page')) ? get_query_var('page') : 1; $args= array( 'category_name' => 'news', // Change this category SLUG to suit your use; or see for query parameters https://codex.www.ads-software.com/Class_Reference/WP_Query#Parameters 'paged' => $paged, 'posts_per_page' => '1'); query_posts($args); if( have_posts() ) :?> <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', get_post_format() ); ?> <?php comments_template( '', true ); ?> <?php endwhile; // end of the loop. ?> <?php twentytwelve_content_nav( 'nav-below' ); ?> <?php else : ?> <article id="post-0" class="post no-results not-found"> <header class="entry-header"> <h1 class="entry-title"><?php _e( 'Nothing Found', 'twentytwelve' ); ?></h1> </header> <div class="entry-content"> <p><?php _e( 'Apologies, but no results were found. Perhaps searching will help find a related post.', 'twentytwelve' ); ?></p> <?php get_search_form(); ?> </div><!-- .entry-content --> </article><!-- #post-0 --> <?php endif; wp_reset_query(); ?> </div><!-- #content --> </div><!-- #primary --> <?php get_sidebar(); ?> <?php get_footer(); ?>
Forum: Themes and Templates
In reply to: How to Display Just One Post on a Page of PostsThis worked:
‘posts_per_page’ => ‘1’
However, I then discovered that the “Older Posts” link that shows at bottom of page although linked to a different URL, simply displays the same one post again. This was a problem I thought was due to a plugin (Posts-In-Page), which led me to try the template approach. I now see that it is a problem with the query_posts function.
Forum: Themes and Templates
In reply to: How to Display Just One Post on a Page of PostsThanks Adity. But the addition of that parameter (argument) made no difference. The page still displays all the posts. Any other ideas?
By the way, the parenthesis is there, just on the next line.
Forum: Themes and Templates
In reply to: [Twenty Twelve] Making a Recent Posts PageGary:
Thank you for taking the time to reply. Unfortunately, I need to have multiple pages that behave as I describe. Hence, the “Home Page” and “Posts Page” will not provide a full solution.
Forum: Themes and Templates
In reply to: How to Display Just One Post on a Page of PostsThat article is about showing posts from a single category. My template already does that. I desire to show ONE POST only on the page.
Forum: Plugins
In reply to: [Posts for Page] Older Posts Will Not ShowAtarian:
Try the Posts to Page plugin https://studio.bloafer.com/wordpress-plugins/posts-to-page/
[posts-to-page category=”news” limit=1 show_date=false show_author=false]
Forum: Plugins
In reply to: [Posts for Page] Older Posts Will Not Show“Are there any similar plugins that offer this functionality?”
I have asked the same question elsewhere without reply. Kinda lonely out here . . .