Stop Attachment image names from taking top level permalink

Don’t link to attachment pages anywhere on your site and it won’t matter what permalink they have. Search engines only see what you make public. BTW another thing you can try is to upload only from within the post/page edit screen. That way attachments take up the parent post/page permalink. Sort of like example.com/post-name/attachment-name.

Why do I have “category” in my permalinks?

By setting your permalinks to %category%/%postname%, you are setting the permalinks only for your posts and pages. Below the posts and pages permalinks option is another one for your categories. Just set your categories slug to . and it will just be the category name. Here’s a visual example:

Comparing permalink to url

You need to be using get_sub_field(), not the_sub_field() to set $company. the_sub_field() has no return, it just echos the value, whereas get_sub_field() returns the value (but does not echo it).

Dynamically change Custom Post Type Template OR Change Permalink?

You can use the rewrite parameter of $args dynamically. Because the post type is registered every time wordpress loads (not just the first time register_post_type() loads), you can set any of the $args dynamically so long as the $post_type slug stays the same. See the codex documentation on register_post_type() for a list of the arguments … Read more

WordPress home page showing 404 error

Try checking what your front page is set to in Settings > Reading. It should either have the your latest posts option selected, or the static page option selected and the front page set to a valid page. Edit: Wait… the http://www.walkerpoolenixon.com/wordpress url you provided doesn’t exist! Maybe you mean http://www.walkerpoolenixon.com/?

Generate multiple tag query URLs

$url = parse_url( $your_url ); $query = $url[‘query’]; $args_arr = array(); parse_str( $query, $args_arr ); if( isset( $args_arr[‘param’] ) ) { $query_string = $args_arr[‘param’]; $query_string .= ‘,value2’; } else { $query_string = ‘value2’; } add_query_arg( ‘param’, $query_string ); That’s completely untested, but you get the concept. Basically, wordpress is gonna want to replace what you … Read more