How to define custom links in WordPress

Sorry for incomplete answer, Use the 301 redirects. This link give an idea about redirects https://moz.com/learn/seo/redirection https://wordpress.org/plugins/simple-301-redirects/ For the wordpres there are free good plugins for add html / htm extension to urls. This for – “.html” https://wordpress.org/plugins/html-in-url/ I think you can edit it and change it to “.htm“ If you dont want to use … Read more

Removing blank space below header [closed]

That header has margin-bottom: 30px;, so you have to add this to your CSS. .site-header { margin-bottom: 0px; } If you want to remove it even more, the content has some margin-top, so you have to add this to your CSS. .entry-content, { margin-top: 0; } In case you don’t know how to add CSS, … Read more

Where in code to replace content before display of page?

If you use native editor (and not some PageBuilder that stores data in its way), then you should be able to use the_content filter to do that: add_filter( ‘the_content’, ‘my_the_content_filter’ ); function my_the_content_filter( $content ) { $content = str_replace(…); return $content; } You might put some conditions in there, to check if you modify only … Read more

CSS Styling a specific page

That is a URL Query String. It’s still the same page, not a subpage. You can access this in PHP via $_GET and you can use the body_class hook to look for this query string and add a class accordingly. WordPress won’t add classes for query strings, it’s not a normal thing to do. Here’s … Read more