• Resolved Riverhouse

    (@riverhouse)


    My first venture into the Support community!

    My comments links have never worked.
    When you click on the “Comments” link, the following URL goes into the browser:
    https://riverhouseepress.com/WordPress/http:/riverhouseepress.com/WordPress/archives#respond

    It seems an extra address is being inserted in there somehow. I find no menus on the Dashboard to change anything.

    I am basically a beginner, but just knowledgeable enough to edit code in a file, I think, if someone can give me a clue as to which file and what the code should read.

    Gratefully awaiting wisdom from above,
    Ron

Viewing 15 replies - 1 through 15 (of 15 total)
  • Riverhouse, there are two things that could be causing this.
    If it’s an error in the files, index.php is the spot where this is messed up. You’re using the classic theme, so you should see this in the div labeled class=feedback:

    <div class="feedback">
    <?php wp_link_pages(); ?>
    <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
    </div>

    If that is all correct, then it may be your settings. Go to Options in the admin, and unless you know you have a different set up, the WordPress address and Blog address should be https://riverhouseepress.com/WordPress/.

    Thread Starter Riverhouse

    (@riverhouse)

    Thanks very much, Fruitfly, for the response. It’s pretty awesome to get knowledgeable attention just for the asking!
    I checked the Index file in themes/class and find the script exactly as you indicate it should be.

    As to Options, it is also set as you say, except that there is no forward slash at the end. When I add one, the program deletes it when I save. Guess it doesn’t want one there!

    Any other ideas?

    Ok, I’m stumped temporarily at least. (And WP always takes out the slash, that’s normal.) There’s one thing that can help — somewhere you have this in your site:

    http:/riverhouseepress.com/WordPress/ — notice the missing / in that path? If you can find where that is in your site, that’s where the problem is. Maybe it’s hard coded in some file?? Double check the options, and make sure they have both slashes… and then I’m stuck other than that being hard coded somewhere.

    Thread Starter Riverhouse

    (@riverhouse)

    You’re a good detective – I hadn’t noticed.
    I’ve checked the options and all is in order there. I’ve also searched my backup copy of my site on my harddrive on that unique key combination, using Google Desktop and Windows search, to no avail.

    What have you got as your permalink structure? Your archive links look a lttle off too so it might a place to start.

    Thread Starter Riverhouse

    (@riverhouse)

    OK, an update. IandD, it appears you’re on the right track. I looked at the Permalinks and there was the URL with a missing /. Fixed that and changed my Permalink structure (I’d not done anything with that before and don’t know how it got set up the way it did).

    When I did that, a message came up to edit the .htaccess file. No clue where I need to edit it, but I’ll look for help in the documentation. The comments still don’t work, but at least now a legit URL comes up in the browswer when Comments is clicked. I think I’m close – just need to figure out what to do in the .htaccess file.

    Thanks guys, I am elevating my knowledge of WordPress a couple notches through all this…..!

    In the FTP, just give the .htaccess file writable permissions. Like 666 or something..and you can edit this file whenever need be in the:

    Control panel => Manage => Files

    Section….you’ll see some files listed there, just click on the link for the .htaccess one.

    spencerp

    Also, you don’t want to put the full URI in the permalink structure field — so if you’re putting in https://riverhouseepress.com/archives/%post_id% that might be the rub. If you want to use archives/postid for example, you’d just want /archives/%post_id% in the field.

    Try selecting one of the pre-done choices 2.0 offers and saving it like that (once you’ve got the .htaccess writeable that is).

    Thread Starter Riverhouse

    (@riverhouse)

    Well, it seems there is no .htaccess file.
    When I go to Dashboard/Manage/Files and click on that file, a message comes up saying no such file. I used Filezilla to check as well, using the command to show hidden files and find nothing.

    I am looking in the same directory as the Index file for my site is located. Right?

    The documentation says that 1.5 and 2.0 are supposed to create this file upon install, but apparently that didn’t happen.

    So what now?

    Well, the quick & easy solution is to give up “pretty” permalinks. Choose the default (https://riverhouseepress.com/WordPress/?p=3 is an example of that), and I’m betting that everything will work ok.

    There is the possibility that your host doesn’t support mod_rewrite (my last host didn’t) and you won’t be able to use them.

    You could try creating the .htaccess file yourself (just a blank file) and uploading it to your WordPress directory, then trying again. Maybe there was just an error in the creation?

    Thread Starter Riverhouse

    (@riverhouse)

    Hey! It works!
    What I did in these last steps (guess I’ll be detailed for the record for other newbies like me):
    – downloaded FileZilla to my laptop, which is a fantastic FTP freeware I didn’t know about before (I was using Leech which was recommended by my university. A thirdrate FTP client.)
    – created a blank .htaccess file with Dreamweaver and uploaded it
    – Used Filezilla’s Server/Raw Command feature to chmod 666 (the command is: chmod 666 .htaccess)

    It still didn’t work. So Fruitfly, as per your suggestion I went back and changed the Permalink setting to default. This probably forced it to write something into the .htaccess file and it then worked. And when I change the structure back to a Prettylinks format, it still works!

    Can you hear the howl from Virginia!
    This is very cool. Three people standing behind my virtual shoulder helping me figure this out. Every one of those comments pointed me to something I needed to figure out/do in order to fix this. It’s my first time, ever, to use a support community and it’s a great experience. Thank you all! With special thanks to FruitFly for the recurring posts.

    A round of drinks on me, bartender…..

    Riverhouse, glad to hear it’s working.=) And especially that FruitFly’s comments helped ya. =) A support forum like this is and should always be “praised”.. hehe. =) There’s alot of help in here, and if you ever need more help later..just post another topic or post.. =)

    spencerp

    If it wasn’t for some ppl in here, I wouldn’t have had the help to get my A08 theme just right…much thanks to them and they will be Credited soon!

    PPL like, Brett, Matt, another Matt, Ainslie, Andreas, Will, Katie1 (kate) from here, Cissi, Andy, Crash, Scotty, Gamerz and some others…..That helped me extensively with my A08 theme.. =)

    spencerp

    Quite welcome Riverhouse, and so glad to hear it’s working! ??

    Hey! I’d just like to say thank you to the people who’ve helped out in this thread. I had the same problem – when I click on “comments” it just takes me to the archive page for the post, wiht no comment box showing up. Turns out I didn’t change the permissions for my .htacess file to 666. Now it works. Thanks!

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Comments not working in 1.5 or 2.0’ is closed to new replies.