1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How Do Wordpress URL's/Links Work? SO Confused, Don't get it....

Discussion in 'BlackHat Lounge' started by hellohellosharp, Dec 28, 2011.

  1. hellohellosharp

    hellohellosharp Power Member

    Joined:
    Dec 8, 2010
    Messages:
    625
    Likes Received:
    552
    Occupation:
    CEO @ CLEANFILES LLC
    Location:
    USA
    Home Page:
    I simply cannot understand how the permalink structure can work. I am using the structure /%postname%/.

    So if I make a post called "Hi this is cool!" I get a a permalink that is

    Code:
    http://mywebsite.com/hi-this-is-cool/
    But how can that work? Doesn't the / in a url make it go to a new folder? SHouldn't there be a folder called "hi-this-is-cool" in my root directory?

    I am sorry, I just don't get this...thanks for any help:)

    I am not a complete noob, I understand PHP and html really well. If the url looked like
    Code:
     http://mywebsite.com?post=hi-this-is-cool
    then it would make perfect sense to me. But this just blows my mind lol.
     
    Last edited: Dec 28, 2011