Announcement

Collapse
No announcement yet.

Root Redirects to Front Page When 'Mod Rewrite Friendly URLs' On

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

  • [CMS] Root Redirects to Front Page When 'Mod Rewrite Friendly URLs' On

    Hello,

    When I enable 'Mod Rewrite Friendly URLs', I no longer can access the website from root, it gets directed to /content/1-front-page

    Is there a way to stop that & if possible redirect /content/1-front-page to root ?

    I use the official .htacess

    Code:
    RewriteCond %{REQUEST_FILENAME} -s [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    
    RewriteRule ^.*$ - [NC,L]
    
    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]
    
    RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]

  • #2
    /content/1-front-page becomes your root when you enable mod rewrite urls.
    while(true){
    if(
    $someone->needsHelp() && $i->canHelp()) $post->help();
    if(
    $i->findBug()) $post->bug();
    }

    Comment


    • #3
      Originally posted by Dody View Post
      /content/1-front-page becomes your root when you enable mod rewrite urls.
      Do you mean my problem can't be solved? How to get the mysite.com/content/1-front-page be mysite.com , that's my question.

      Comment


      • #4
        One day later Any clues anyone?

        Comment


        • #5
          Was this fixed? Should I report it as a bug?

          Comment


          • #6
            Maybe not the solution you are looking for, but with vbSEO you can set your website so that CMS is your root like in my site.
            Spin-X Engine / Community / My Blog

            Comment


            • #7
              Thanks for trying!

              Posted the issue here: http://www.vbulletin.com/forum/proje...?issueid=35800

              Comment

              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
              Working...
              X