Options +FollowSymLinks
Options -Indexes

RewriteEngine on

RewriteRule ^page-not-found$ page-not-found.php [L]

 

RewriteRule ^news$ news.php [L]
RewriteRule ^news/([a-zA-Z0-9_-]+)$ news-detail.php?category=$1

RewriteRule ^events/([a-zA-Z0-9_-]+)$ events.php?category=$1

RewriteRule ^([a-zA-Z0-9_-]+)$ content.php?category=$1
RewriteRule ^([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)$ content.php?category=$1&post=$2



# This will handle any 404 not-found errors on the site
ErrorDocument 404 http://localhost/welch/page-not-found
#ErrorDocument 404 http://webproone.com/projects/welch/page-not-found 
 