

If you want to change the domain name of your website, say, then you need to maintain backwards compatibility for users and search engines. It works similarly for URLs with subdirectories. HTML, CSS, JS) to the browser, which then assembles them and displays it to the user. The server then sends all the relevant resources (e.g. When you enter a URL in the browser, say, the browser resolves its DNS and connects to the IP address of the server hosting this domain. In this article, I’ll explain what’s a redirect loop, and then take you through a step-by-step process of getting your WordPress site running perfectly in no time.Įxcited? Let’s dig in! What Is “ERR_TOO_MANY_REDIRECTS” Error?

It’s easily solvable by diagnosing the cause and fixing it. There are several reasons that can cause this error, but there’s no need to panic. It’s also called a “redirect loop” error, wherein the browser can’t figure out which URL to load. The ERR_TOO_MANY_REDIRECTS error is one of the most common error messages faced by WordPress users. If you’re not familiar with the technical aspects of WordPress and web servers, it’s easy to misconfigure their settings. Update: I've tried to change the store type from phpsession to sql, as explained here and it has worked perfect, but with php session still no working.WordPress makes it super easy to create and edit websites, even with little to no web development skills. I've been reading multiple possible solutions, it seems like it is a cookie setting problem in simplesaml, but I'm not sure. On the simpleamlphp test screen it works fine, but when I try to integrate it into a controller of my application with codeigniter, it doesn't work, it starts a redirect loop. '' => 'sqlite:/path/to/sqlitedatabase.sq3', 'class' => 'core:StatisticsWithAttribute', '' => \SimpleSAML\Utils\HTTP::canSetSameSiteNone() ? 'None' : null, 'database.dsn' => 'mysql:host=localhost dbname=saml', 'logging.logfile' => 'simplesamlphp.log', 'logging.processname' => 'simplesamlphp', 'logging.facility' => defined('LOG_LOCAL5') ? constant('LOG_LOCAL5') : LOG_USER, 'logging.level' => SimpleSAML\Logger::NOTICE, 'technicalcontact_email' => => 'Europe/Madrid', 'technicalcontact_name' => 'Administrator', My config.php of simplesamlphp 'simplesamlphp/', Then when I execute that code, I am redirected to the login screen of my Idp, asking for my credentials, I enter them, and it constantly loops on the screen of my Idp saml. $as = new \SimpleSAML\Auth\Simple('default-sp') Then, I've implemented a simple login test in my app like this. When I test the authentication source from simplesamlphp,It asks me for the credentials in the login screen of the Idp and it works perfect. Later, I have asked the administrator of my Idp to record my metadata in his Idp, obtained from here I've downloaded the metadata of my Idp (SAP successfactors), I've converted with the tool of simplesamlphp and I've pasted the resultant array in the file saml20-idp-remote.php. SetEnv SIMPLESAMLPHP_CONFIG_DIR "C:\xampp\htdocs\\vendor\simplesamlphp\simplesamlphp\config"Īlias /simplesamlphp C:\xampp\htdocs\\vendor\simplesamlphp\simplesamlphp\is configured as a hosts in my computer. SSLCertificateKeyFile "conf/ssl.key/server.key" SSLCertificateFile "conf/ssl.crt/server.crt" I have installed the simplesamlphp library with composer and I have configured the vhost of this application in this way: ĭocumentRoot "C:\xampp\htdocs\"

After I've readed all the theads with possible solutions, no one has worked for me.
