Jump to content

Renaming The Admin Directory


Guest Nicholas

Recommended Posts

Guest Nicholas

For an extra bit of security and to stop people haveing a nose as to what cart script I'm using I've renamed the admin folder to foo and done a find and replace on all references from admin/ to foo/ in the admin directory to correct the the url refferences.

Everything looks like it's working as normal when loging into foo, but have I missed anything, will I create and issues with doing this?

Cheers,

Nicholas

Link to comment
Share on other sites

For an extra bit of security and to stop people haveing a nose as to what cart script I'm using I've renamed the admin folder to foo and done a find and replace on all references from admin/ to foo/ in the admin directory to correct the the url refferences.

Everything looks like it's working as normal when loging into foo, but have I missed anything, will I create and issues with doing this?

Cheers,

Nicholas

As far as I know aikdo posted the full tutorial how to do in January. However, cannot find the result */*
Link to comment
Share on other sites

Guest Nicholas

>Would you like to tell us what you changed for future reference?

Pretty much just what I said in my first post, I'll try to reword it so it's clearer

1. Renamed the admin folder, for example i changed it to "foo".

2. Using editplus's "find all in folder" feature I searched all the files in "foo", the new admin folder for "admin/" this opens all the files which contain "admin/" (the / is important as it will just find the instances where admin is part of a url reference).

3. Did a Find and Replace on all open files, found "admin/" and replaced with "foo/" (this updated all url references to "foo/")

logged into myshop.co.uk/foo to access the admin section.

Link to comment
Share on other sites

isn't it easyer to use the .htaccess with a rewrite mod, a page check on the admin login page (that it checks the url) and if it's fonfirmed they can go to the login, otherwise be redirected to the main page (im a bit late, i know...)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...