ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Control Panel URL

October 31, 2012 2:08pm

Subscribe [3]
  • #1 / Oct 31, 2012 2:08pm

    okaris

    4 posts

    Hello i want to change the control panel url from admin.php to something else. I updated the cp_url variable in the config file (system/ee/config/config.php). I also changed the name of admin.php

    When i try to go to control panel using http://www.website.com/newControlPanelName.php it returns to homepage with http://www.website.com/admin.php?variables=variables

  • #2 / Nov 02, 2012 2:40pm

    Shane Eckert

    7174 posts

    Hey okaris,

    Thank you for your question. And welcome to the forums!!

    It sounds like you did what needed to be done. Should work.

    Do you have an htaccess file in place? Is there anything

    Can you show me the line you added to the config.php file?

    $config['cp_url'] = "http://example.com/razzle.php";

    Thank you,

     

  • #3 / Nov 03, 2012 3:06am

    okaris

    4 posts

    .htaccess

    Options +FollowSymlinks
    <IfModule mod_rewrite.c>
            RewriteEngine On
    
            # Removes index.php from ExpressionEngine URLs
            RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
            RewriteCond %{REQUEST_FILENAME} !-f
            RewriteCond %{REQUEST_FILENAME} !-d
            RewriteRule ^(.*)$ /index.php/$1 [L]
    </IfModule>
    
    AuthType Basic
    AuthBasicAuthoritative off
    ServerSignature Email

    $config[‘cp_url’] = “http://haha.co/newAdminURL.php”;

  • #4 / Nov 05, 2012 8:56pm

    Shane Eckert

    7174 posts

    Hey there okaris,

    Looks good to me. Not sure why this is not playing nice.

    I would like to log in and take a look.

    Please be on the lookout for an email from EllisLab.

    Thank you,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases