How to alias hostname direct to wordpress folder?
-
I’m not really sure my post title is an accurate way to say what I’m wanting to do.
My Apache web server is currently set so “www.example.com” looks at /var/www for index.html. My wordpress files are in /var/www/wordpress. I currently have the index.html file in /var/www configured to immediately redirect to “www.example.com/wordpress/”. Under this configuratoin, blog links show as “www.example.com/wordpress/?p=xxx”. Isn’t there a way to use an alias or something so that it will just look like “www.example.com/?p=xxx”, yet still have the /var/www/wordpress folder structure on the server?
The topic ‘How to alias hostname direct to wordpress folder?’ is closed to new replies.