PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Thu Jun 29, 2017 9:04 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Aug 28, 2012 8:56 am 
Offline
Forum Contributor

Joined: Fri Jul 11, 2008 5:49 pm
Posts: 178
I have a client who wants a WordPress blog, but for security reasons I do not want Wordpress in the same cPanel account with the client's website. The client wants the url to the blog to be mysite/blog. Since I use a LINUX VPS, I figured I could use an Apache Alias to redirect from the client site to the blog,(using post virtualhost include) like this:
Alias /blog home/blogsite/public_html

I have Aliases that work within the same cPanel account where there are multiple domains, but the above doesn't work between two accounts

I don't want to use a redirect, such as in htaccess, because that would defeat the SEO benefits. We want the blog to APPEAR to be within the client website.

So I'm not sure if I need to do something different with the alias or use a different method. This must be possible. Suggestions?


Top
 Profile  
 
PostPosted: Tue Aug 28, 2012 7:22 pm 
Offline
Site Administrator
User avatar

Joined: Wed Aug 25, 2004 7:54 pm
Posts: 13411
Location: New York, NY, US
You could do blog.mysite.com and have it on a different server. You could also put it in a frame at mysite.com/blog.

_________________
(#10850)


Top
 Profile  
 
PostPosted: Tue Sep 04, 2012 12:15 pm 
Offline
Forum Contributor

Joined: Fri Jul 11, 2008 5:49 pm
Posts: 178
Thanks for your thoughts. As I said, it's THE SAME SERVER, but different cpanel accounts. Not a different server. That's why I was hoping alias would work. blog.mysite.com would just be a redirect, so that's not a solution. The real solution would be if alias could somehow work, or something similar.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group