# Rewrite Rules

**URL:** <https://www.ruby-forum.com/t/rewrite-rules/219161>\
**Category:** NGINX\
**Created:** [April 22, 2012, 10:28am UTC](https://www.ruby-forum.com/t/rewrite-rules/219161 "2012-04-22T10:28:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gurdipe\_D](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/b77776/32.png) [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Post date:** [April 22, 2012, 10:28am UTC](https://www.ruby-forum.com/t/rewrite-rules/219161/1 "2012-04-22T10:28:15Z")

</div>

Hello,

New to this list so pardon me if I am asking a very common question (I  
am sure it’s a common one though). It is about Rewrite Rules. We have a  
Magento website which use to respond slowly while working with Apache,  
so we decided to switch to Nginx and can see the difference already.  
However, the problem is the Apache Rewrite Rules which are causing all  
the links to redirect to “404 Not Found”.

I have already tried more than a few solutions from Google but none  
worked.

Attached is the Rewrite Rules section of my .htaccess. Please check and  
suggest me a solution.

Regards.
