Announcement

Collapse
No announcement yet.

MOd rewrite friendly

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • [Forum] MOd rewrite friendly

    My forum is installed on

    Small business web hosting offering additional business services such as: domain name registrations, email accounts, web services, online community resources and various small business solutions.


    and i got a redirect so when when user hit www.domain.com it will redirect to www.domain.com/main.

    I been trying to get the Mod rewrite to work .

    but it fail and a few try result in 404 and one 500 error .

    what can i do .

    i know i got ot add the code on the .htaccess but is not working for me .

  • #2
    The code included with vBulletin in the DO NOT UPLOAD folder would go in the .htaccess file that is in the domain.com/main/ folder, not the domain.com root folder.

    Comment


    • #3
      so you mean all i need to do is add .htaccess file or create or add one inside the domain.com/main and it would work ?

      pardon me for asking this is confusing for ,e

      Comment


      • #4
        Honestly I don't use mod-rewrite rules but it is my understanding the .htaccess file in the do_not_upload/rewrite/apache folder needs to be copied to your FORUM ROOT directory, in your case that is domain.com/main/

        I would certainly try doing that, worst case you just delete the file from the server.

        Comment

        Related Topics

        Collapse

        • Craig
          htaccess redirect
          by Craig
          I'm not at all familiar working with htaccess. But I recently set my site to ssl and want to redirect. I have found the redirect code for http to https, but which htaccess file gets modified ( I assume...
          Fri 17 Mar '17, 2:17am
        • somasimple
          Htacces question
          by somasimple
          Hello,
          the file .htacces on the root folder contains

          RewriteEngine On
          RewriteCond %{HTTPS} off [OR]
          RewriteCond %{HTTP_HOST} !^www. [NC]
          RewriteRule (.*) https://www.somasimple.com/$1...
          Sun 21 Feb '21, 9:33pm
        • moded
          Directory Privacy
          by moded
          when i make any folder in my server Directory Privacy using cpanel server , never successful
          when i .htaccess.disabled from vbulletin 5 folder ... Directory Privacy start and working well
          ...
          Tue 8 Oct '19, 5:51am
        Working...
        X
        😀
        🥰
        🤢
        😎
        😡
        👍
        👎