WP Permalink structure...

by lakshaybehl 17 replies
Hi Warriors!

Are you using Wp on your domain?

Can you please tell me what is the permalink structure that you are using?

Please post the reasons as well...

Regards
Lakshay
#main internet marketing discussion forum #permalink #structure
Avatar of Unregistered
  • Profile picture of the author Jason K. Thomas
    Custom: /%postname%/

    This is for SEO purposes. So, instead of
    PHP Code:
    http://yourwebsite.com/?p=1 
    , you'll see
    PHP Code:
    http://yourwebsite.com/titleofthepost 
    .
    {{ DiscussionBoard.errors[83723].message }}
    • Profile picture of the author lakshaybehl
      I was wondering what happens when two posts have the same name....

      I have been using /%category%/%postname%.html for a long time now.

      I also believe that having that .html helps you more as fasr as SE's are concerned because if you don't use .html, then there are two pages with the same content which is something that SE's hate...

      something like...


      http://yourwebsite.com/titleofthepost

      and

      http://yourwebsite.com/titleofthepost/

      They might punish You for that...

      Anyways, thank you Jason. I am looking forward to more replies...
      {{ DiscussionBoard.errors[83728].message }}
      • Profile picture of the author Jason K. Thomas
        Originally Posted by lakshaybehl View Post

        I was wondering what happens when two posts have the same name....

        I have been using /%category%/%postname%.html for a long time now.

        I also believe that having that .html helps you more as fasr as SE's are concerned because if you don't use .html, then there are two pages with the same content which is something that SE's hate...

        something like...


        http://yourwebsite.com/titleofthepost

        and

        http://yourwebsite.com/titleofthepost/

        They might punish You for that...

        Anyways, thank you Jason. I am looking forward to more replies...
        I think WP just adds a -1 to the end of the second post.
        {{ DiscussionBoard.errors[83741].message }}
      • Profile picture of the author Quentin
        I just use the same as Jason %postname% and it works fine and site is ranking well.

        Quentin
        {{ DiscussionBoard.errors[83762].message }}
      • Profile picture of the author JayXtreme
        as a default..

        Wordpress adds the number 2 to the second created post, if it has the same name as an earlier post...

        And I use the postname permalink for SEO

        Peace

        Jay
        Signature

        Bare Murkage.........

        {{ DiscussionBoard.errors[83763].message }}
        • Profile picture of the author lakshaybehl
          So you guys are voting for %postname% , huh??

          Thank you for that information.

          I will wait for a few more replies though...

          btw... Why not use .html in the end?
          {{ DiscussionBoard.errors[83787].message }}
          • Profile picture of the author jonparker83
            btw... Why not use .html in the end?
            I don't see a problem with using it but I don't see any benefits for SEO either
            {{ DiscussionBoard.errors[83810].message }}
          • Profile picture of the author entrepenerd
            Originally Posted by lakshaybehl View Post

            So you guys are voting for %postname% , huh??

            Thank you for that information.

            I will wait for a few more replies though...

            btw... Why not use .html in the end?
            I use /%postname%/ as well. This uses the "post slug" as the URL and Wordpress will not allow 2 posts to have the same slug, so you'll never have an issue with 2 posts having the same name. WP automatically increments the second and subsequent posts with the same slug.

            As for using .html, the reason that a lot of people do that is to try to hide the fact that they are using WP or any dynamic CMS for their site. It's also a throwback to the days when Google didn't like dynamic URLs like ?page=yourpage, but that's long gone.

            There's no longer any huge benefit for using .html at the end, but it certainly won't hurt either.
            {{ DiscussionBoard.errors[83823].message }}
          • Profile picture of the author JohnMcCabe
            Originally Posted by lakshaybehl View Post

            So you guys are voting for %postname% , huh??

            Thank you for that information.

            I will wait for a few more replies though...

            btw... Why not use .html in the end?
            I have one site that I've added the .html extension to. The only reason is because I converted the site from Movable Type, which creates static html files, to Wordpress and I didn't want to lose any of my backlinks.

            I don't have any test figures to prove it yet, but my research points to this...

            If your site has a single focus, with no need to separate content subjects, use /%postname%/

            If you have multiple categories and you want to use a silo structure, use /%category%/%postname%/

            As Jeff Hope pointed out, /%postname%/%post_id%/ will guarantee unique urls.
            {{ DiscussionBoard.errors[83837].message }}
            • Profile picture of the author jonparker83
              I totally agree with the .htm from a users perspective and I use this on my main website as the page URLs get copied and pasted quite a lot

              I feel that some web users may feel more comfortable with a file extension.. or not (I allow both) but this is a human feature and not an SEO one

              I'd be interested to hear if anyone thought this may effect SEO?
              {{ DiscussionBoard.errors[83870].message }}
            • Profile picture of the author entrepenerd
              Originally Posted by JohnMcCabe View Post

              I have one site that I've added the .html extension to. The only reason is because I converted the site from Movable Type, which creates static html files, to Wordpress and I didn't want to lose any of my backlinks.

              I don't have any test figures to prove it yet, but my research points to this...

              If your site has a single focus, with no need to separate content subjects, use /%postname%/

              If you have multiple categories and you want to use a silo structure, use /%category%/%postname%/

              As Jeff Hope pointed out, /%postname%/%post_id%/ will guarantee unique urls.
              All good points except for the last bit. Wordpress will not allow you create duplicate URLs is you are using /%postname%/. The "postname" variable is equivalent to the "post slug" you can set when writing a post. This field is guaranteed to be unique within a single installation of WP, so you will never end up with duplicate URLs.
              {{ DiscussionBoard.errors[83872].message }}
              • Profile picture of the author JohnMcCabe
                Originally Posted by entrepenerd View Post

                All good points except for the last bit. Wordpress will not allow you create duplicate URLs is you are using /%postname%/. The "postname" variable is equivalent to the "post slug" you can set when writing a post. This field is guaranteed to be unique within a single installation of WP, so you will never end up with duplicate URLs.
                Thanks for the reminder to check the dates on my research. The piece that recommended using /%post_id%/ to guarantee unique urls was for an earlier version of Wordpress.

                I stand corrected...
                {{ DiscussionBoard.errors[83927].message }}
                • Profile picture of the author freudianslip27
                  I use /%category/%postname%/ and like that it creates a silo like structure in addition to adding more keywords to each url.

                  Matt
                  Signature

                  WarriorForum Rules!

                  {{ DiscussionBoard.errors[83976].message }}
    • Profile picture of the author jonparker83
      I'm exactly the same as Jason

      The main reason I do this is to get relevant keywords from the post title to appear as close as possible to the domain name
      {{ DiscussionBoard.errors[83731].message }}
    • Profile picture of the author aybecker
      Banned
      [DELETED]
      {{ DiscussionBoard.errors[84062].message }}
      • Profile picture of the author lakshaybehl
        Originally Posted by aybecker View Post

        Hello Jason,

        I would recommend changing your permalinks to the following structure:
        /%year%/%monthnum%/%day%/%postname%/

        My reasons for this are simple, check Google's news feed, they only allow sites with the date in the url inside of their news feed. In addition, the date IS a part of the algorithm for determining relevant search results. Just my two sense.

        Alex
        Do you agree with this?

        Alex... I personally think that would push the keywords included within the post name far behind and it would appear that they are residing in some deep directory so that could hurt on SEO basis.

        Wonder what you guys say?

        -Lakshay
        {{ DiscussionBoard.errors[176158].message }}
Avatar of Unregistered

Trending Topics