Welcome To Snipplr
Everyone's Recent Snippets Tagged htaccess
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This will redirect all pages from one domain, to the homepage of another domain.
        
        
        
            0 
        
        
            1460 
        
                    posted 14 years ago by daipratt
            This rewrite covers most mobile devices (with few false positives). When a mobile device is detected it is redirected to /m/.
        
        
        
            2 
        
        
            1714 
        
                    posted 14 years ago by ohryan
            A default HTAccess file. Uncomment any lines that you want to use.
http://enarion.net/web/htaccess/trailing-slash/
        
        
        
            1 
        
        
            1098 
        
                    posted 15 years ago by BFTrick
            Desired effect is\\r\\n\\r\\nhttp://www.somedomain.com/blog/\\r\\nhttp://www.somedomain.com/blog/tag/\\r\\nhttp://www.somedomain.com/blog/page/2/
        
        
        
            2 
        
        
            1173 
        
                    posted 15 years ago by lixonic
            Redirects to specified page ignoring specified ip address and folders.
        
        
        
            0 
        
        
            1461 
        
                    posted 15 years ago by vagrantradio
            Are you as tired as me of the default layout of 404 error pages? Well now you can easily create your own and refer to it like this:
        
        
        
            4 
        
        
            1377 
        
                    posted 15 years ago by Orlandoo
            
