Announcement

Collapse
No announcement yet.

Going crazy with redirect

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Trevor Hannant
    replied
    There is no forum.php within vB5, /forum is the correct URL for your home page if you have it installed in /forum on your server.

    Leave a comment:


  • mat8861
    started a topic Going crazy with redirect

    Going crazy with redirect

    Have a problem with redirect, my web site if I type www.meridem.net goes to www.meridem.net/forum and not to www.meridem.net/forum/forum.php

    forum is under public_html/forum and here is the htaccess I have in public_html:



    AddHandler application/x-httpd-php54s .php

    <IfModule mod_rewrite.c>

    RewriteEngine on

    RewriteBase /

    RewriteRule ^(.*)index\.php$ - [L]

    RewriteRule ^index\.php$ - [L]

    RewriteCond %{HTTP_HOST} !^meridem.net$

    RewriteRule ^(.*)$ http://www.meridem.net/forum/$1 [L,R=301]

    </IfModule>



    Additionally is this safe ? I mean shall I put deny from all...etc etc? Anyone willing to help ?

    Thanks

    Mat

Related Topics

Collapse

Working...
X