Hi, is your subdomain address like SUB.domain.com ?
yeah.
the root domain is agoodconcept.com and the subdomain is dev.agoodconcept.com
but if you set up cache for root domain, it does not work for sub-domain.
Hmm, it’s still rewriting the domain and it wasn’t before I installed the plugin.
Could it be how my server is organized?
Currently this is my hosts default file structure:
public_html >
– (inside no other folder) is the WordPress site for agoodconcept.com
– (subdomain) dev.agoodconcept.com
The host I’m using (Site5) is treating the subdomain as a directory inside the public_html
Can you show me an example? I cannot login dev.agoodconcept.com. is dev.agoodconcept.com cached?
Ok I figured it out at least for now. Unless you have a better way to ignore the subdomain directory.
I just put another .htaccess file in the subdomain directory and added:
RewriteEngine Off
alright. I have written it into my toDo list. thank you. I will solve it.
This is what a url to one of the sites in the dev.agoodceonept.com looked like before
dev.agoodconcept.com/Sites/ParadigmJet/
This is what this url looks like now (before I figured out the work around in my last post)
http://www.dev.agoodconcept.com/dev.agoodconcept.com/Sites/ParadigmJet/
“Authorization Required”. I cannot test it
What do you need to test this?
I can create another subdomain on my server without a password and without the “fix for now”
EDIT:
Here is a subdomain on my server.
http://test.agoodconcept.com/index.html
ok thank you. I will inform you
justono, are you talking about “www redirection” ?
http://test.agoodconcept.com/index.html is redirected to http://www.test.agoodconcept.com/index.html
are you talking about this issue?
For me,
http://test.agoodconcept.com/index.html
is being redirected to http://www.test.agoodconcept.com/test.agoodconcept.com/index.html
thats the issue I’m talking about. I just checked the cached files, the plugin is not caching anything from the subdomain/subdirectory “test.agoodconcept.com” or “dev.agoodconcept.com” its just redirecting them like the example above.
I was able to stop the redirection/rewrite for dev.agoodconcept.com by putting
RewriteEngine Off
in .htaccess file in the root folder for dev.agoodconcept.com
Hi justono, If you want to prevent redirecting, you should remove these lines from .htaccess
RewriteCond %{HTTP_HOST} !^www\.
RewriteCond %{REQUEST_URI} !^/wp-login.php
RewriteCond %{REQUEST_URI} !^/wp-admin
RewriteCond %{REQUEST_URI} !^/wp-content
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
Hey,
I switched hosts I was in the process of doing that anyway and the server is better for handling subdomains so this is no longer an issue for me.
I have another issue but I’m looking through the support tickets for an answer.
Thanks for you help!