Title: Redirects
Author: WordPress VIP Documentation
Published: October 1, 2020
Last modified: September 8, 2025

---

#  Redirects

Because the VIP Platform uses NGINX (not Apache), there are no [`.htaccess` files](https://wordpress.org/support/article/htaccess/).
Redirects for URLs must be handled with alternative methods such as WordPress plugins,
or [programmatic redirects in `vip-config.php`](https://docs.wpvip.com/redirects/domain-redirects-in-vip-config-php/)
or in [writing redirects directly into a WordPress site’s theme code](https://docs.wpvip.com/redirects/redirects-in-theme-code/).
The most suitable solution(s) for a site’s redirects should be chosen based on the
amount and types of redirects needed.

Redirects with a `302` HTTP response status are cached by [the page cache](https://docs.wpvip.com/caching/page-cache/)
for 1 minute, and redirects with a `301` HTTP response status are cached for 30 
minutes.

 * 
   ### 󠀁[WordPress plugins for handling redirects](https://docs.wpvip.com/redirects/wordpress-plugins/)󠁿
   
 * WordPress plugins can be used for redirects on the VIP Platform.
 * 
   ### 󠀁[Redirects in vip-config.php](https://docs.wpvip.com/redirects/domain-redirects-in-vip-config-php/)󠁿
   
 * Custom configurations can be added to vip-config.php to handle redirects for 
   secondary domains to the domain currently assigned to a WordPress site.
 * 
   ### 󠀁[Limitations on redirects for files](https://docs.wpvip.com/redirects/limitations-for-files/)󠁿
   
 * Limitations exist for redirects and custom rewrite rules for static asset URLs.
 * 
   ### 󠀁[Writing redirects into a WordPress site’s theme code](https://docs.wpvip.com/redirects/redirects-in-theme-code/)󠁿
   
 * VIP helper functions can be used to write redirects directly into a WordPress
   site’s theme code.

Last updated: September 08, 2025