ra1000 Posted May 4 Share Posted May 4 (edited) Super, vielen Dank. An die .htaccess habe ich gar nicht gedacht, da ich fast alles über Module ab gewickelt hatte. Hallo Leute, wie leite ich das Frontend auf eine andere Webseite weiter so dass das Backend auf der Seite bleibt, damit ich die xxx/adminTRS/index.php?controller=AdminLogin&token=FDS noch weiterhin aufgerufen werden können zwecks Daten Übertragung auf die neue Webseite? VG R. Edited May 4 by ra1000 (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted May 4 Share Posted May 4 (edited) # Weiterleitung des Frontends, aber Admin-Bereich ausschließen RewriteEngine On # Admin-Zugriff erlauben RewriteCond %{REQUEST_URI} !^/adminTRS [NC] # Alles andere zum neuen Shop weiterleiten RewriteCond %{REQUEST_URI} !\.(jpg|jpeg|png|gif|css|js|ico|svg|woff|woff2|ttf|eot)$ [NC] RewriteRule ^(.*)$ https://www.neueseite.de/$1 [R=301,L] Replace /adminTRS with the actual name of your admin folder. Replace https://www.neueseite.de/ with the URL of your new shop. This means: All visitor traffic redirected to the new site. Access to /adminTRS/index.php remains intact. Edited May 4 by El Patron (see edit history) 1 Link to comment Share on other sites More sharing options...
ra1000 Posted May 4 Author Share Posted May 4 Super, vielen Dank. An die .htaccess habe ich gar nicht gedacht, da ich fast alles über Module ab gewickelt hatte. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now