Wordpress problem - auto filling in url

4 replies
I noticed my wordpress site doing something that I don't like and I want to figure out how to stop it.

On one of my pages is a report to download if someone opted in. However I noticed that someone can still get to it by typing in an incomplete url. Wordpress is finishing the url for them

So my download page is:

mysite.com/download-keyword-report

But if you go to my site and type in only:

mysite.com/download

You will be taken directly to:

mysite.com/download-keyword-report

Is there a way to stop that from happening?
#auto #filling #problem #url #wordpress
  • Are you sure it is Wordpress doing it and not the browser?
    {{ DiscussionBoard.errors[6299642].message }}
  • Profile picture of the author russ3377
    I've tried 3 different browsers on 3 different computers and the url is getting filled in on all of them, so i don't know what else it could be except wordpress.

    How would the browser know what the exact url to fill in would be?
    {{ DiscussionBoard.errors[6299686].message }}
    • Profile picture of the author KirkMcD
      Originally Posted by russ3377 View Post

      How would the browser know what the exact url to fill in would be?
      WP can't control your browser.

      If you've visited a site, your browser will remember its history and will autofill a url if you have that feature turned on.

      Have the other computers you've tried been to the download link before?
      {{ DiscussionBoard.errors[6299975].message }}
  • Profile picture of the author Austin Delaney
    The OP is right - this is a function of wordpress.

    Quick fix is to create a page called 'download'

    so you have

    mysite.com/download

    and

    mysite.com/download-keyword-report
    {{ DiscussionBoard.errors[6300519].message }}

Trending Topics