Forum Replies Created

Viewing 15 replies - 106 through 120 (of 174 total)
  • Thread Starter Will Taft

    (@wt)

    Thanks. This is what I changed it to and it works, except it does not put in the line space. Can you see my mistake?

    `<?phpwp_get_archives(‘type=postbypost&limit=6&format=custom&after=<br/>’);?>

    Thread Starter Will Taft

    (@wt)

    As an update, it appears this code needs to be first and apart from the WordPress section of the htaccess file to avoid being rewritten.

    This is what my htaccess file looks like now:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} ^www\.yoursite\.com$ [NC]
    RewriteRule ^(.*)$ http://yoursite.com/$1 [R=301,L]
    </IfModule>

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %

    {REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Today I started getting this error also, on my contact form page, after a user clicks submit. For what it’s worth, I do use GoDaddy.

    In my case I thought it was related to how long the page takes to load. So far, at least it never happens on pages that load quickly. In the case of submitting the contact form, there seems to be just enough of a delay to trigger the timeout/error message. I thought it might be caused by the contact plugin I was using, so I deleted that one and installed another. Same thing. The contact email does go though ok even with the error. It also seems the page has at least partially loaded when the error occurs as it is usually only a few of the items in my sidebar that don’t get loaded.

    There is a work around offered here:

    http://www.openadvent.com/blog/?p=30

    The offered solution is too complicated for me to understand or implement. I think the author is saying it is a result not of a timeout, but of an attempt to reuse a closed connection, but I’m pretty sure I don’t understand correctly.

    Thread Starter Will Taft

    (@wt)

    For anyone who finds this in a search… Below is what I did to get this to work. The two lines in the middle are what I added to the existing file. It appears to work correctly. If any of the experts here see a problem with the code, please respond. Otherwise, I’ll mark it resolved. Thanks.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    
    RewriteCond %{HTTP_HOST} ^www\.yoursite\.com$ [NC]
    RewriteRule ^(.*)$ http://yoursite.com/$1 [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
    Thread Starter Will Taft

    (@wt)

    Duh… sorry it was the cache of course. My brain these days gets so overloaded with learning all this, I guess I forgot the simple cache clearing step. Now I can see them using your link and will just have to fix the feedburner stuff.

    Thanks again.

    Thread Starter Will Taft

    (@wt)

    When I made to directory changes, the feedburner feed would no longer work. I need to get that resolved, but wanted to first make sure the feed was indeed available on my site.

    No matter how I try to access the feed, I get the feedburner error. I have tried directly through Google Reader, also by going directly to feedburner and telling it to get the feed from my site. It can not find a feed. Even clicking on the link in your message above, I get only a feedburner error. I have now deleted my feedburner setup and that makes no difference. I also went to the FeedShow site, but that tool also tells me that there is no valid feed available.

    How did you determine that my feed works? I would like to know how to reach the same conclusion myself, not for this time, but for any possible future issues.

    Thanks again!

    Thread Starter Will Taft

    (@wt)

    Well everything does seem to work except my feed is now broken. The wp-rss.php and wp-rss2.php files are still in the wordpress directory. But when I try to subscribe in Google Reader or even use feedburner to locate the feed, a 404 error is returned.

    I guess this is a result of setting up wp in it’s own directory. What do I need to do to fix this?

    Thread Starter Will Taft

    (@wt)

    Wait a minute…. Just now, 30 minutes after doing the steps in the last post, things seem to be working. Let me click around and try all the pages etc. and I will post back.

    Maybe I was too impatient. I expected the changes to take right away. Is it logical that they would be delayed?

    Thread Starter Will Taft

    (@wt)

    OK, no joy. Did what was instructed above and in the codex and only the home page displays correctly. All internal links are not found. I updated the permalink structure from the options panel, no difference. I tried setting permalinks to default, no difference. I have options>general> wordpress address (URL) set to http://willtaftdotcom/wordpress and Blog address set to http://willtaftdotcom.

    The index.html file that was in root is gone.

    The index.php file in root reads:
    <?php
    /* Short and sweet */
    define(‘WP_USE_THEMES’, true);
    require(‘./wordpress/wp-blog-header.php’);
    ?>

    The index.php file in /wordpress reads:
    <?php
    /* Short and sweet */
    define(‘WP_USE_THEMES’, true);
    require(‘./wp-blog-header.php’);
    ?>

    I moved the .htaccess file to root, but did not change anything in it. That reads:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    What on earth am I doing wrong?

    Thread Starter Will Taft

    (@wt)

    means literally make a copy, leaving the originals where they were?

    Yes ๐Ÿ™‚

    Although Michael says: Delete wordpress/.htaccess

    So, it probably works either way as long as there is .htaccess in root and the index.php files are in both places and read as directed by the codex and Michael?

    I’ll try it again tomorrow and hopefully come back to mark this as resolved!

    Thanks!

    Thread Starter Will Taft

    (@wt)

    Yes, thanks for the reply Michael. I did get that from the codex and had that correct. Do you understand Rudolph’s reply and my confusion? I obviously have something wrong, but I am very good at following instructions. I though I did exactly what the codex said to do, but am unsure about step 7 which says to “copy” the .htaccess and index.php to the root directory. Literally taken this would mean that I should have a copy of each, one set in root and the other set in root/wordpress. I did not do that, I moved the two files from /wordpress to root. Is this my error?

    Thread Starter Will Taft

    (@wt)

    Or maybe… “Copy the index.php and .htaccess files from the WordPress directory into the root directory of your site (Blog address).” means literally make a copy, leaving the originals where they were? I moved them. Or am I groping for what I am missing and getting further befuddled?

    Thread Starter Will Taft

    (@wt)

    Ugh! I am being dense or just not understanding your help. Sorry. I see that 1 and 6 don’t apply in my case and I left them alone. But 7 says:

    “Copy the index.php and .htaccess files from the WordPress directory into the root directory of your site (Blog address).”

    So when I do this step, after renaming the index.html file that was redirecting, both index.php and ,htaccess are then in the root directory. Is this wrong?

    And by the way, Rudolf, even though I have said it before, I really appreciate the patient help you offer here. I know it can be frustrating trying to get us newbies to understand some of this stuff. Especially those of us that are on the AARP mailing list! ๐Ÿ˜ฎ

    Thread Starter Will Taft

    (@wt)

    Now a follow up. Someone named Otto, (maybe the Otto42 from here?) posted the quote below on another site. I have the .htaccess file referenced above in my wordpress directory, which is right below the root directory of my domain. Ie: mysite.com/wordpress. Do I make the revision to that file or do I need another .htaccess file in the root directory?

    “While this plugin and other like it will indeed work, I really recommend using the .htaccess method instead, if you can get it to work.

    Itโ€™s actually very simple to do. Go to no-www org and scroll down the page until you find the post titled โ€œMake your site Class Bโ€. Copy that htaccess code into the .htaccess file at the root of your webpage. Change the โ€œdomainโ€ to your own, obviously.

    Done and done.”

    Thread Starter Will Taft

    (@wt)

    Thanks! I am trying to learn more about the whole Google cannonicalization thing, 301 redirects etc. but it is a bit confusing.

Viewing 15 replies - 106 through 120 (of 174 total)