Support » Plugins and Hacks » Function clean_permalink()

Function clean_permalink()

  • 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


Viewing 1 replies (of 1 total)
  • 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?

Viewing 1 replies (of 1 total)
  • The topic ‘Function clean_permalink()’ is closed to new replies.