David Karol
03-09-2011, 01:53 AM
I posted this a while ago on vbulletin.com forums, but have yet to get a result.
On our homepage (http://www.soundforums.net), the address bar shows
http://www.soundforums.net/content
Is there a way to make the CMS show up as the main directory, without "/content" being in front of the pages?
I just installed a wiki to http://www.soundforums.net/wiki, however, I can't access that directory from the web browser, it also redirects to /content. The .htaccess I am using is from the provided do_not_upload over, as we switched to mod_rewrite URLs for SEO. It is below:
RewriteEngine on
# If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your vBulletin directory.
# RewriteBase /forums
# If you are having problems with the rewrite from content/ to content.php, uncomment this line to turn MultiViews off.
# Options -MultiViews
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
# Forum
RewriteRule ^threads/.* showthread.php [QSA]
RewriteRule ^forums/.* forumdisplay.php [QSA]
RewriteRule ^members/.* member.php [QSA]
RewriteRule ^blogs/.* blog.php [QSA]
RewriteRule ^entries/.* entry.php [QSA]
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
# MVC
RewriteCond %{REQUEST_FILENAME} !\.php$
RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]
Thanks,
David Karol
On our homepage (http://www.soundforums.net), the address bar shows
http://www.soundforums.net/content
Is there a way to make the CMS show up as the main directory, without "/content" being in front of the pages?
I just installed a wiki to http://www.soundforums.net/wiki, however, I can't access that directory from the web browser, it also redirects to /content. The .htaccess I am using is from the provided do_not_upload over, as we switched to mod_rewrite URLs for SEO. It is below:
RewriteEngine on
# If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your vBulletin directory.
# RewriteBase /forums
# If you are having problems with the rewrite from content/ to content.php, uncomment this line to turn MultiViews off.
# Options -MultiViews
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
# Forum
RewriteRule ^threads/.* showthread.php [QSA]
RewriteRule ^forums/.* forumdisplay.php [QSA]
RewriteRule ^members/.* member.php [QSA]
RewriteRule ^blogs/.* blog.php [QSA]
RewriteRule ^entries/.* entry.php [QSA]
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
# MVC
RewriteCond %{REQUEST_FILENAME} !\.php$
RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]
Thanks,
David Karol