Title: Category dot php
Last modified: August 18, 2016

---

# Category dot php

 *  [tebanus](https://wordpress.org/support/users/tebanus/)
 * (@tebanus)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/category-dot-php/)
 * 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!

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [ifelse](https://wordpress.org/support/users/ifelse/)
 * (@ifelse)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/category-dot-php/#post-300811)
 * Out of interest, why do you want to do this?
 *  Thread Starter [tebanus](https://wordpress.org/support/users/tebanus/)
 * (@tebanus)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/category-dot-php/#post-300814)
 * 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 🙁
 *  Thread Starter [tebanus](https://wordpress.org/support/users/tebanus/)
 * (@tebanus)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/category-dot-php/#post-300835)
 * … ?
 *  [ifelse](https://wordpress.org/support/users/ifelse/)
 * (@ifelse)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/category-dot-php/#post-300837)
 * > “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.
 *  Thread Starter [tebanus](https://wordpress.org/support/users/tebanus/)
 * (@tebanus)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/category-dot-php/#post-301162)
 * 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….
 *  [uban](https://wordpress.org/support/users/uban/)
 * (@uban)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/category-dot-php/#post-301703)
 * 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….:)

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Category dot php’ is closed to new replies.

## Tags

 * [htaccess](https://wordpress.org/support/topic-tag/htaccess/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [uban](https://wordpress.org/support/users/uban/)
 * Last activity: [20 years, 3 months ago](https://wordpress.org/support/topic/category-dot-php/#post-301703)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
