How can I change all links on pages to point to a different domain from where the site is hosted?

I saw this question: How can I change permalinks to use a different domain and path from where the blog is hosted? and was wondering if someone can help me. We’re hosting a wordpress blog on WP Engine (e.g. blog.wpengine.com) We have a different app hosted on Azure (e.g. at site.com.au) and are using a … Read more

Alias ‘wp-content’ directory to something shorter (framework?)

I recall seeing this as a feature of a WordPress Development Framework, so I know it’s possible (can’t remember the framework). I am interested in how to condense the WordPress-generated urls to something more concise and not so “WordPressy”. I’m thinking that I would have to both update the .htaccess and add some kind of … Read more

How to restore WP 5.4 behaviour where a numeric string could added to each page URL and parsed as “page” in WP 5.5?

In WP 5.4.x, I was able to add a number to the URL for any page, post, etc. (incl. custom post types), which WP interpreted as the ‘page’ for a multi-page post, even if that page or post didn’t actually have multiple pages. I assume that this was some kind of shortcut for /page/12345/ I … Read more

wp-admin edit user url wont show up correct url [closed]

Closed. This question is off-topic. It is not currently accepting answers. Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third party plugins and themes are off topic, they are better asked about at their developers’ support routes. Closed 12 … Read more

Add filename to attachment page url

I wan to change my premalinks to attachment pages from http://example.com/…/attachemnt/something to http://example.com/…/attachemnt/something/something.jpg It should simply add filename but with nice url, I tried with add query arg() but this builds url query like ?name=something.jpg. Is there solution to achieve this without hard coding anything to wordpress? 1 Answer 1 This doesn’t require a WordPress … Read more

Get a permalink structure of /%posttype%/%category%/%postname%

I have a custom post type named Reportage, added in functions.php: add_action( ‘init’, ‘create_post_type’ ); function create_post_type() { register_post_type( ‘reportage’, array( ‘labels’ => array( ‘name’ => __( ‘Reportage’ ), ‘singular_name’ => __( ‘Reportage’ ) ), ‘public’ => true, ‘taxonomies’ => array(‘category’), ‘query_var’ => true ) ); register_taxonomy_for_object_type(‘category’, ‘reportage’); } Now I want to use this … Read more