Announcement

Collapse
No announcement yet.

where is the /content/ redirect

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

  • Stadler
    replied
    Originally posted by Trevor Hannant View Post
    Adjust the rewrite rule in the .htaccess file
    And what should I adjust?

    Leave a comment:


  • Crow
    replied
    Originally posted by nakedanvil View Post
    The rewrite rules in the do-not-upload have no way of knowing what your path will be. Only you know that.
    I have the htaccess file uploaded, but my main url instead of being index.php its /content/content/

    htaccess:
    Code:
    RewriteEngine on
    
    # If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your vBulletin directory.
    # RewriteBase /forum/
    
    # If you are having problems with the rewrite from content/ to content.php, uncomment this line to turn MultiViews off.
    # Options -MultiViews
    
    RewriteCond %{REQUEST_FILENAME} -s [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    
    RewriteRule ^.*$ - [NC,L]
    
    # Forum
    RewriteRule ^threads/.* showthread.php [QSA]
    RewriteRule ^forums/.* forumdisplay.php [QSA]
    RewriteRule ^members/.* member.php [QSA]
    RewriteRule ^blogs/.* blog.php [QSA]
    RewriteRule ^entries/.* entry.php [QSA]
    
    RewriteCond %{REQUEST_FILENAME} -s [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    
    RewriteRule ^.*$ - [NC,L]
    
    # MVC
    RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]
    and that is with cms,forum,blog all installed in root.

    Leave a comment:


  • nakedanvil
    replied
    Originally posted by Crow View Post
    Now this is support....! smh
    The rewrite rules in the do-not-upload have no way of knowing what your path will be. Only you know that.

    Leave a comment:


  • Crow
    replied
    Originally posted by Trevor Hannant View Post
    Adjust the rewrite rule in the .htaccess file
    Now this is support....! smh

    Leave a comment:


  • Trevor Hannant
    replied
    Adjust the rewrite rule in the .htaccess file

    Leave a comment:


  • Stadler
    replied
    I'm uaing the RewriteRules from the do_not_upload-directory and they work fine. However, navigating to http://www.example.com/ always redirects me to http://www.example.com/content/

    Where can I turn this redirect off?

    Leave a comment:


  • Trevor Hannant
    replied
    You will need to create an .htaccess file with the relevant rewrite rules - simply switching setting won't do anything. From the help text:

    Note: In order to use the Mod Rewrite Friendly URLs the appropriate rewrite rules must be defined for your server.

    Leave a comment:


  • Stadler
    replied
    bump, since I have the same question.

    Leave a comment:


  • lovelypk
    replied
    same thing here, looking for a solution

    Leave a comment:


  • N8_115
    started a topic [CMS] where is the /content/ redirect

    where is the /content/ redirect

    I switched my URL's over to MOD_REWRITE, then noticed that the homepage redirects to /content/, which I don't want.

    How can I change that so my CMS homepage is simply http://www.website.com/
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X