Problems, need help? Have a tip or advice? Post it here.
7 posts Page 1 of 1
Went to config.php to change login location, as this example:

// If you do so, uncomment the following line and enter the new name.
define( 'K_ADMIN_PAGE', 'newname.php' )

However, when going to "site/couch/newname.php" I get directed to a broken version of my homepage. Any ideas?
Hi,

I can't see any reason why Couch would act this way.
A .htaccess file could be doing this. Please check if there is one in your site's root that could be responsible.
Yes, .htaccess could be the problem. Here's what it looks like…

Is there anything I should not delete? Obviously, my previous install of concrete5 was using this.

<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 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 --


Thanks!
I think you can delete the entire .htaccess file.
I've deleted all content in the .htaccess, but there's still a problem. Now I get a "page not found" when trying to access my new admin login location. What else to try?
Can you get me FTP+Couch access to your site please?
Hi,

Thanks for the creds.

I logged in and
1. renamed index.php to kk.php
2. edited config file to specify the new name
3. renamed _index.php to index.php (the dummy index file)
and -
everything seems to be working just fine :)
Try accessing site/couch/kk.php and confirm for yourself.

So, I am not sure what was going wrong previously but things appear to be ok now.

Once you have checked, please rename kk.php to whatever name you want (not forgetting to modify the config file).

Thanks
7 posts Page 1 of 1