Support » Fixing WordPress » New mod_rewrite rule

  • 1.It’s possible to create a link like:

    /%category%/%subcategory%/%subsubcategory%/%post% ????

    and this depending on how many subcategorys are… ?

    2. how can i changethis rule :

    /%year%/%monthnum%/%day%/%postname%/

    to

    /%year%/%monthnum%/%day%/%postname%.html

    tnq

Viewing 10 replies - 1 through 10 (of 10 total)
  • Why would you want to? What’s wrong with the permalinks as they are?

    For 1, this might help:

    http://boren.nu/archives/2005/03/08/ungreedy-rewrite-plugin/

    For 2, you already specify how to do it.

    let me explain:

    how’s nice?

    the first rule:

    /category/date1/date2/date3/title/

    or

    /computers/monitors/lcd/19/benQ.html

    why i want something like this?

    because helps me SEO my page and looks nicer

    tnq for the link 😀

    Why is
    /computers/monitors/lcd/19/benQ.html nicer than
    /computers/monitors/lcd/19/benQ.php ?

    Because some search engines prefer to follow and index static pages rather than dynamic ones. I have done the same thing and now Yahoo indexes every single page on my blog.

    /computers/monitors/lcd/19/benQ.html nicer than
    /computers/monitors/lcd/19/benQ.php ?

    are almost the same

    but i whant to know if is possible to create somethink like this:

    /%category%/%subcategory%/%subsubcategory%/%post% ????

    -read the first post

    The answer is here. If I read it correctly, the answer is – no.

    ok – that means its impossible for now, maybe in the future 😀

    Yahoo crawls all the pages on my site as well, and I don’t use .html at the end of every one. But as I mentioned above, the structure is already specified above:

    /%year%/%monthnum%/%day%/%postname%.html

    Just ading .html to the end will work.

    I wasn’t trying to be rude, sorry if it came off that way. But I was just curious what the purpose of such an inconsequential change was for. Kafkaesqui basically covered my point, the added extension doesn’t change anything in regards to crawling…I mean all it does is make your URL longer, really.

    To each his own.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘New mod_rewrite rule’ is closed to new replies.