Forums

[resolved] Comments redirecting to another post (6 posts)

  1. enric.cardona@gmail.com
    Member
    Posted 1 year ago #

    Hello, I have a strange problem. Comments (both old and new ones) are redirecting to a diffferent post that has nothing to do with the original post where the comment was added. I don't understand this redirection.

    For example if you add a comment in http://www.viajablog.com/portada-de-la-semana-136/ wordpress will place it under http://www.viajablog.com/portada-de-la-semana-121-siena/

    Does somebody understand what is going on?

    Thanks!

  2. Rick Torres
    Member
    Posted 1 year ago #

    I'm guessing you didn't install any new plugin, right?

    Perhaps you could try to disable all the plugins and see if it still happens.

    Regards

  3. enric.cardona@gmail.com
    Member
    Posted 1 year ago #

    Thanks Quicoto,
    I've been rather removing plugins than installing news these days.
    I went back to old status (with old plugins again) and still the same problem
    Cleared cache, enable it again.
    I updated the comments file from original WordPress 3.1 installation.
    I took the comments.php file from default WordPress theme and adapt it to my site.
    Still same strange issue
    I'm lost...

  4. Rick Torres
    Member
    Posted 1 year ago #

    I would try:

    1) Re-upload all the WordPress core files (wp-admin, wp-includes) (not the wp-content) with the 3.1.2 version ( http://wordpress.org )

    2) Activate the TwentyTen theme (the default WordPress theme).

    If you disabled all the plugins it has to be the theme.

    Regards.

  5. enric.cardona@gmail.com
    Member
    Posted 1 year ago #

    Thanks! Issue now solved! I realised it was a code I added to list the related posts manually! The idea was to remove additional plugins but the code itself was not ok. It was redirecting the comments to the last related post instead of the original one!

    [Code moderated as per the Forum Rules. Please use the pastebin]

  6. Rick Torres
    Member
    Posted 1 year ago #

    I'm glad you solved it Quique! ;)

    Regards

Topic Closed

This topic has been closed to new replies.

About this Topic