WordPress.org

Ready to get started?Download WordPress

Forums

Category dot php (7 posts)

  1. TebanuS
    Member
    Posted 9 years ago #

    Hello,

    From Options > Permalinks I can do a post filename to end with .php, but now I want to do it with the categories names.

    The dots are parsed like null.

    How can I do? Thanks!

  2. ifelse
    Member
    Posted 9 years ago #

    Out of interest, why do you want to do this?

  3. TebanuS
    Member
    Posted 9 years ago #

    Because Google and Yahoo prefeers files (php) and not directories (/) for a better web positioning.

    So I want the categories to be dot php too.....

    And I dont know how to do that :(

  4. TebanuS
    Member
    Posted 9 years ago #

    ... ?

  5. ifelse
    Member
    Posted 9 years ago #

    "Because Google and Yahoo prefeers files (php) and not directories (/) for a better web positioning."

    I don't know who told you that but that's totally incorrect. From a user-agent perspective, there is no difference between a resource ending in / and ending with a file extension.

    In addition, having a file-extension makes zero difference to Search Engine positioning. The main factors that affect SE placement with regards to URL are keyword placement and length. (Cruft free) permalinks as generated by WP are thus treated favourably by Search Engines such as Google as witnessed by a lot of WP sites featuring highly.

  6. TebanuS
    Member
    Posted 9 years ago #

    For my experience, Google and Yahoo prefeers files and not directories.

    And the other reason is because a have actually a website with more than 100 files ending with .php and they are linked from a lot of websites in the internet.

    Now, I am configuring WP and I want the files still having the SAME name than before, and not change the file name because Google will consider duplicate content at my website, or if I create the new "pages" at WP, they end with a slash and if I remove the dot php files so they will do a 404 for all the incoming backlinks...

    so...

    :-( I still wanting to put my categories name dot php in WordPress....

  7. Uban
    Member
    Posted 8 years ago #

    I too am very interested in at least being able to have a file extension at the name of a Page. A big reason is for SEO purposes. I just don't feel comfortable with the notion that Search Engines don't have a preference between a directory(/) or an extension(.htm).

    IS there a way to change it?

    Thanks....:)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags