Mod Rewrite not working on my addon domain
- by Ogugua Belonwu
have a wordpress website on my main domain
For the wordpress website i have this in my .htaccess file
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php
</IfModule>
# END WordPress
I just created an addon domain and wanted to use new rules for it
I created a .htaccess file and put it inside the addon folder eg /newaddon
In the .htaccess file i have:
Options -Indexes
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^readjob/(.*)/(.*)/(.*)/$ readjob.php?id=$1&cat=$2&title=$3
</IfModule>
The url stucture i have is this:
http://www.website.com/readjob/3/jobs/web-designers-potech-integrated-services/
But it keeps telling me link is broken
I dont know what to do, pls i need assistance
(pls i just learnt mod rewriting today, so clarity will be highly appreciated)
Thanks