By Bobby Grün on
Hello everybody!
I've installed Drupal on karlchen.com a few minutes ago.
I enabled URL rewriting. The problem is that my ISP reserved the URL http://www.karlchen.com/admin for the server administration page. Now I can't turn to the admin menu to change the settings.
I haven't got enough skill to disable URL rewriting manually, which is unneccesary anyways because I would like to keep this option.
Probably anyone of you could give me advice how to change the URL of the admin menu.
Thank you very much and sorry for my bad English...
Bobby Grün
Comments
?q=admin
http://www.karlchen.com/?q=admin will take you to the admin page. If not, try http://www.karlchen.com/index.php?q=admin.
Thanks!
Thanks!
But how can I change the URL for the admin menu or disable URL rewriting for the admin options only?
hack the code
In the file includes/common.inc, in the function url(...), there is a line that reads:
Change that line to:
Thank You!
Thank You!
First of all I've got to say that I'm a real PHP-Dummy...
The function in my version looks like that:
Can you tell me what to change there?
changes
Looks like you have a different version of common.inc
Change the line that reads:
to read:
I have no way of testing that change, but it should work. Note it will make all url's unclean that begin with "admin", so for example, if you have a url alias "administrative", it will become unclean, too.
Try using path alias
Try using path alias. If it doesnt work, then hack the common.inc as explained in teh above post
Sunny
www.gleez.com | www.sandeepone.com
thanks
thanks, that really helped