As far as i know there is no way to force the url to uppercase.
As for forcing the www. this can vary as to where you are hosting etc.
Here is one generic way of doing this using your .htaccess file.
# Forcing www. infront of domain
RewriteEngine On
Options +FollowSymLinks
RewriteCond %{HTTP_HOST} ^(domain\.com)$ [NC]
RewriteRule ^(.*)$ http://www.%1/$1 [R=301,L]
Related Posts:
- Allow question marks (?) in WordPress permalinks
- How do you retrieve a post by slug name through REST API?
- remove “index.php” from permalinks
- 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?
- Use a template file for a specific url without creating a page
- How does routing on wordpress work?
- Does WordPress keep track of a post’s URL history and provide automatic redirects?
- Redirecting to old domain after migration
- Custom plugin route in WordPress
- Why is ?doing_wp_cron being appended to my URLs
- Unwanted media library URLs in posts?
- Override default url for author pages?
- Add .html (dot HTML) extension to custom post types
- How to get pretty URLs with add_query_arg in permalinks
- Using custom/dynamic “slug” for a page
- How to remove file versions from the file source links in wp_head?
- use query string in URL to display content on the page
- Change default URL path (/blog/) of blog posts
- Difference between esc_url() and esc_url_raw()
- Creating custom permalink structure for languages
- How to deal with WordPress on localhost
- Posts URL structure like site.com/category/the-post-title
- Problem with guids and absolute links
- Getting the Site URL Including the Front Base
- Multiple endpoints to same page
- How to convert the file path to a URL of the same file?
- Add menu and submenu in admin with a URL instead of slug?
- Update media file url in wordpress media library
- Why is WordPress saving full-urls to the database?
- Custom slug in front of search URL
- Display posts with author in the url with custom post types
- Clash of the rewrites
- Multiple post categories – single permalink
- Get taxonomy slug from url
- Load images with http urls inside https post
- Remove All Query Arg
- Update URL Snippet to Canonical Permalink URL
- “.#[random-char-string]” being inserted at end of URLs
- How to Rewrite WordPress URL for a Plugin
- How to prevent redirection to max 2147483647 for larger values of the page query variable?
- Add forward slash on categories url (serve one version of a url)
- URL Rewrite + Page + Custom Post Type = Unusual Redirect
- Pulling a parameter out of the URL of a WP link without “?” or being sent to a different page
- How to append a URL parameter to all outbound URLs
- How to remove /index.php/ from URL’s
- Run WordPress frontend and backend in different domains
- Pretty Permalinks
- Query two taxonomies via URL or link?
- How to create a permalink structure for posts in a specific category
- How to set global variable in functions.php
- How to remove “http://” When Echoing URL?
- Change logo url link
- WordPress and $_GET Params
- Can’t login after my site was moved to a new server
- WPML Get url without outputting
- Rewrite category wordpress
- Will references to ugly links automatically redirect to their pretty url permalink?
- List of default WordPress URLs
- How to create a specific frontend URL (not a Page) from a theme or plugin?
- Why WP encodes UNICODE (UTF8) containing urls? Any drawbacks of UNICODE url?
- Adding a hook to ‘parse_request’ so that siteurl/pagename/xyz ignores “xyz”
- How to have numeric URLs in Posts and Pages
- Unable to load static front page on home url
- how to add prefix to post url structor only
- Why does wordpress still strip my query var?
- Remove subfolders from URL
- How to build custom WP admin with custom URLs
- Appending numbers to url do not break the link
- Force home page to be https?
- Hijacking the URL for filtering
- Why WordPress automatically removes http from the url of my website’s sub domain?
- add_query_arg() One Key with multiple values
- Weird: /?name in URL leads to blog
- WP Login forms action URLs displayed as pretty URLs in browser (ex with Restore Password)
- Mapping multiple URLs to same page
- custom htaccess rewrite rule for page
- I am Looking to append URL Parameter to all URLs
- How to have a custom URL structure for a custom post type?
- flexible rewrite ‘ramble’ URLs with WordPress
- How do I amend the fixed “author” part in the URL?
- WordPress Move to SSL How to Update Media Assets to HTTPS?
- Dynamic URL generates dynamic content
- WordPress custom post type url change
- Moving wp-content outside of web root?
- Pages redirected to attachment post
- Generate one time URL
- In Settings>>General I am missing some fields
- Passing & Reading URL Parameters with URL re-writing
- Custom rewrite rules for feeds of custom queries (query_var query strings in URL)?
- Tricky URL rewrite with custom values in url
- Change homepage url
- remove post-name from title in custom post type
- How to change page URLs to “www.site.com/page” instead of “example.com/blog/page” but keep post URLs as “example.com/blog/post”?
- Exclude subcategories from the url
- Add_query_arg + two times the same argument?
- WordPress 404 unless there is a space in url
- Woocommerce different URL for every table placed in the restaurant
- Change default URL of image attachment