Questions tagged [subdomains]
The subdomains tag has no usage guidance.
337
questions
0
votes
0
answers
21
views
Redirect domain and subdomain to rewrited rule depending on $_SERVER['REMOTE_ADDR']
In first question :
Must or do I have to use .htaccess rather than wp redirect ?
I’m loolink for to use wp_redirect() to redirect website to new permalink structure for language. Is it the good ...
0
votes
0
answers
17
views
Problem uploading photos when I show page as subdomain
I created a subdomain and created an index.php file in it. Then I gave the identity of the Dokan dashboard page to the index.php I created. So I made the dashboard page as subdomain and everything ...
0
votes
1
answer
36
views
Development to production, how to move a development site from http + dev.example.com to a production site https + example.com?
I'm in a somewhat odd development situation where I need to develop a WP site at http://dev.example.com/ and then make it live at https://example.com/.
The summary is:
Develop on http, publish on ...
0
votes
0
answers
21
views
Multisite subdomain site on secondary domain
I have a WP multisite installation that I use to host several websites for a few nonprofits that I’m a part of. I’m trying to launch a microsite for one of the domains, but can’t seem to make it work.
...
0
votes
2
answers
20
views
Multisite subdomain microsite on secondary domain
I have a WP multisite installation that I use to host several websites for a few nonprofits that I’m a part of. I’m trying to launch a microsite for one of the domains, but can’t seem to make it work.
...
0
votes
0
answers
52
views
wordpress multisite with already existing subdomain
I have activated the wordpress multisite in my main domain. Now I want to add an already existing subdomain with a separate wp installation. How can I do it?
0
votes
0
answers
12
views
Change author URL from /author/xyz to a subdomain xyz.domain.com for each new registered users
How can I change for each newly registered users page from domain.com/author/xyz to xyz.domain.com?
I'm using ISPConfig with Apache.
I know that I need to point A DNS Record: *.domain.com with the ...
0
votes
1
answer
140
views
Make multisite non-existing subdomains go to homepage instead of Index of/ page
I have a multisite with subdomains working in cPanel but non existing subdomains send users to Index of/ page, even though I have an index.php page.
How do I make it so only non-existing subdomains ...
0
votes
1
answer
148
views
Authorize subdomain to access and read user and admin cookies
My subdomains redirect alls in the main domain .
I am the admin.
We can access to my website by the main domain or subdomain.
I use that to share cookies between domain and subdomain :
There is no ...
0
votes
0
answers
80
views
How to redirect template_directory to subdomain relativ url?
I use subdomains with the same template and I try to use filter template_directory to replace serverName by $_SERVER['HTTP_HOST'] but it doesn't work .
The default page is www.website.com and the ...
0
votes
0
answers
35
views
When i try to enter subdomain i'm redirected to main domain
I have wordpress site on my server connected to domain.pl and i also have my own html site connected to subdomain.domain.pl but every time i try to enter subdomain.domain.pl it redirects me to domain....
0
votes
1
answer
287
views
Programmatically creating site in a network
Goal
Create multiple, predefined sites using wordpress multisite on plugin activation.
Current Code
$domains = array('however', 'many', 'hardcoded', 'subdomains',);
foreach($domains as $...
1
vote
0
answers
175
views
Offload Media Library to other domain on a different server
How is it possible to change the media storage of Wordpress to a subdomain on a different server. The main domain example.com running on a server pointing to IP 192.168.0.1 and I've created a ...
1
vote
1
answer
349
views
Wordpress 404 on Subdomain
I have taken a copy of my Wordpress website and set up a subdomain, and virtual host (/var/www/subdomain/) on the existing websites server.
After moving the copy of the website I am getting a 404 ...
0
votes
1
answer
22
views
Permalinks do not include www subdomain
I recently migrated a website which was both hosted with and without www subdomain. I configured the .htaccess to always redirect to www:
RewriteCond %{HTTP_HOST} ^[^.]+\.[^.]+$
RewriteCond %{HTTPS}s ^...
0
votes
0
answers
36
views
How can I have two or more WordPress Pro (paid) themes that form a single website?
I am creating a social network website with Buddyboss as the central theme. I also want to have the freelancing features that Workreap offers. Other plugins like Gamipress also provide some additional ...
0
votes
0
answers
25
views
How to serve Wordpress folder over subdomain?
I have wordpress website www.example.com I have one subdomain whose folder is also created in public_html which is same as wordpress installation folder.
What I'm looking for is if someone use apps....
0
votes
1
answer
71
views
WordPress Multisites or Multiple WP Single sites?
So I am pondering over a decision to use WordPress Multi-Sites or just use Multiple WP Single sites. The reason is that the company site is broken down into multiple departments.
Maindotcom (WP SITE)
...
0
votes
0
answers
20
views
Wordpress cloned but frontend still displays http://old_wordpress_site
I have cloned my old_wordpress_site: files and db.
In the database I have replaced everything from "old_wordpress_site" into "new_wordpress_site".
Wp-config.php on the new site has ...
0
votes
1
answer
122
views
How can I redirect some pages to new subdomain? [closed]
I have main domain as https://example.com. I added in cloudflare new subdomain as reviews.example.com. In wordpress I use redirection plugin and change url from https://example.com/some/path/some_post ...
0
votes
0
answers
23
views
How to update wordpress content of wordpress multi-site subdomain
I am trying to copy content from one wordpress site to another wordpress site (subdomain of a multi-site).
I have all of the content on the bitnami server - but don't know how to just get the ...
0
votes
0
answers
24
views
Blog on a separate server from WooCommerce WITHOUT effecting SEO?
I am wondering if it's possible to put the blog portion of my WordPress site on an entirely separate server, but without effecting SEO.
The obvious and easy choice would of course be a subdomain (i.e. ...
0
votes
1
answer
18
views
Multisite Subdomain Change
Hello I've started using the WordPress Multisite feature and my setup is this:
https://Blog.Website.com (Currently set as Main)
https://Blog.Help.Website.com
I'm trying to change it to:
https://Blog....
1
vote
0
answers
192
views
How to move wordpress to subdomain, keeping only .htaccess and/OR index.php in root domain?
I would like to move all files & folders of the root directory to the subdomain & keep the root directory empty with only the .htaccess file or index.php
I tried to search a lot but fail to ...
1
vote
1
answer
401
views
Redirect subdomain in Multisite installation?
One of my clients has a Wordpress site that is a multisite installation. They are running a new campaign that I have set up as a page under the main site at example.com/summer/. However, they sent ...
1
vote
1
answer
218
views
Pulling images from a subdomain
I have created a sub-domain img.domain.com and in the database I have changed the required paths inserting the root and the url to this sub-domain. I have also changed these paths in options.php under ...
2
votes
1
answer
266
views
How do I use different domain for subdomains in WP Multisite?
I have a WordPress Multisite network. I'd like to have my main site on a seperate domain to my subdomains.
What I mean by this is, for example, mymainsite.com on the main site, but my subdomains are ...
1
vote
0
answers
176
views
Force WordPress to load from site's hostname
I am looking for a WP php rule to always serve any webpage via the desired host without adding a redirect rule which is not an option in this case. see below.
We have our main site on one server and a ...
3
votes
0
answers
713
views
Sub-subdomain getting redirected to main domain
I'm working on a multisite network.
I intend to make it a subdomain based network but cant seem to make it work because of the redirects.
The main multisite network resides under app.trainergoesonline....
2
votes
1
answer
167
views
Post preview and oembed provider issue using polylang plugin with subdomains
[ X ] I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
[ X ] The issue still exists against the latest master branch of Polylang and the latest WordPress ...
0
votes
1
answer
19
views
How can i shift my chosen posts to a subdirectory?
I want to shift my chosen posts to a subdirectory. like...
this is a post link
mysite.com/post-number-one
want to do
mysite.com/subdirectory/post-number-one
1
vote
0
answers
13
views
Showcase elementor templates
I am being confused about how to structure my WordPress website, I want to make a website where I can show WordPress templates (elementor templates to be specific). I don't want to sell them, I am ...
0
votes
1
answer
20
views
Subdirectory mapping for a WordPress website
I have created a website on WordPress. Now I want to create a subdirectory mapping such that
mywordpress-site.com/french
points to
mywordpress-site.com
How could I do this? Is this possible with ...
0
votes
0
answers
525
views
Need to redirect from Apache2 Ubuntu Default Page to home page in wordpress
I have a subdomain like https://faq.example.com/faq this page works fine.
changed URL like main domain https://example.com/faq this also works fine.
But when I go to this page https://faq.example.com ...
1
vote
1
answer
853
views
How to retrieve TLD domain for the current website?
WordPress has certain variables like site_url and home_url and paths for things like plugins, themes, uploads, etc... but it seems there is no easy way to display current TLD domain.
This probably ...
0
votes
1
answer
281
views
Mirror Website Content Across Multiple Subdomains
I am creating a website that has multiple subdomains depending on the user's city.
I want everything except for a few sentences and WooCommerce products to be mirrored across these subdomains. I have ...
0
votes
2
answers
251
views
Wordpress deleting subdomain from the URL
Finally I've solved the wildcard subdomain for my hosting. But now I'm facing another problem.
If you try https://randomname.minepi.hu then it will redirect for the main domain and wordpress deleting ...
0
votes
0
answers
117
views
Wordpress Multisite loads wrong subdomain dashboard
Background:
I have a VPS where i launched multiple websites.
I then had a requirement to create a new website that will utilize the Wordpress Multisite functionality
I created my wordpress website ...
0
votes
0
answers
20
views
How can I change block editors suggested links to display another url (i.e. from api.mysite to www.mysite)
This is potentially not a straightforward question in that its not a native WP installation. I use a JavaScript framework (Vue/Nuxt) on the frontend at www.mysite and WordPress is running from a ...
0
votes
0
answers
19
views
How to Best Create Separate Subscribers and User Experience
I use a Bluehost (hosted) version of Wordpress 5.5.1 with Genesis for my blog (recipe and faith posts). I use the Mailchimp service for my email subscribers. I want to create a separate community (...
0
votes
1
answer
168
views
Dynamic subdomains for woocommerce affiliate sales but NO multisite. Is that possible?
I've got a woocommerce installation that sells things. We want to offer affiliates to sell our products with their own url, ie mysite.thebasesite.com. Basically, the way that it works is that a ...
1
vote
1
answer
36
views
WP Multisite - domain mapping to domain.com and separate site to domain.com/help
I'm considering setting up a WP multisite network. It would seem to fit my situation perfectly. There's one thing I still need to find out about domain mapping.
Say I have the multisite installed on ...
2
votes
0
answers
130
views
Create subdomain masking for each user in WordPress
I am trying to add subdomain URL for each user.
For eg: if my site has a user name as John then the URL which he will be sharing with his users is http://john.example.com and this should open the ...
1
vote
0
answers
25
views
Create subdomain out of sight the wp multisite
Because of some reasons I had installed a WordPress in multisite mode.
Due to apache mod_rewrite and wild card activation on the server, the control of all subdomains goes under WordPress control!
I ...
0
votes
1
answer
103
views
Https and Http Login Issue on Wordpress Multisite
I have a Subdomain WordPress Installation
My multisite MAIN SITE is using a free C-panel SSL certificate but my subsites doesn't (My host doesn't allow free SSL for wildcard)
This is the issue:
...
0
votes
0
answers
12
views
Is it possible to have permalinks to sub-domain pages and to root pages within one single WP instance?
I am trying to figure out if I can build pages referenced by permalinks to
abc.mydomain.com - and - to mydomain.com in a single WP instance.
I would prefer having only 1 WP instance for the pages ...
0
votes
2
answers
164
views
After switch domain, some parts of my site still point to my old domain
I followed the first two passes of this guide: https://wordpress.org/support/article/changing-the-site-url/
So I edited wp-config.php and functions.php.
The site seemed to work in the most of parts, ...
1
vote
0
answers
36
views
Will Wordpress installed on a whole domain interfere with other files in a subdomain or subfolder?
If I install WordPress at [mydomain.com] - a domain that I keep hosted somewhere other than at Wordpress.com - will it interfere with any files I keep
either on a dedicated subdomain (e.g. a bulletin ...
2
votes
1
answer
1k
views
Using same database for main and subdomain
I have a website let's say mysite.com (with it's own database that I created through plesk) and i have created a subdomain with the name sub.mysite.com.
After trying to install wordpress on my ...
1
vote
0
answers
8
views
Network of subdomains [closed]
We, as a commercial reseller company, would like to create a website that would allow us to help our customers to sell more of our products.
Our goal would be to create a domain (something.com) and ...