Handling URLs in WordPress application

../directory1/directory2/directory3/css/stylesheet.css should get you there if I am reading your description accurately. However, I would be very cautious using relative links in WordPress. They do not always work the way you’d expect because a lot of ‘directories’ don’t actually exist. They are fabricated by WordPress and mod_rewrite. The two conspire to lie about filesystem structure. … Read more

CPT posts listed by category with custom rewrite URL, please help!

I did look at your code and saw you changed the original code. To make it more clear what you can achieve with this snippet. You would end up with the following permalinks: /recetas-argentinas/category/desserts Shows all post with the post_type recetas-argentinas and with the category desserts. /recetas-argentinas/my-single-recept-post Shows a single post of the post_type recetas-argentinas. … Read more

Localized WordPress content for different sub-locales of same language?

Well, actually, you should view your site as requiring “multilingual” capabilities, even if the base language for both countries is identical, because the actual locale for each is nevertheless different. More specifically, you can create variant “translations” for your British (‘en_GB’) and Irish (‘en_IE’) localizations. A plugin such WPML (WordPress Multilingual) can help you implement … Read more

custom taxonomy and custom post type url conflict

Try this code. It may help you. class Tax_Seo_Perma { public function __construct() { // Hooks add_filter(‘rewrite_rules_array’,array($this, ‘create_rewrite_rules’)); add_filter(‘wp_loaded’, array($this, ‘flush_rules’)); add_filter(‘post_link’, array($this, ‘modify_link_addresses’), 10, 3); //add_filter(‘post_type_link’, ‘tsp_write_link_addresses’, 10, 3); } public function flush_rules(){ global $wp_rewrite; $wp_rewrite->flush_rules(); } public function create_rewrite_rules($rewrite) { global $wp_rewrite; // loop through custom taxonomies $args = array( ‘public’ => true, … Read more

Password protected page Hash url

The issue is that the browser doesn’t pass the hash value in the request, it is parsed by the browser itself. Since the server doesn’t know about the hash it can’t forward it along after the login. You do have access to the hash with javascript though…Without seeing your code I can’t give you a … Read more

Broken urls with http site and https wp-admin

My advice is to make the whole site https. Either add https to the settings -> wordpress address & settings -> site address or remove https if it appears in either of those inputs. For securing admin login panel only: easy method but doesn’t show secure icon. right result but more steps to consider method.