After delete Thread or post i get redirected to a 404 -

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • siam1
    Member
    • Jun 2009
    • 35

    [Forum] After delete Thread or post i get redirected to a 404 -

    The requested URL /main/main/inlinemod.php?t=899&p=1665&postids=1665 was not found on this server.

    I notice that it had some kinda error on the redirect

    i marked it in RED . that the url suppose to be www.forum.com/main and it seem to appear twice on the redirect url

    any suggestion on how can i solve this .
  • Lynne
    Former vBulletin Support
    • Oct 2004
    • 26255

    #2
    What is the link to your forum? Are you using stub directories?

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools <- awesome site for html/css help

    Comment

    • siam1
      Member
      • Jun 2009
      • 35

      #3
      link to the forum is eg " http://www.forum.com/main "

      i use a redirect to when user go to "www.forum.com" it would land on "www.forum.com/main"

      I tested today and seem like due to the error if i try to delete the post ,
      what happen is the post would not be deleted ,

      but when i delete on the front as a thread i can delete it .

      Comment

      • Jntu Hub
        Senior Member
        • May 2011
        • 237
        • 4.2.X

        #4
        Provide your site url , thats better for support than sample url..
        www.jntuhub.com | www.jntuhub.in |

        Comment

        • Hartmut
          Senior Member
          • Nov 2007
          • 2870
          • 4.2.x

          #5
          We would need the URL to your forum in order to look at it.
          No private support, only PM me when I ask for it. Support in the forums only.

          Comment

          • Lynne
            Former vBulletin Support
            • Oct 2004
            • 26255

            #6
            Originally posted by siam1
            i use a redirect to when user go to "www.forum.com" it would land on "www.forum.com/main"
            Please remove that and then see if you still have the same problem.

            Please don't PM or VM me for support - I only help out in the threads.
            vBulletin Manual & vBulletin 4.0 Code Documentation (API)
            Want help modifying your vbulletin forum? Head on over to vbulletin.org
            If I post CSS and you don't know where it goes, throw it into the additional.css template.

            W3Schools <- awesome site for html/css help

            Comment

            • siam1
              Member
              • Jun 2009
              • 35

              #7
              I try to remove the .htaccess file and all the forum kinda stop working.

              Comment

              • Lynne
                Former vBulletin Support
                • Oct 2004
                • 26255

                #8
                Originally posted by siam1
                I try to remove the .htaccess file and all the forum kinda stop working.
                Just remove the stuff you added for the redirect as that shouldn't effect the forum at all.

                Please don't PM or VM me for support - I only help out in the threads.
                vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                Want help modifying your vbulletin forum? Head on over to vbulletin.org
                If I post CSS and you don't know where it goes, throw it into the additional.css template.

                W3Schools <- awesome site for html/css help

                Comment

                • siam1
                  Member
                  • Jun 2009
                  • 35

                  #9
                  I been testing it , and seem like .

                  Two step is creating the problem .

                  1. when i try to delete a post if a window pop up to ask me for passwords after i enter it it would lead me to an 404 error
                  /main/main/inlinemod.php?t=899&p=1665&postids=1665

                  2. I tested it again and return to main page and find the pass .
                  this time i delete the post again, but it did nto ask me for login passwords . and i am able to delete the pot normally .

                  i suspect is some kinda login problem .

                  i try to remove the.htaccess and the whole web stop working .

                  the htaccess have nothing but the redirect inside it .

                  Comment

                  • siam1
                    Member
                    • Jun 2009
                    • 35

                    #10
                    This is the htaccess

                    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} -f [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} -f [OR]
                    RewriteCond %{REQUEST_FILENAME} -l [OR]
                    RewriteCond %{REQUEST_FILENAME} -d


                    RewriteRule ^.*$ - [NC,L]


                    # MVC
                    RewriteRule ^(?.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]


                    # Check MVC result
                    RewriteCond %{REQUEST_FILENAME} -f
                    RewriteRule ^(.*)$ - [NC,L]
                    RewriteRule ^(.*)$ - [R=404,L]
                    Last edited by siam1; Sat 17 Nov '12, 2:01am.

                    Comment

                    Related Topics

                    Collapse

                    Working...