★★★  The Magento Expert  ★★★

Magento Professional with 21720 hours project experience

DEUTSCH

  • Magento?
  • Magento Expert?
  • References?
  • Services?
  • Cooperation?
  • Solutions!
  • Cache Warmer

redirect

Redirecting to any page from a template (phtml) (Magento 1)

Mex 2014/05/14 Magento Solutions

Use the code below to redirect to any page from a Magento template (phtml) file. In this case, it is a redirect to the home page.

1
Mage::app()->getFrontController()->getResponse()->setRedirect(Mage::getBaseUrl());

Show solution

Magento Problems?

Magento Professional will solve all your Magento problems!

Your Magento project is giving you sleepless nights?

Why not trying to get assistance? Contact me and I will solve your problems!

✓ straightforward ✓ cost-effective ✓ efficient

Phone: (+49) 341/86264640

Mobile: (+49) 176/99250685

E-Mail: mex@nullthe-mage-expert.com

Contact Form

The Magento Health Check

Fixed Price Magento Health Check

Magento Health Check for a fixed price of $270.

Magento Keywords

address Admin Apache attributeset Autload backend block cache cart category category page checkout CMS collection compare list cron-jobs custom options customer date e-mail error messages filter home page JavaScript layout Magento 2 MAGMI maintenance navigation order password PayPal product product page products route session shipment tracking spam SQL success page template (phtml) upsell url XML

Protect your shop texts and product descriptions!

Copy Protection for your shop texts and descriptions

Theftcrusher JS - Copy Protection for your shop texts and descriptions!

Recent Entries

  • Pager missing after updating to Magento 2.4.3?
  • “Session size exceeded allowed session max size” problem solution
  • Checkout agreements not working / can not be accepted when using PayPal
  • Referencing a static block in a CMS page
  • Disable maintenance mode for certain IP

Contact Information

Phone: (+49) 341/86264640
Mobile: (+49) 176/99250685
E-Mail: mex@nullthe-mage-expert.com
Contact Form

Magento Plagiarism Tools

Copy protection for your shop content: TheftCrusher or TheftWarner

Magento 2 Demo

Take a look at Magento 2: Magento Demo Shop.

Links

About
Copyright © 2022 The Magento Expert. Powered by WordPress and Vermonta IT- & Media Agency. Last Update 2022/05/29


Bewertungen für den Magento Experten
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site, you agree to the usage of cookies.I agree