Andreas Klauer
Andreas Klauer
THIS_SCRIPT will be fixed in MyBB, I added a workaround regardless and also fixed another warning. There might still be more. Seems I've been checking arrays in particular in ways...
There is no variable, unfortunately. You'd have to change code for that (meta.php). I currently have no plans to support open graph, twitter cards, etc., they have a lot more...
You can change that code: $google_seo_meta = "\n to add another meta description tag using the same $description.
cloudflare seems to set [HTTP_X_FORWARDED_PROTO] => https while [SERVER_PORT] => 80 etc. This just doesn't work well. Maybe the redirect should just be relative whenever possible...
For cloudflare in particular there is also `[HTTP_CF_VISITOR] => {"scheme":"https"}`
Sorry for the long silence. I will add support for HTTP_X_FORWARDED_PROTO but I plan to make it optional (as a setting). This redirect code was written a long time ago,...
MyBB really doesn't like directory structures... showthread.php:291: header("Location: ".htmlspecialchars_decode(get_post_link($newpost['pid'], $tid)).$highlight."#pid{$newpost['pid']}"); showthread.php:326: header("Location: ".htmlspecialchars_decode(get_post_link($pid, $tid))."#pid{$pid}"); showthread.php:356: header("Location: ".htmlspecialchars_decode(get_post_link($pid, $nextthread['tid']))."#pid{$pid}"); showthread.php:387: header("Location: ".htmlspecialchars_decode(get_post_link($pid, $nextthread['tid']))."#pid{$pid}"); add bburl like so: `"Location: {$settings['bburl']}/"`
Google SEO redirects Thread-Title links back to showthread.php?tid=123 links, if you revert code changes or set scheme URL to empty. If you keep the database and MyBB code alive (move...
It will redirect to yoursite/showthread.php?tid=123 (not the subdir, provided you don't set bburl to the subdir, which you shouldn't do). So even though MyBB is in a subdir, Google SEO...
You'd have to match `%{QUERY_STRING}` instead. RewriteCond %{QUERY_STRING} tid=([0-9]+) RewriteRule showthread.php threads/%1 or something like it