Forum Replies Created

Viewing 15 replies - 76 through 90 (of 174 total)
  • When I add it and upload it, it works but then later it doesn’t and when I check the .htaccess file it seems to be gone. Any idea?

    I found that any changes I wanted to stick in the htaccess file had to be outside of the section for WordPress. Keep your customizations separate from the part of htaccess that WP is always re-writing.

    Thread Starter Will Taft

    (@wt)

    OK. Maybe the problem is with me because I find I do not spend the time to keep blacklists and whitelists up to date. It seems sort of like trying to keep a virus definition database up to date manually rather than having it happen automatically. Maybe I am not understanding how you do it with WP-Deadbolt. I’ll look at your site again.

    Thanks!

    Thread Starter Will Taft

    (@wt)

    I don’t require registration, so I’ll leave it off for now. I can always register someone manually if they want to subscribe to email or something.

    That link to the plugin looks good if you want something reactive and not proactive. In searching, I don’t find anything proactive to prevent spam registrations. May be that it is a hard thing to implement.

    Anyway, thanks for your replies!

    Thread Starter Will Taft

    (@wt)

    Has anyone had a chance to look at the paste bin at the Apache WP file? It seems to cover most anything you might want to block on a WP blog, but I think it would still allow indexing of my single posts, (#4 above).

    But….. I did read that the Google bot looks only at the first user agent entry it comes to so if that is true, the Apache file would not work because the Google bot would follow the “user agent *” and not look any further down to “user agent Googlebot”

    Can anyone help clarify this?

    Thread Starter Will Taft

    (@wt)

    Thanks whooami. It’s clear now. Always is an easy word to understand! πŸ™‚

    I don’t have a robots file at all now, so I will make one.

    —————–
    Still if anyone else can answer my questions in the initial post about Google indexing drafts and indexing some posts twice, once with the reference to the index.php file, I would really appreciate it. I can’t see how to stop that if I can’t figure out why it is happening. I understand the index.php file in my theme directory and have made several changes to it over time. But I don’t understand the index.php files in the root/ and root/wordpress/ directories. It seems to be the one in the /wordpress directory that is getting indexed and showing duplicate posts?

    Thread Starter Will Taft

    (@wt)

    Thanks whooami, lots of stuff to read there. One thing I did not see and am unclear on is:

    My WordPress is in it’s own directory. So, for example, wp-login.php is at root/wordpress/wp-login.php. However when you go to a page or post on my site, the address is mysite.com/page or mysite.com/category/posttitle/.

    Does the robots.txt file still go in the root directory?

    Thanks!

    Also, can you or anyone else clear up my first questions in the initial post about Google indexing drafts and indexing some posts twice, once with the reference to the index.php file?

    Thread Starter Will Taft

    (@wt)

    For any future searchers of help on this, I tested and now pingbacks are working and show up in the moderation que as expected.

    Thread Starter Will Taft

    (@wt)

    So, why do you pick all the wrongly coded themes? πŸ˜‰

    Yeah, I know, 0 for 2, so far! I guess because I picked them based on their looks and not on other, more relevant criteria. Also, as someone new to php files, I did not have the knowledge to pick them by how well they were designed.

    If I ever go with a new theme, maybe before I start customizing anything, I’ll start a thread asking for help determining if it is a well coded theme. Thing is that idea might start all newbies doing it, and drive a few of the pros here over the edge!

    Oh, well… Thanks for your help in figuring this thread out!

    Thread Starter Will Taft

    (@wt)

    I have NO idea why that div id = content is at the top of the file. I just copied and pasted the whole file into the bin. Rest assured it is not in that location in the index file in the Andreas theme. Weird. Anyway the correct paste of that files contents is here: http://wordpress.pastebin.ca/541863

    As for your answer as to where to put it… Do you mean put the code before the closing head, right after <?php wp_head(); ?> only in the index.php? Or does it have to also be in the page.php?

    For what it’s worth, there are several themes out that are written this way because I have seen where the author of the plugin I referred to above has had to patch them for people to get his plugin to work. Everyone seems to agree with your assessment of it not being a smart way to make a theme!

    Thread Starter Will Taft

    (@wt)

    Yes, that is the whole thing. The original that came with the theme is actually a few words shorter.

    I have a head section in my index.php file. That code is pasted in the wp paste bin:

    http://wordpress.pastebin.ca/538203

    Also in the page.php file:

    http://wordpress.pastebin.ca/538212

    May not be related, but I got the following quote from the author of a plugin that in order to work with certain themes had to have the theme modified. He was very nice and edited the theme files to make his plugin work.

    “this sounds like another theme that doesn’t call wp_head(). Please try the default theme. If that works all right it’s the theme …”

    If you can make any sense of it, I would really appreciate being told exactly where I need to put the code you typed in your second reply, above.

    Thanks!

    Thread Starter Will Taft

    (@wt)

    No, although I did try to follow a thread I found and put in something like it. But, it did not work. The entire header.php file as it is now is pasted below. I can try inserting exactly what you outlined above right before or after the “?php list_wp_pages” line and see if that does it?

    <div id="sitetitle">
    <h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
    <h2><?php bloginfo('description'); ?></h2>
    </div>
    
    <div id="menu">
    <ul>
    
      <?php wp_list_pages('sort_column=menu_order&exclude=32&title_li='); ?>
    </ul>
    </div>
    Thread Starter Will Taft

    (@wt)

    OK, thanks. I am glad I understood the mechanism correctly. I did get trackbacks working correctly. #2 in your example works.

    #1 is what is not working and I can’t figure out why. I had someone link to one of my posts in their blog and I get no notice of it. There are also other blogs that linked back to a couple of my posts a couple weeks ago and I got no notification. I even just linked today from one post on my site to another, (which should also cause a pingback?) and got no notice for that either.

    One of the things I did for trackbacks was to add this line to my single.php file:

    <a href="<?php trackback_url(true); ?>">Trackback This Post</a> |

    Do I need to do something similar for pingbacks?

    Thread Starter Will Taft

    (@wt)

    I finally got the trackbacks working. They now show up as a comment waiting to be moderated, which is perfect.

    Maybe I am just not understanding pingbacks correctly. If so, can someone PLEASE set me straight? :0

    If another blog links to one of my posts, I should get a pingback, correct? If so, how am I notified of that pingback? Are they supposed to work like the trackbacks?

    My understanding is that pingbacks, if set up correctly, work automatically. Because I had to enter code manually in my single.php file to get trackbacks to work, I suspect my theme also does not automatically support pingbacks.

    I can’t find the directions for editing single.php to make pingbacks work.

    Can anyone help?

    Thanks!

    Thread Starter Will Taft

    (@wt)

    After much reading, I believe I finally have trackbacks set up correctly. I have a trackback url link displaying under each individual post. I also have WP options set to allow pingbacks and trackbacks. On individual posts, I set to allow comments and pings.

    However, neither trackbacks or pingbacks show up in the comments of individual posts.

    What am I missing here????

    Thanks!

    Anyone reading this because their users don’t get their password emails, look at the following link to Whooami’s site. There is a file to allow users to choose their own password. Emails still won’t be sent, but the users don’t need them as they choose, and know their password.

    http://www.village-idiot.org/archives/2007/05/29/wordpress-picking-your-password/

Viewing 15 replies - 76 through 90 (of 174 total)