• dreamdog

    (@dreamdog)


    All my Comment keys, when hit, redirect to my permalink URL page. My Permalink page is a forum that is separate from word press.

    The redirect happens whether I have comments checked on or off.

    The site is https://RedFlagFriends.com/

    Any body who replies please give me easy answers. Sometimes I’m slow. Thx.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter dreamdog

    (@dreamdog)

    BTW if anyone is looking and wants to reply. Yes, I did reactivate the 20-10 template as well as deactivate – reactivate all plug ins. Other ideas would be greatly appreciated. Thanks!

    Moderator keesiemeijer

    (@keesiemeijer)

    They are linking to “https://redflagfriends.com/http:/redflagfriends.com/forum#respond”. All other links go to the correct pages. So it’s the code in your theme’s template files that is wrong.

    Thread Starter dreamdog

    (@dreamdog)

    Yes I see that line coding on firebug, just don’t know which theme file to fix or what code to use to fix it. btw links on other pages are closed and work okay after deactivating plugins.

    Appreciate all the help you can give. Thank you.

    Moderator keesiemeijer

    (@keesiemeijer)

    did you modify your theme? Your home page template file is (usually) index.php unless you are using a static front page.
    look for something like this:
    <?php comments_popup_link('<span>0</span>Comments', '<span>1</span>Comment', '<span>%</span>Comments', 'comment_left'); ?>

    If you did not make any modifications try:
    Putting your permalink structure to default or re-saving your permalink structure at Settings > Permalinks in your admin panel. If WordPress cannot automatically edit the .htaccess file, it will provide manual instructions after saving.

    Thread Starter dreamdog

    (@dreamdog)

    No modifications of theme and the code you present is ALL in tact.

    I put permalink back to default at setting > permalinks so there is no permalink in action. However, when I hit the Comments key it shows a weird non-functioning comments box in Firefox and on IE the page shuts down!

    I have de and re activated theme, reloaded at server, cleaned the cache and talked nicely to it, but no workee.

    Thanks for sticking by this ole dream-dog. Woof.

    Moderator keesiemeijer

    (@keesiemeijer)

    With the default structure they are going to the correct page. If you put back the permalink structure you had, does it work?

    Moderator keesiemeijer

    (@keesiemeijer)

    Also on singel post pages there is some strange stuff going on with the comments. try changing (in comments.php): <?php if ($comments) : ?> to <?php if (have_comments()) : ?>

    Thread Starter dreamdog

    (@dreamdog)

    Permalink does this:
    I use it to link a “Forum” Page link to an outside BB Forum – works fine with no problems.

    The problem with permalink working as above, is when I hit the comment key on the main WP site to leave a comment it redirects straight to the permalink page/forum page. I’ve tried this with different templates and it all does the same redirecting thing.

    THx. again.

    Moderator keesiemeijer

    (@keesiemeijer)

    maybe you have to refresh the page in your browser or clear the cache of your browser to see the changes. the links are pointing to the correct posts now. https://redflagfriends.com/?p=78#respond

    Thread Starter dreamdog

    (@dreamdog)

    Dunno. Give up. Tried all your suggestions and comment box gets screwed up 1 way or the other. Cleaned, cleared and reset all. Did all your suggestions. Maybe I’ll just find another template to use – they all can’t be like this can they? My mind needs a break from this right now. If I find some resolution I’ll post it here. Many thanks for the help.

    Thread Starter dreamdog

    (@dreamdog)

    Well, one should never give up – except on a template and if you don’t know code. I used another template which worked proper from the get go. I did not use a permalink to link the outside page, instead a menu widget and got the results I wanted. Chalk that up to another 16 hours! And thanks Keesiemeijer (whatever that means, but its cute) for the help.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘All Comment Keys Link to Permalink Page’ is closed to new replies.