Pak Jiddat - Innovative Software Services

Read: In the name of thy Lord Who createth, Createth man from a clot. Read: And thy Lord is the Most Bounteous, Who teacheth by the pen, Teacheth man that which he knew not. Nay, but verily man is rebellious That he thinketh himself independent!. Lo! unto thy Lord is the return. (Sura Alalaq 96:8)

Redirecting without mod_rewrite using regular expressions in htaccess

Created On: 09 Apr, 2017: 14:31:33 - Tags : web servers


The RedirectMatch directive can be used to redirect a url to another url using regular expressions. It does not use the Apache mod_rewrite module

For example: RedirectMatch 302 /htaccess/seo-search-engine-friendly-redirects-without-mod_rewrite/$

Related Articles

  1. Preventing browsers from caching content
  2. Making HTTP POST requests from Google Chrome
  3. Increasing web server timeout
  4. Redirect http to https with Apache
  5. Creating and Installing Apache Self Signed Certificate
  6. Using flags with rewrite rule
  7. Generate Certificate Signing Request (CSR) for ssl certificates
  8. Disabling output buffering with mod_fcgid
  9. Configuring Apache mod status
  10. Allowing Cross Origin Requests using htaccess
  11. Redirect http to https with Nginx
  12. Blocking visitors by http method using LimitExcept Apache directive
  13. Access control directives for Apache
  14. Passing query parameters to proxy server in Nginx
  15. Use of Preflight request in HTTP Cross Origin Resourse Sharing (CORS)
  16. Using RewriteCond directives