gjensen
Forum Replies Created
-
Forum: Networking WordPress
In reply to: moving from sub folder wordpressmu to wordpress msPS I’m on Plesk
Forum: Networking WordPress
In reply to: moving from sub folder wordpressmu to wordpress msGood Morning,
Thanks for all your help. Thinking I’m in way over my head need to hire someone to help?
I finally got into the wp-admin and updated the url and homepage of each blog that got the /columns to go away for all except blog 1
I had the web host make sure the
/var/www/vhosts/<adviceandinfo.com>/conf/vhost.conf was:ServerAlias *.adviceandinfo.com
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.* [NC]
RewriteCond %{HTTP_HOST} ^([^\.]+)\.domain\.com
RewriteCond /var/www/vhosts/domain.com/httpdocs/%1 -d
RewriteRule ^(.*) /%1/$1 [L]Now I’m getting a firefox redirecting not working error using either my orginal .htaccess or the new one posted above
“The page isn’t redirecting properlyFirefox has detected that the server is redirecting the request for this address in a way that will never complete.”
Forum: Networking WordPress
In reply to: moving from sub folder wordpressmu to wordpress msOk, I removed all references to /columns in the data
but the subdomain links still don’t work and still appear to be trying to go to /columns
Still can’t get into wp-admin
this is my .htaccess
RewriteEngine On
RewriteBase /#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]# add a trailing slash to /wp-admin
RewriteCond %{REQUEST_URI} ^.*/wp-admin$
RewriteRule ^(.+)$ $1/ [R=301,L]RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . – [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]<IfModule mod_security.c>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>this is what my web host
said about apache changes
Requirements for having wildcard SSL
————————————-To have wildcard subdomains, you need to take care of 2 points.
1) Have the DNS for *.adviceandinfo.com. point to 216.14.127.109
2) Have an entry for ServerAlias configured for *.adviceandinfo.com on the Apache configuration file ( needed only if the domain is hosted on a non-dedicated ip or if the ip is not the first domain, if arranged in the alphabetical order )In your case, the first condition is satisfied. The second condition is not required, since the domain is the first domain if we arrange the domains hosted on the ip – 216.14.127.109 alphabetically. So, locgically wild card SSL should work with the current configuration you have.
Testing process.
—————I’ll now let you know, how I tested. This is our expected end result.
1) Anydomain(or *).adviceandinfo.com should point to the same DocumentRoot of adviceandinfo.com
2) webmail.adviceandinfo.com should still be redirecting to the horde webmail page.To test it, I created a test page – test.html inside the directory – /var/www/vhosts/adviceandinfo.com/httpdocs/, and tried accessing it using 3 randomly generated subdomains –
https://hjravgwbe5tg7.adviceandinfo.com/test.html
https://woirqo.adviceandinfo.com/test.html
https://j3nbtr3.adviceandinfo.com/test.htmlAll of them returned the contents of the test file – /var/www/vhosts/adviceandinfo.com/httpdocs/test.html which means wild card SSL is infact working.
Now, I tried accessing the wordpress using the direct URL of one of the random subdomain – https://hjravgwbe5tg7.adviceandinfo.com which eventhough correctly accessed the files inside the DocumentRoot of adviceandinfo.com gave an error – “Registration has been disabled.”
This happens only because of one of the following reasons.
1) Registration is disabled.
2) WordPress is incorrectly configured.
3) A mistake in the htaccess file you used for the multi site hosting on WordPress.As far as wildcard subdomain is considered, it’s working perfect for the domain – adviceandinfo.com
thanks for all your help!
Forum: Networking WordPress
In reply to: moving from sub folder wordpressmu to wordpress msHow do I edit the url of every singelsite, in the databses?
and yes now it’s a 403 error — how to fix that?
Forum: Networking WordPress
In reply to: moving from sub folder wordpressmu to wordpress msOk I changed it to RewriteBase /
no 500 server error
but when i clik on a subdomain link I get a 400 error and it goies to
https://schoolage.adviceandinfo.com/columns/The files are no longer in /columns they are in the main directory
Forum: Networking WordPress
In reply to: moving from sub folder wordpressmu to wordpress msJust noticed that the RewriteBase was commented out, if it isn’t, I get a 500 server error – sorry I forgot about that issue
RewriteEngine On
#RewriteBase BASE/#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]# add a trailing slash to /wp-admin
RewriteCond %{REQUEST_URI} ^.*/wp-admin$
RewriteRule ^(.+)$ $1/ [R=301,L]RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . – [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]<IfModule mod_security.c>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>Forum: Networking WordPress
In reply to: moving from sub folder wordpressmu to wordpress msIt’s
$base = ‘/’;Forum: Networking WordPress
In reply to: Upgraded can't get into wp-adminsorry if I wasn’t clear enough
see https://adviceandinfo.com/columns/wp-admin/
brings up Forbidden error doc
does not redirect login page, login works if manually entered as url
Forum: Plugins
In reply to: alternative to wp-ecommerce?I can’t get wp ecommerce to work either. i bought the upgrade and the seller won’t answer emails, respond to paypal complaints— nothing!
Forum: Installing WordPress
In reply to: Upgraded to 2.5, now pages don’t display…WTF?I tried changing the permalinks but it had no impact.
When I tried to write a post it didn’t post and now it shows a blank page for “write”
In “manage” only some files open and it will not let me edit anything–and after I attempted the edit, all I get is blank page for “manage”
Any help appreciated!
Forum: Installing WordPress
In reply to: Blank PageI need help too, all I get is a blank page for “write”
Forum: Fixing WordPress
In reply to: I was write a post – but post won’t showI have the same problem, I updated to 2.3.3 and now it will not post nor will is save. Please help!