mario38
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Internal Server Error due to subdomain redirectI spoke with someone at tech support from the hosting company. They do not see any problem from their end. When I described the problem, they thought it was a malformed URL generated by WordPress that may be the cause of the error.
I find it interesting I can recreate the problem with a fresh install of WordPress and only a couple of well established commands.
I think the problem may be related to the fact I am trying to do something very few people have tried to do. That is, have a domain point to a WordPress website installed on a subdomain of another domain.
Is there anyone out there who has successfully implemented the same scenario?
Forum: Fixing WordPress
In reply to: Internal Server Error due to subdomain redirectI decided to start from scratch.
1. Created a new install of WordPress.
2. WordPress was installed in this directory: https://www.siteA.com/C
3. Created a quick three page website.
4. Using Cpanel, I pointed subdomain https://www.siteB.com to https://www.siteA.com/C
5. Tested the website and every page displays as such:
https://www.siteA.com/C/page1 https://www.siteA.com/C/page2 https://www.siteA.com/C/page3
6. Changed Settings General to update Site URL to https://www.siteB.com.
7. Visted the new website. Home page displays OK but every other page produces a 500 Interval Server Error.This is with a fresh install of WordPress without any plugins.
Forum: Fixing WordPress
In reply to: Internal Server Error due to subdomain redirectYes, I own siteB.
I have used it for years to point to the subdomain located at siteA.com/B
This is a website created using HTML
What I want now is for it to point to siteA.com/B2
B2 was created using WordPress.Forum: Fixing WordPress
In reply to: Internal Server Error due to subdomain redirectFor what I can tell, the redirection works. It is the URL that does not work.
When I enter https://www.siteb.com/page I get an error.
Either entering the page directly or via an indirection, the same error occurs.
My background is programming in HTML. WordPress is very different.
In HTML, there exists a file called “page”. This is the file that is accessed when I enter https://www.siteB.com/page.
With WordPress (or I should say PHP), there is no file called “page”. So it is difficult to debug since I do not see the file “page” anywhere.
Forum: Fixing WordPress
In reply to: Internal Server Error due to subdomain redirectI tried the 301 Redirect plugin and received the same error.
Forum: Fixing WordPress
In reply to: Internal Server Error due to subdomain redirectI see two plugins:
301 Redirects
301 Redirects – Easy Redirect ManagerWhich one do you recommend?
Forum: Fixing WordPress
In reply to: Internal Server Error due to subdomain redirectIf I type https://www.sitea.com/lg/page into a browser, the correct page displays.
Using cpanel, I define the subdomain https://www.siteb.com to point to https://www.sitea.com/lg
Therefore, when I enter the address https://www.siteb.com/page it should display the correct page because it should effectively be the same as entering the address from the first line above.
That is:
Forum: Fixing WordPress
In reply to: Internal Server Error due to subdomain redirectThe redirect is done via the Settings General function of WordPress. I assigned Site Address URL to be https://www.SiteB.com.
Also, I set the Cpanel for the SiteB domain to point to the directory where the WordPress site is installed.
The terms SiteA and SiteB are generic. They are not the real names. I own the real names.
The file permissions are all default as set by the installation. They should be correct since I can access to the files via a web browser when I do not redirect to the SiteB domain but display the files under the SiteA URL.