Can I access Posts of custom-fields via URL?

If you are asking if there is native way then the answer is no. While simpler and older representation of meta queries using meta_key and meta_value would technically fit into URL, they are not registered as public query variables. Even considering registering them as such would be too dangerous in a blanket way, because that … Read more

Custom permalink structure only saves with index.php inserted

When you include index.php/ at the start of your custom permalink structure you are telling WordPress to use PATHINFO permalinks. WordPress Codex – PATHINFO: “Almost_Pretty” It is possible you are using an IIS (Windows) server or that mod_rewrite is not working correctly. Permalinks without mod_rewrite The following plugin can help you determine if mod_rewrite is … Read more

WordPress Custom URLs

You can’t do this, at least not in any non-hacky way. You basically want “episodes” to represent 2 different things at the same time, but WP has no way of knowing which is intended for any given path. I guess you could put some logic at the top of your single post template for your … Read more

Rewrite rule not passing variable

Try adding ‘source’ as an custom query var, rather than defining it as a rewrite tag. function wpse162627_add_query_vars( $query_vars ){ $query_vars[] = “source”; return $query_vars; } add_filter( ‘query_vars’, ‘wpse162627_add_query_vars’ ); function custom_url_source() { add_rewrite_rule( ‘^source/([^/]*)$’, ‘index.php?source=$matches[1]’, ‘top’ ); } add_action(‘init’, ‘custom_url_source’);