Okay the .htaccess file is as below:
Now my problem this is working on a root domain. I want to get this working on a subfolder of the main domain also.So anyone please help with the above code.I don't know what modifications are required.
Code:
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^xxx/([^/]+)/([^/]+)/$ - [F,L]
RewriteRule ^xxx/([^/]+)/$ - [F,L]
RewriteRule ^xxx(/?)$ - [F,L]
RewriteRule ^([^/.]+)/([^/.]+)/([0-9]+)(/?)$ index.php?xxx=$1&chapter=$2&page=$3 [L]
RewriteRule ^([^/.]+)/([^/.]+)(/?)$ index.php?xxx=$1&chapter=$2 [L]
RewriteRule ^([^/.]+)(/?)$ index.php?xxx=$1 [L]
Now my problem this is working on a root domain. I want to get this working on a subfolder of the main domain also.So anyone please help with the above code.I don't know what modifications are required.