Yoast SEO
Function clean_permalink() (2 posts)

  1. OzzyCzech
    Posted 2 years ago #

    Hi there,

    we have problem with infinity 301 redirection on homepage when is ON Redirect ugly URL's to clean permalinks

    We inspect code and you are use $_SERVER["SERVER_NAME"] in class-frontend.php function clean_permalink() for solving current URL.

    We have two virtual servers with different server name and same $_SERVER["HTTP_HOST"]. Will be possible use HTTP_HOST insted of SERVER_NAME?

    Thank's for response


  2. SearchConversion
    Posted 2 years ago #

    A second issue we have encountered has to do with named anchor links for jquery popup windows.

    When using inline html to define a popup it is wrapped in an achor like this link. When clean permalink() adds the full URL, this breaks the popup window.

    Any chance the use of a lightbox/fancy/colorbox could be detected or ignore named anchor links?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic