Hello gy's
Im having some dificulty, using my .htaccess rules ive always used on difrent systems. The problem coud be that im not in the root folder acording to cpanel. Its a add on not the main domain.
This is how it is at the moment
/public_html/"the main site here"/"my site here"/
and I wanna use the following htacces like I always have.
RewriteEngine On
RewriteBase /
RewriteCond %{http_host} ^animeresource.org [nc]
RewriteRule (.*)$ http://www.animeresource.org/$1 [r=301,nc]
RewriteRule ^f([0-9]+)(.*).html$ viewforum.php?id=$1 [L]
RewriteRule ^t([0-9]+)(.*).html$ viewtopic.php?id=$1 [L]
RewriteRule ^p([0-9]+)(.*).html$ viewtopic.php?pid=$1 [L]
RewriteRule ^(.*).rss$ extern.php?action=$1&type=rss [L]
RewriteRule ^index.html$ index.php [L]
RewriteRule ^forum.html$ forum.php [L]
RewriteRule ^download.html$ download.php [L]
RewriteRule ^streaming.html$ page.php?id=4 [L]
RewriteRule ^animeradio.html$ page.php?id=266 [L]
ErrorDocument 401 /include/401.html
ErrorDocument 403 /include/403.html
ErrorDocument 404 /include/404.html
Im not a expert in .htacces but I found when I put it in my directory it dusent work or dusent take effect or gives a 505. When I put it in the root it dusent give 505 but ofcourse since its not in my directory it dusent have any effect. Coud someone help me point it to the following directory ?
/public_html/AnimeResource/mysitehere
I want that location to be effected with my .htaccess script coud someone please help me out with this one or I wont be able to use cpanel...
Im having some dificulty, using my .htaccess rules ive always used on difrent systems. The problem coud be that im not in the root folder acording to cpanel. Its a add on not the main domain.
This is how it is at the moment
/public_html/"the main site here"/"my site here"/
and I wanna use the following htacces like I always have.
RewriteEngine On
RewriteBase /
RewriteCond %{http_host} ^animeresource.org [nc]
RewriteRule (.*)$ http://www.animeresource.org/$1 [r=301,nc]
RewriteRule ^f([0-9]+)(.*).html$ viewforum.php?id=$1 [L]
RewriteRule ^t([0-9]+)(.*).html$ viewtopic.php?id=$1 [L]
RewriteRule ^p([0-9]+)(.*).html$ viewtopic.php?pid=$1 [L]
RewriteRule ^(.*).rss$ extern.php?action=$1&type=rss [L]
RewriteRule ^index.html$ index.php [L]
RewriteRule ^forum.html$ forum.php [L]
RewriteRule ^download.html$ download.php [L]
RewriteRule ^streaming.html$ page.php?id=4 [L]
RewriteRule ^animeradio.html$ page.php?id=266 [L]
ErrorDocument 401 /include/401.html
ErrorDocument 403 /include/403.html
ErrorDocument 404 /include/404.html
Im not a expert in .htacces but I found when I put it in my directory it dusent work or dusent take effect or gives a 505. When I put it in the root it dusent give 505 but ofcourse since its not in my directory it dusent have any effect. Coud someone help me point it to the following directory ?
/public_html/AnimeResource/mysitehere
I want that location to be effected with my .htaccess script coud someone please help me out with this one or I wont be able to use cpanel...