Announcement
Collapse
No announcement yet.
Stop CMS redirecting to /content/
Collapse
X
-
-
That's great Andreas thanks!
The only issue is that site.com/content/ does not redirect to /
Is the only easy way to fix that through htaccess?Last edited by rossco_2005; Sun 12 Dec '10, 10:46am.Leave a comment:
-
How can I get it to stop redirecting like that, and just show content from the root?
PHP Code:if ($_SERVER['REQUEST_URI'] == '/')
{
$vbulletin->options['friendlyurl_canonical'] = 0;
}
👍 1Leave a comment:
-
Not sure you can. In fact you can get to the situation that
http://site.com
http://site.com/content
http://site.com/content.php?s=
http://site.com/content.php?1-whats-new
all return identical information.
Digitalpoint's site doesn't do the redirect, I asked him a few months ago what he changed and he said he didn't change anything. :wacko:Leave a comment:
-
Not sure you can. In fact you can get to the situation that
http://site.com
http://site.com/content
http://site.com/content.php?s=
http://site.com/content.php?1-whats-new
all return identical information.Leave a comment:
-
Stop CMS redirecting to /content/
Hi,
I have the whole of vbulletin in my site root.
When I browse to http://site.com I should see the CMS Home.
It does, but the problem is it redirects to http://site.com/content/
How can I get it to stop redirecting like that, and just show content from the root?
Mod Rewrite Friendly URLs is on with Enforce Strict Canonical.Last edited by rossco_2005; Sun 12 Dec '10, 7:38am.Tags: None
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Leave a comment: