Title: wordpress attachment url change itself
Last modified: August 20, 2016

---

# wordpress attachment url change itself

 *  [spiney](https://wordpress.org/support/users/steeltape/)
 * (@steeltape)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/wordpress-attachment-url-change-itself/)
 * **I always set attachment files as attachment links url in wordpress as i prefer
   the shortform version of the url**
 * so the url should be like this example;
 * <* a href=”xxx.com/?attachment_id=49″ rel=”attachment wp-att=”49″>file *
 * **but after clicking post, the links auto change itself into file name
 * <* a href=”xxx.com/category/post/49/attachment/filename/” rel=”attachment wp-
   att=”49″>file *
 * **even if i re-adds the file it wont go back to simple url. it will stay in form
   of the new url. anyone know what’s causing this?**
 * In case you don’t understand what i’m saying pls check the image below
 * [http://i.imgur.com/WnkMFrW.jpg](http://i.imgur.com/WnkMFrW.jpg)
 * > [View post on imgur.com](https://imgur.com/k5ZaWY1)

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

 *  Thread Starter [spiney](https://wordpress.org/support/users/steeltape/)
 * (@steeltape)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/wordpress-attachment-url-change-itself/#post-3636668)
 * bump
 *  Thread Starter [spiney](https://wordpress.org/support/users/steeltape/)
 * (@steeltape)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/wordpress-attachment-url-change-itself/#post-3636761)
 * any devs could answer me?

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

The topic ‘wordpress attachment url change itself’ is closed to new replies.

## Tags

 * [attachment](https://wordpress.org/support/topic-tag/attachment/)
 * [url](https://wordpress.org/support/topic-tag/url/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 1 participant
 * Last reply from: [spiney](https://wordpress.org/support/users/steeltape/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/wordpress-attachment-url-change-itself/#post-3636761)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
