Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • I am having the same problems here on my site as well. Been banging my head for about 2 hours now. Tried uninstalling plugins to see if that was the problem, but no dice.

    I spent hours working through forums and banging my head into a wall over redirect issues that starting happening the very day at my ISP upgraded 4 of my blogs to WordPress 3.4.2. I kept experiencing redirect loops. I was able to get to the Admin page for each site during this time, but was not able to get to the home page for any of my 4 sites.

    I tried the following to no avail:
    Changing and saving various Permalink settings
    Removing all plugins
    Changing themes
    Checking rel=canonical tags
    Modifying 301 redirects through my ISP’s Cpanel.
    Installing a Redirect Fix-it plugin
    And a host of other suggestions from multiple forums.

    I finally connected with my ISP through online chat and had a tech support person investigate. He found that each of my blogs had an .htaccess file with the following line in it.
    RewriteOptions inherit

    He simply commented out this line and everything started working. Note this is the .htaccess residing in the public_html ROOT. This is NOT the .htaccess file in the directory where your blog is installed.

    I am now happily back online. Hope this helps someone out there.

    After about 4.5 hours of banging my head, I finally found out how to pass parameters to this plugin. Your bit of code up top helped me.

    I am pulling locations from a database, so my variables are obviously being defined prior to the call. The code is as follows:

    <?php echo do_shortcode('[forecast location="' . $city . ' , ' . $state . '" caption="' . $city . ' , ' . $state . '" numdays="3" iconset="Cartoon" class="css_table_class" cache="true"]'); ?>

    The syntax that kept tripping me up is the need to include spaces before and after the period where the variable is named. Notice right after the first equals sign above there is a double-quote, a single quote, a space, a period, another space, the variable name, a space, and a single quote. I had tried many times without the spaces, and I could not get it to work.

    Hope this helps.

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