# Options is required by Many HostSevice
Options +MultiViews

RewriteEngine on

# For .php & .html URL's:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]
RewriteRule ^([^\.]+)$ $1.html [NC,L]

RewriteRule ^home/?$ index-3.php [L] 

RewriteRule ^([a-zA-Z0-9_-]+)-([0-9]+)\.html$ view_post_details?id=$2
RewriteRule ^job-details/([a-zA-Z0-9_-]+) job-details-view-vacancy.php?post_Id=$1 [L,QSA]
RewriteRule ^details/([a-zA-Z0-9_-]+) job-detials.php?post_Id=$1 [L,QSA]
RewriteRule ^detail/([a-zA-Z0-9_-]+) job-save-detials.php?post_Id=$1 [L,QSA]
RewriteRule ^qualification/([a-zA-Z0-9_-]+) edit-qualification.php?tran_Id=$1 [L,QSA]
RewriteRule ^id/([a-zA-Z0-9_-]+) certification-edit.php?tran_Id=$1 [L,QSA]
RewriteRule ^edit-info/([a-zA-Z0-9_-]+) experience-edit.php?tran_Id=$1 [L,QSA]


RewriteCond %{HTTP_HOST} sundryjobs\.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://sundryjobs.com.ng/private/$1 [R,L]