Configure VirtualHost for a perfect WordPress Environment
Configure VirtualHost for a perfect WordPress Environment
Configure VirtualHost for a perfect WordPress Environment
I decided to move the child installation to the main site’s web root, and rename its subdirectory to intranet. Once I had done this, all I had left to do was place this line of code after the main site’s rules: RewriteRule ^intranet/ – [L] The – rewrites the URI to itself – thus overriding … Read more
So, I need to say that now is all ok. I can’t belive this :’) For about a month I asked a lot of people and nobody didn’t know what’s the problem. It was cause we had bad nginx config. Now nginx is turned off for a some time. Apache is ok. Thank to s_ha_dum, … Read more
You need to install PHP along side apache2 : http://www.youtube.com/watch?v=n1vS2_-Xz9o
All scripts and style links return 404 on a local virtualhost
You need change URLs in the complete database, not just in the two tables in wp_options. See WordPress Serialized PHP Search Replace Tool | Interconnect and the docs at Moving WordPress « WordPress Codex
Turns out this was an issue with my current Apache install. After uninstalling an reinstalling the latest version of Apache, everything worked as expected.
Actually, There is no need for setup the VirtualHost in your server. Multisite have two way for visiting, base on subpath and subdomain. You choose the subpath, So the server don’t need to do anything. Just make sure your apache server support the rewrite. then add the .htaccess content as the below. It’s for the … Read more
Admin-area broken through weird issues
So far as we know, we can control the subdomain by the WordPress subdomain network and apache rewrite rule(nginx works too.). The subdomain is a rule, so you can’t set it directyly in .htaccess by using your http://www.supercooldomain.com, but you can set another apacahe virutal host use your cooldomain. There is another wordpress plugin may … Read more