Wondering if there's a way to edit our search.php or .htaccess or function.php (or anything else...) so that our search function on our main site (www.oursite.com) includes the subdomain of blog.ourwebsite.com? Any thoughts or suggestions are appreciated it..
I have created a multisite wordpress with subdomains (hosting is Bluehost). Everytime I try to access the subdomains (test.example.com) I get a 404 error message. I copied the code to wp-config and .htaccess. I created a wildcard subdomain (*.example.com) and creates a folder in my public_html . Do I have to make changes to DNS records and what are those?
we had our Wordpress page running on example.com. But now, we're developing new React website, which already has some of the webpages ready. We use Vercel to host that React website. We want React/Vercel to host specific pages (which are already developed) and serve the wordpress page as a fallback. E.g.: React already has page example.com/pageA ready, so we want that URL to be served directly by Vercel/React. On the other hand, React doesn't has page example.com/pageB ready, so we …
I have a subdomain multisite installation in site.com, with subsites such as sub1.site.com, sub2.site.com etc. I needed to transfer one of these sites to an own domain, sub1.com. So I changed the domain value from sub1.site.com to sub1.com on the network admin panel and at first it seemed to be working. However, I was not able to log in to the admin panel on the transferred site at sub1.com/wp-login.php. No error messages, but returned on the same page every time. …
I have a subdomain: https://blog.example.com/ I forcibly redirects to subdirectory: https://www.example.com/blog By changing site URL and some RewriteRule on .htaccess. Now the website and admin works fine except a small issue like when I tried to click save button on settings page (eg: Setting > Writing ) the site redirects to main domain: https://www.example.com/wp-admin/options-writing.php?settings-updated=true /blog is missing in the URL and end up in to main website 404 page. My .htaccess file looks like : # BEGIN WordPress <IfModule mod_rewrite.c> …
Our multisite WordPress installation has a URL of https://xx.com for the main domain, and - for example, https://yy.xx.com as a subsite. We're using WP's in-built domain mapping feature. Media library links are still showing up as http://xx though, so any images used on the subdomains are flagged up as insecure. Only one subdomain - our most recent one - has media library links with a structure https://zz.xx.com. It's possible that the SSL certificate was installed after the other subdomains were …
I followed the guideline from WP Codex. Changed the site url in general settings Copied the .haccess and the index.php files from the subdirectory to the root Edited the root index.php (new copied file in root) from: '/wp-blog-header.php' ); to '/subdirectory/wp-blog-header.php' ); checked the permalink structure. the following code is in the new copied root .haccess file # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] …
I'm trying to fix a website for a company I used to work for. It looks like the CSS has been stripped from the page (won't load in any browser, I've tried multiple), the Wordpress theme I had installed is no longer functional, and the wp-admin login page that used to show is no longer loading - there is an ERR_NAME_NOT_RESOLVED that displays when I try to load the login page, and looking in the console on the homepage shows …
How can I use .htaccess to rewrite a a page on a subdomain to a page on the parent? (E.g. people visiting mysite.com/landingpage will see the content from dev.mysite.com/landingpage)? Ive been working to redesign a WordPress site, using a dev.mysite.com subdomain. The site isn't ready to replace the live WP site yet (mysite.com) but I need to map one of the pages to the old domain and make it public. Since all the work (template,database,etc) is on the subdomain, I …
I have a PHP script running in WordPress, that uses a WP_Query to get the posts from one of my subdomains and return it as a JSON string. The script only receives the post data if I call it using the correct subdomain. For example, if I go to news.example.com/api/news.php, the JSON prints correctly, but if I go to www.example.com/api/news.php it only prints an empty array. How can I call a single script that will get data from a subdomain, …
I'm trying to find a way to make subdomains work for some of my product_tags. For example nike.myshop.com will display the content of myshop.com/product_tag/nike. I googled for a long time, but most of the solutions and plugins only work for wordpress post_tag, like wp subdomain, wp super domain. Can anyone provide a solution for woocommerce? Environment 1 woocommerce 2 *.mydoamin.com DNS is set 3 Access to .htaccess 4 Access to functions.php
For example, MainSite.com is the main site for the WPMU installation. Site1.com and Site2.com are added as blog sites with the MainSite.com WP network admin tool. Is it possible to enable a user who registers on MainSite.com to pick their own subdomain for whichever site they choose (User.Site1.com, User.Site2.com, etc.)?
I have a WordPress Multisite installation with its main url set to https://web.mydomain.com (there are some nginx proxies behind this url which I can't manage) Most of the sites are generated as https://web.mydomain.com/site1 https://web.mydomain.com/site2 https://web.mydomain.com/site3 One of the sites has a special url set (masked in one of nginx proxies) as: https://specialname.mydomain.com (which internally -i guess- redirects to https://web.mydomain.com/site1 without user noticing that) I've already edited site's settings in WP Site Manager to reflect this url and works Siteurl: https://specialname.mydomain.com …
I am trying to write a .htaccess rule to redirect the URL to a subdomain. Example: example.com/pagecategory/page-single → pagecategory.example.com/page-single I've added wildcard subdomain on my hosting. Can anyone help me write the .htaccess code?
I have a UCC SSL Certificate installed on my primary domain (example.com). I have 3 subdomains listed as Subject Alternative Names (SANs) (shop.example.com, distributors.example.com and careers.example.com). Currently, I'm working on the shop subdomain. I installed the Wordpress HTTPS (SSL) plugin, but when I try to go to say, (link 1) https://shop.example.com, it redirects to (link 2) https://example.com. I cannot for the life of me figure it out. I tried changing the WordPress Address (URL) and Site Address (URL) in General …
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 subdomain subdomain.example.com running on a different server pointing to IP 192.168.1.1 which in return has 2 different home directory URL example.com /home/example subdomain.example.com /home/example2 I'm clarifying those points because upload_path and upload_url_path works great when the domain and subdomain runs on the same server however here …
I've a WordPress installation that I've transformed into a multisite network. I'm using cPanel and I've followed all the instructions to configure the WordPress installation. I've set up the subdomains mode, so for every new website I need to create a subdomain using cPanel of my shared hosting provider. The problem is that I get a 403 error every time I try to access to a subdomain website. How I can fix this and is the .htaccess code correct? NB: …
I was wondering if it was possible to create a subpage within a Google Cloud hosted website, and install Wordpress on that subpage ONLY, so that I can manage this subpage on Wordpress without having to touch anything else. Our company website is hosted by Google Cloud, and was created by developers. We want to start a blog, but since coding it from scratch takes a lot of work, we want to see if we can apply wordpress to just …
I have large DB of blog post I already export it by year and wanted to make archive by year doing it on subdomain, like 2012.mysite.com I stack looking for solution on internet, I wondering if their are someone done this before? and can advise me a good solution, all I wanted is to separate to another db by year for archiving. I have a knowledge in PHP and MYSQL.