Is this perma structure still crawler-friendly? (5 posts)

  1. prara
    Posted 12 years ago #

    (notice: without the / at the end)

  2. sunshine
    Posted 12 years ago #

    Normally, a slash at the end would indicate that the uri points to a directory (and so find the actual page, is it index.html?, etc). Without a slash would mean that that's the file's actual name.
    So, that makes sense to me (and maybe preferable to an ending slash). But, you know, don't take that as gospel or anything. :)

  3. unoamigo
    Posted 12 years ago #

    The mod rewrites are all handled server side, if you can type the uri into a web browser and have it load up a page, the crawler will pick it up.
    However, I would probably recommend not using that structure. It is possible that you could end up with two posts that have the same name. I have over 600 posts, it really wouldn't surprise me if my creative titling duplicated itself at some point in them. In which case, I'm not sure what WordPress will do.

  4. prara
    Posted 12 years ago #

    Thank you for that advice. I am inserting the unique id # of the post /archives/%post_id%/%postname%

  5. Anonymous
    Posted 12 years ago #

    Of course inserting the unique id # of the post with slashes creates new subdirectory with the name of the unique id, and the postname is the only file in that directory.
    creates things like:
    I am still setting up my own install but I'm going with a structure that uses a hyphen instead of a slash to separate the unique id from the post topic, e.g.,
    Assuming this works (and it does work as a regular expression; my only concern is with some WP-specific exclusion) then I will get something like:
    This is (a) unique; and (b) keeps multiple files in a directory so that I can log in and browse as necessary.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.