Support » Requests and Feedback » Suggestion: Restrict Site Address (URL) to not allow return characters

  • Background
    I install WP in its own directory then, when I’m ready to take the site live, I move the index and change the .htaccess and the settings > General > Site Address (URL) to reflect the root domain.

    In one such site, after I took it live, in Safari browser only, there was an odd character being added only to the main menu urls which caused the urls to go to the 404 page. I started two support threads on but it was the troubleshooting instructions from the plugin support forum which eventually lead me to the true culprit…

    The Problem Found
    Apparently, when I took the site in question live, instead of deleting the folder name in the Site Address (URL) I must have hit the enter/return key. This did remove the directory name but added that pesky return which I could not see as the input is only one line in height. I checked this setting multiple times for characters after the url and as there was nothing and it looked right I didn’t look closer. Eventually I found the error by searching the database and looking into the individual field entries.

    I’m sure I’m not the first person to do this, but it may be rare and therefore not of great urgency for repair… However, it would be good if the settings > general > WordPress Address (URL) and > Site Address (URL) were restricted so not to allow returns.

    For reference:

  • The topic ‘Suggestion: Restrict Site Address (URL) to not allow return characters’ is closed to new replies.