Hello Everyone,
I'm trying to set up a blogging site at bullony com. I used the RSP system to set up a wildcard domain, but the links are going to the *.bullony com diectory which is empty. I am told by the software vendor that there shouldn't be a directory at all, but the RSP system automatically creates it along with two sub-domains when setting up a wildcard: * .bullony com and *.*.bullony com
RSP doesn't help with third party software so I wil post the.htaccess code here and plea for your help. Thank you very much.
PS: What should happen is that when you visit a blog page it sends you to a virtual url/sub-domain like i****dvanced.bullony com where using php and mysql the blog page is rendered.
I'm trying to set up a blogging site at bullony com. I used the RSP system to set up a wildcard domain, but the links are going to the *.bullony com diectory which is empty. I am told by the software vendor that there shouldn't be a directory at all, but the RSP system automatically creates it along with two sub-domains when setting up a wildcard: * .bullony com and *.*.bullony com
RSP doesn't help with third party software so I wil post the.htaccess code here and plea for your help. Thank you very much.
Code:
# replace "domain.com" with your web site name lines 6,7 RewriteEngine on RewriteCond %{HTTP_HOST} !^bullony.com [NC] RewriteCond %{HTTP_HOST} ^(www.)?([^.]+).bullony.com [NC] RewriteRule ^$ /entries.php?blogname=%2 [L] RewriteCond %{HTTP_HOST} ^[^w]{3}[^\.] rewriterule admin$ http://www.bullony.com/admin [L] rewriterule ^([^-]+)-blogs$ blogs.php?keyword=$1 [L] #search blogs rewriterule ^blogs-page-([^-]+)$ blogs.php?page=$1 [L] #browse blogs with pagination rewriterule ^latest-page-([^-]+)$ latest.php?page=$1 [L] #browse blogs with pagination rewriterule ^([^-]+)-blogs-page-([^-]+)$ blogs.php?keyword=$1&page=$2 [L] #search blogs with keyword and pagination RewriteRule home$ index.php [L] RewriteRule blogs$ blogs.php [L] RewriteRule latest$ latest.php [L] RewriteRule favorite$ favorite.php [L] rewriterule ^blog-([^-]+)-keyword-([^-]+)$ entries.php?blogname=$1&keyword=$2 [L] rewriterule ^([0-9]+)-([^&]+)-page-([^&]+)$ entries.php?blogname=$2&page=$3 [L] # browse single blog with pagination rewriterule ^([0-9]+)-([^&]+)-([^&]+)-page-([^&]+)$ entries.php?blogname=$2&keyword=$3&page=$4 [L] # search single blog with pagination rewriterule ^([0-9]+)-([^&]+)\.entry$ entry.php?id=$1 [L]
PS: What should happen is that when you visit a blog page it sends you to a virtual url/sub-domain like i****dvanced.bullony com where using php and mysql the blog page is rendered.
Comment