All pastes #623095 Raw Edit

Mine

public text v1 · immutable
·published 2007-07-17 10:43 UTC
rendered paste body
RewriteEngine On

RedirectMatch 301 category.php?n=(.*)&p=(.*)&field=(.*)&order=(.*)&show=(.*) https://pc-stop.co.uk/category/$1/$2/$3/$4/$5

RewriteCond %{HTTP_HOST} ^www\.pc-stop\.co\.uk$ [NC]
RewriteRule ^(.*)$ http://pc-stop.co.uk/$1 [R=301,L]

RewriteCond %{HTTP_HOST} ^webmail\.pc-stop.co.uk
RewriteRule .* - [L]

RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

RewriteRule ^contact includes/contact.inc.php
RewriteRule ^cart cart.php

RewriteRule ^brand/(.*)/([0-9]+) brand.php?n=$1&p=$2
RewriteRule ^brand/(.*) brand.php?n=$1
RewriteRule ^category/(.*)/([0-9]+) category.php?n=$1&p=$2
RewriteRule ^category/(.*) category.php?n=$1
RewriteRule ^product/(.*) product.php?n=$1
RewriteRule ^section/(.*) index.php?p=$1

ErrorDocument 404 /section/404

<Files *.db>
Deny from all
</Files>