I think your problem is that an HTML page is a single point of reference. Swift allows you to define that custom URL in your app ( https://www.hackingwithswift.com/example-code/system/how-to-make-your-app-open-with-a-custom-url-scheme) but WordPress rewrites itself and all sub-pages, api etc. to the URL defined in the database options. So, short answer, you can’t do that. If you were to set the URL of the WordPress site to myapp://whatever.com it would break. Do you have to use myapp:// ?
Related Posts:
- Redirecting to old domain after migration
- Change logo url link
- get_site_url is not returning anything?
- How do I write the link from front-page.php to home.php?
- how to make URL link query string
- Renamed my website (URL) – how do I rename all within-page links to the old URL?
- How do I avoid messing up URLs when switching from example.com/subdir to example.com?
- Relative URLs within site
- Image not showing up in media loader success area – followup
- No https in url when writing links like:
- Create 600 links to separate files on google drive
- In-page link works in Firefox but not in Chrome
- Let WordPress to go opening an external URL
- Two domain site: Link base URLs point to wrong domain
- Why am I seeing ‘yes’ and ‘no’ in URLs crawled by Xenu?
- Typing local WordPress URL works, but clicking the same link does not
- How do you retrieve a post by slug name through REST API?
- Why “?v=hash” is added to my URLs? [closed]
- Detecting a WordPress URL without doing a full HTTP GET?
- How does WordPress generate URL slugs?
- How does routing on wordpress work?
- Unwanted media library URLs in posts?
- How to remove file versions from the file source links in wp_head?
- Add menu and submenu in admin with a URL instead of slug?
- Update media file url in wordpress media library
- Dynamic URL generates dynamic content
- Change website URL without breaking links or images? WP 3.3
- As soon as I add a custom query_var using the filter, my pages point to an archive page – why?
- how to grab first link in post… and of course call it
- Password protected page Hash url
- Which of WordPress’s .php files need to be directly accessible via HTTP?
- Remove site root trailing slash
- Convert link in WordPress 3.2.1
- How to create a page for authors? like www.myblog.com/author/
- Confusion about how a URL is being parsed
- Old URL Redirect website after migration
- pass user id in slug and get user information
- Best way to give site sub-page it’s own domain?
- Dynamically change page title from URL param
- What is the correct way to convert the absolute path of the executing script to a URL, in WordPress?
- Getting 404 Hits on URI -/-/-/-/-/-/-/-/-/- . How to deal
- How to change logo url [closed]
- Make homepage a non-WordPress page
- Avoid the removal of “https:” from URLs
- Content duplication issue with dynamic URLs
- Is get_permalink also the canonical URL?
- Remove trailing slash from previous_posts_link()
- Moved WP into new folder. How to fix image links in posts?
- Using esc_url_raw with protocols properly
- Site transferred to new server produces 404s
- How to parse a custom url (within WP site) and obtain params passed to that URL
- Change URLs depending on alias
- wordpress copyright dynamic
- Multiple duplicate URL’s
- Made WordPress URL and site address URL the same
- How can i get rid of wp in front of URL
- Need to change link URL embedded in multiple posts to new link URL
- Dynamic URL and pass the data to an iframe
- DNS – Change WordPress Site Name?
- how to replace hostnames on certain external links?
- Unicode characters are saved in a funny way in the DB
- Unnecessary url
- How to close tab automatically if URL has specific word? [closed]
- Replace category name with article id in wordpress urls
- Redirect Old wordpress url to new wordpress url
- Finding URI in Child Theme
- Make custom system url
- Sanitizing URL in a WordPress plugin
- How to display translated content with custom slug?
- How to get a page url segment on wordpress?
- How to set wordpress url on local host to access it via VPN
- How to create a user ability to save pages with full url?
- I found weird email address appended to some of my URLs, what does that mean?
- how to remove this #.XsZOUWhKjIU from my wordpress url
- Add more than one query parameter onto wordpress url
- WordPress Website change directory
- Allow duplicate slugs for pages and posts
- How to show a full page when someone links directly to an image on my site
- Cannot Save Changes After Updating URL Settings
- How to encode correclty an url with the char “&” for an email?
- How do i create navigation links like this in wordpress? [closed]
- Blog post Links leading to home page [closed]
- Change dynamically URL to SEO friendly via .htaccess?
- Get userdata from url
- How to make url variable?
- WordPress dynamic subpage for ACF
- From whence %E2%80%8E at the end of post link
- WordPress Address (URL) Reverts back
- wp-login.php ampersand in url results in 404
- How to pass REQUEST_URI to function
- Why links are not linked if edited comment?
- Change path/url of admin-bar.min.css
- wordpress url with format .com/category/sub-category
- URL Forwarding – wordpress links reverting back
- Get gallery url (Nextgen) [closed]
- How to use query string in URL to display content on the wordpress page
- Function to get custom post image URL
- How to echo a dynamic url
- Block a specific url request
- What purpose does /embed/ URL have and how to avoid SEO problems?