I have a Wordpress website in my primary domain. For the Wordpress website, I have this in a file .htaccess:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php
</IfModule>
I just created an addon domain and wanted to use the new rules for it. I created a file .htaccessand put it in the addon folder, for example. /newaddon.
In the file .htaccessI have:
Options -Indexes
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^readjob/(.*)/(.*)/(.*)/$ readjob.php?id=$1&cat=$2&title=$3
</IfModule>
I have a url:
http://www.website.com/readjob/3/jobs/web-designers-potech-integrated-services/
But he continues to tell me that the link is broken. I do not know what to do, please, I need help. I just studied mod by rewriting today, so clarity will be highly appreciated.
source
share