Dodgeboard
Well-known member
From the error logs: Undefined index: host - library/XenForo/Session.php:656
Note: it's always a different URL, but the URLS always fail when I try to open them. They all follow the above format.
I am getting several of these per day- all generated by guests (probably spiders?). I can't help but think it has something to do with the old url structure, but I have tested the old urls and they seem to be redirecting correctly.
DO I need something in my .htaccess to catchall and redirect them?
My forums .htaccess:
My root .htaccess:
array(3) {
["url"] => string(39) "http://www.dodgeboard.com/forums/t9821/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
Note: it's always a different URL, but the URLS always fail when I try to open them. They all follow the above format.
I am getting several of these per day- all generated by guests (probably spiders?). I can't help but think it has something to do with the old url structure, but I have tested the old urls and they seem to be redirecting correctly.
DO I need something in my .htaccess to catchall and redirect them?
My forums .htaccess:
RewriteEngine On
# If you are having problems with the rewrite rules, remove the "#" from the
# line that begins "RewriteBase" below. You will also have to change the path
# of the rewrite to reflect the path to your XenForo installation.
RewriteBase /forums
RewriteEngine on
RewriteRule t([\d]+)-([\d]+)/ showthread.php?t=$1&page=$2 [NC,L]
RewriteRule [^/]+/([\d]+)-.+.html showthread.php?t=$1 [NC,L]
RewriteRule f([\d]+)/ forumdisplay.php?f=$1 [NC,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^(data|js|styles|install) - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
My root .htaccess:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^dodgeboard.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.dodgeboard.com$
RewriteRule ^/?$ "http\:\/\/www\.dodgeboard\.com\/forums\/index\.php" [R=301,L]