redirect index2.php?option=com_menus Topic is solved

Have a programming question regarding your component, plug-in, extension or core hacks? Have an interesting tidbit, FAQ or programming tip you’d like to share? This is the place for you.

Moderators: tjay, seadap, Rogue4ngel, matthewhayashida

Post Reply
jefius

redirect index2.php?option=com_menus

Post by jefius » Thu Dec 06, 2007 7:56 pm

Hello,

In the backend I want to redirect every request from index2.php?option=com_menus to a different URL.
I want this because the managers change sometimes the menu structure witch's give layout problems.

I was playing around with an .htaccess file in the administrator folder but it is still not working.

I tried all the following without any luck:
I hope somebody can set me on the way

#Rewrite index2.php http://google.be/


RewriteEngine on
#Redirect (.*)index2\.php$ http://www.google.be
#RewriteRule [^menus] http://www.google.be
#RewriteRule ^(option=com_menus)* http://www.google.be
#RewriteRule index2\.php\?option\=com_menus&menutype\=mainmenu http://www.google.be
#Redirect ^option /administrator/index.php
#Redirect index2.php http://www.google.be
#RedirectMatch 301 /index2\.php\?(option=com_menus)+ http://www.google.be


RewriteRule ^(option=com_menus)$ http://www.google.be

Post Reply