I think PHP is the right section but it might be htaccess. Here is what i need to do and i think it needs to be changed in the wordpress coding? i know wordpress gives you the ability to change the URL of your post but i don't want to do that. I want to take what Wordpress creates using the 'pretty permalinks' option and add 'for-sale' at the end of EVERY URL automatically every time a post is created. I would think this is easy but i can't figure it out.
In 'Settings' in worpdress CMS you will find a lot of thinks like changing the URL structure. Changing the starting page of your website. Whether you want to set the starting page a blog or page? etc. So do look into them.
You need to filter the permalink. You could use: function append_string( $url, $post ) { if ( 'my_custom_post_type' == get_post_type( $post ) ) { return $url."-forsale"; } return $url; } add_filter( 'post_type_link', 'append_string', 10, 2 ); PHP: I haven't tried this. Here is a documentation from wordpress: http://codex.wordpress.org/Plugin_API/Filter_Reference/post_type_link
Wordpress Admin Panel >> Settings >> Permalinks Hit on Custom Structure (Radio Button) /%category%/%postname%-%post_id%.html This should help