Redirect when edit functions.php
-
When I edit a theme through WordPress – I press save –
there is a redirect
Plugins disabled does not helphttp://site.com/wp-admin/theme-editor.php?file=functions.php (save)
redirect on
http://site.com/wp-admin/theme-editor.phphtaccess
`#
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/mobile/(.*)$ [OR]
RewriteCond %{REQUEST_URI} ^/m/(.*)$
RewriteRule . /%1 [R=301,L]#
RewriteCond %{HTTP_USER_AGENT} libwww-perl.*
RewriteRule .* ? [F,L]
</IfModule><Files wp-login.php>
order deny,allowallow from 0000000000000000
deny from all
</Files># BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
The topic ‘Redirect when edit functions.php’ is closed to new replies.