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. Installation / Upgrade
  3. FAQ & Troubleshooting (Installation / Upgrade)
  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
    • New Installation
    • Upgrade
    • Configuration files
    • Advanced Setup
    • Migrating from Another System
    • Moving your b2evolution Site
    • FAQ & Troubleshooting (Installation / Upgrade)
      • How to install a language pack
      • If I upgrade, will I lose my posts, comments, settings, uploaded files, etc. ?
      • Where do I need to upload the files for upgrade?
      • I upgraded and now feature X doesn't work any more
      • Media File & evocache Permission Errors
      • System requirements
      • Unexpected SQL Error during upgrade
      • Unable to download automatic updates
      • I'm having weird redirect issues
      • FTP 101: How to upload and manage files on your web server
      • When I do X I get a blank page or only a half page
      • Will my database be affected if I upgrade? (And will I be able to revert to previous version?)
      • "Warning: Cannot modify header information"
      • Solutions to common upgrade problems
      • I get file permission errors. How do I fix them?
      • Troubleshooting Cookie Issues
      • Make a Backup
      • 403 Forbidden
    • Assumed User Skills
  • Front-office Reference
  • Back-office Reference
  • Developer Reference
  • Operations Reference
  • 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