Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Does that have anything to do with Relevanssi? As far as I can tell, Relevanssi has nothing to do with that search. Does the problem persist if you disable Relevanssi?

    Thread Starter S o f t f u l l y

    (@softfully)

    Yes, you are right and sorry for that because this talk is for back-end search inside wordpress software.
    But if any fix in functions.php can help to resolved above issue and for that we need your help.

    For more details:
    This above issue is in 2-fold i will try to explane you below…

    My website permalinks are configured like so: /%category%/%postname%/

    The first issue is that although a primary category is set for all of my posts, when using the WordPress Link button, WordPress does not always insert the link using the primary category in the URL. I read that other people were having a similar issue where the categories where being inserted in alphabetical order. This does not seem to be the case for me as for the most part the permalink is working correctly, but not accross every post.

    The second issue is that the post is not redirecting to the url which contains the primary category eg.

    example.com/secondary/test-post
    is not being redirected to the correct permalink as shown below
    example.com/primary/test-post

    Instead, the post is visable on both URL’s.

    I believe that this would cause me a lot of duplicate content issues?

    Your help would be appreciated.

    Thank you.

    Plugin Author Mikko Saari

    (@msaari)

    Having post appear with two different URLs is not a huge issue – no matter how you setup your site, your posts can be accessed with different URLs (the pretty permalink and the http://www.example.com/?p=1234 post ID URL). The solution to this is to include a canonical link element which will tell the search engines the correct link to use. If both URLs have the same canonical link, then the duplicate content doesn’t matter.

    I don’t really know what the permalink issue is about, but I don’t think Relevanssi has anything to do with it.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Most common issue in WP’ is closed to new replies.