I CAN´T LOG IN TO MY PROYECT PAGE
Permalink 1 user found helpful
Hi!, i have an emergency, i activate the "pretty URLs" and i log out. Then i want to make changes in my proyect page but when i try to log in appears 404 error. HELP!
Hi! y try manual typing the login page name, and yes it appears (http://sauberplast.com/new-site/concrete5-8.4.3/index.php/login) and when i go to log in, again appears the error 404.
I contact my hosting provider and they tells me that in the
archives file it's been missing something; so if someone wold like to help me in that, because i have no idea what to do.
I contact my hosting provider and they tells me that in the
archives file it's been missing something; so if someone wold like to help me in that, because i have no idea what to do.
I think when you login, the login page also redirects you to the page as if pretty urls were enabled, but since the server isn't rewriting them, you get a 404 page.
After you login, (even though you get 404) try manually typing in the name of the page for disabling pretty urls:
http://sauberplast.com/new-site/concrete5-8.4.3/index.php/dashboard...
Let me know if that works.
After you login, (even though you get 404) try manually typing in the name of the page for disabling pretty urls:
http://sauberplast.com/new-site/concrete5-8.4.3/index.php/dashboard...
Let me know if that works.
Hey sauberplast
When you turned on pretty URL's odds are you did not add the script in your htaccess file so the server knows to redirect your pages to the new URL's. To fix this issue either add the below script to your htaccess file or manually edit the concrete.php file to turn off pretty URL's. Here is the path where the the concrete.php file lives and what you need to edit.
/application/config/generated_overrides/concrete.php
there should be a section in that file for SEO
'seo' => [
'redirect_to_canonical_url' => 0,
'url_rewriting' => true,
],
edit this to 0.
This goes in your htaccess.
# -- concrete5 urls start --
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule . index.php [L]
</IfModule>
# -- concrete5 urls end --
Hope this helps.
When you turned on pretty URL's odds are you did not add the script in your htaccess file so the server knows to redirect your pages to the new URL's. To fix this issue either add the below script to your htaccess file or manually edit the concrete.php file to turn off pretty URL's. Here is the path where the the concrete.php file lives and what you need to edit.
/application/config/generated_overrides/concrete.php
there should be a section in that file for SEO
'seo' => [
'redirect_to_canonical_url' => 0,
'url_rewriting' => true,
],
edit this to 0.
This goes in your htaccess.
# -- concrete5 urls start --
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule . index.php [L]
</IfModule>
# -- concrete5 urls end --
Hope this helps.
How come this got marked as spam? How do we unmark it as such?
example.org/index.php/login
Most likely, the problem is that even though pretty URL's are enabled, the server itself is not rewriting the URL's as pretty URL's yet.
When you first enable pretty URL's, you'll notice it says something like: "Add the following to your server config file". I'm guessing this is the case with your site. So you need to enable pretty URL's and add the extra code to the server configuration so that the rewrites work correctly.