b2evolution b2evolution

  • Sign in
  • Sign up
  • About
  • Downloads
  • Hosting
  • Docs
  • Support
  • Sign in
  • Sign up
  • Manuals Home
  • Latest Updates
 
  1. b2evolution CMS User Manual
  2. Operations Reference
  3. Troubleshooting
  4. I'm having weird redirect issues

I'm having weird redirect issues

If you’re having redirects you can’t explain, especially redirect loops, check the following:

Clear your cache

If you are having redirects you should not have, first clear your browser cache. Completely!

If a wrong redirect is set once as a permanent redirect, your browser will continue to redirect for a LONG time before it checks again if it still should redirect.

The only way to avoid that is to clear your cache!

Use a different browsers

Some browsers like Safari are really stubborn and will continue to remember permanent redirects even after clearing their cache.

So, you owe it to yourself to try with a different browser before pulling your hair out.

Check $baseurl

Check the $baseurl you configured in _basic_config.php.

  • Is it EXACTLY like the URL of your website?
  • Does it include www. when it should not?
  • Does it lack www.when it should have it?
  • Check http:// vs https://
  • Does it have an ending /? (It MUST !)

See Base URL ($baseurl) for more info.

Check the base URL of your collection

Each collection or blog has it’s own baesurl, which is generally the global $baseurl with some specific string at the end.

See URL Settings.

Same checklist as above.

Check .htaccess

If you have a custom .htaccess file on your site, it’s possible that it generates some redirects. Try to temporarily rename it on your server, then clear your caches and try again.

Created by fplanque • Last edit by fplanque on 2020-06-09 00:25 • •

No feedback yet

On this page

  • Clear your cache
  • Use a different browsers
  • Check $baseurl
  • Check the base URL of your collection
  • Check .htaccess

Search the Manual

Content Hierarchy

  • b2evolution CMS User Manual
  • User's Guide
  • Installation / Upgrade
  • Front-office Reference
  • Back-office Reference
  • Developer Reference
  • Operations Reference
    • Security
    • Fighting Spam
    • Performance
    • Using Multiple Domains
    • Intranet setup
    • LDAP Integration
    • Troubleshooting
      • My users do not have access to the files section / upload
      • I made a change but my blog is not updated
      • Troubleshooting Cookie Issues
      • I get file permission errors. How do I fix them?
      • When I do X I get a blank page or only a half page
      • "Warning: Cannot modify header information"
      • Emails don't arrive / Email notifications don't work
      • I have a MySQL error
      • Illegal mix of collations
      • phpMyAdmin
      • Http Post Data Too Large
      • Email Deliverability
      • I'm having weird redirect issues
      • Dev Menu
      • Error message not by b2evolution
    • Bundled Plugins
  • Advanced Topics
  • Glossary
  • Archives
Photo gallery software

This online manual is powered by b2evolution CMS – A complete engine for your website.

About b2evolution

  • What is it?
  • Features
  • Getting Started
  • Screenshots
  • Online demo
  • Testimonials
  • Design philosophy
  • Free & open source
  • Terms of service

Downloads

  • Latest releases
  • Skins
  • Plugins
  • Language packs

About us

  • About us
  • Contact

Webhosting Guide

  • Web hosting blog
  • Best web hosting
  • Cheap web hosting
  • Green web hosting
  • Hosting with SSH
  • VPS hosting
  • Dedicated servers
  • Reseller hosting
  • Int'l: UK / France

Docs & Support

  • Online manual
  • Forums
  • Hire a pro !

Other

  • Adsense
  • Press room
  • Privacy policy

Stay in touch

  • GitHub
  • Twitter
  • Facebook
  • LinkedIn
  • News blog
  • RSS feed
  • Atom feed

Founded & Maintained by François Planque