Announcement

Collapse
No announcement yet.

Links to old posts

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Links to old posts

    With the change to the new domain, links to old posts don't seem to be working.

    When clicking on a link to an old post -

    "You do not have access to this forum. Are you logged in?"

    Message appears. Not sure this is fixable, but be aware if board members are using these links on our old posts it may not work.

    I am posting a couple of screen shots to illustrate.

    First the link to an old post under the old forum domain.
    Attached Files

    Click on the links below and discover how the Forums work
    Membership Levels
    The Rookie Thread
    New to The Ladyboy Forums? Introduce yourself!
    Old Members Must Reset Their Passwords

  • #2
    Next the resulting message.
    Attached Files

    Click on the links below and discover how the Forums work
    Membership Levels
    The Rookie Thread
    New to The Ladyboy Forums? Introduce yourself!
    Old Members Must Reset Their Passwords

    Comment


    • #3
      This is because when you login using the theladyboyforums.com domain it sets a cookie under that domain. The old links point to the forum.asiantsgirls.com domain and so hence the cookie will not be sent by your browser and so the system believes you are not logged in.

      Comment


      • #4
        Ozzie, thanks for the explanation! You are indeed an internet guru as well as an lb encyclopedia!

        Just wanted to let people know there will be problems with the links. I use links to old posts fairly often, so will try to fix it if I see a comment they can't access one.

        Say, did you ever get the "Dust remover" you were looking for?

        Click on the links below and discover how the Forums work
        Membership Levels
        The Rookie Thread
        New to The Ladyboy Forums? Introduce yourself!
        Old Members Must Reset Their Passwords

        Comment


        • #5
          Should be able to fixed on a global scale by getting Bam to create a RedirectMatch on the forum.asiantsgirls.com server would look something like

          RedirectMatch 301 (.*)$ http://theladyboyforums.com$1

          Not tested of course.

          This would then cause any links to the old forum.asiantsgirls.com domain to be redirected to the new domain and your browser should then send the cookie with the new request.

          Comment


          • #6
            Guys, I€™m well aware of all the problems a domain change creates with Ikonboard. The first problem can be corrected by setting the forum to think it€™s own domain is €œ/€ making the forum run off of a virtual domain€¦ and I was doing this for quite some time however it created another problem when Stogie set the forum to require everyone to signup to prevent spam. When the forum would send out the verification email the link it provided for the subscriber to click on to validate their subscription was not including the full domain€¦ only a €œ/€ so I have to hard code a real domain back into the config.

            Ozzie, you€™re idea of using a 301 mod rewrite was tested by me before and it falls short due to the fact that it won€™t carry over the ; (semicolons) used by Ikon in page links. The links become malformed once pasted through a 301 and error out.

            I€™m using a 301 on this link to flip asiantsgirls.com over to theladyboyforums.com

            http://asiantsgirls.com/cgi-bin/board/ikonboard.cgi

            However on a direct link to a page http://asiantsgirls.com/cgi-bin/boar...ST;f=1;t=12017
            You will see it does not go to https://theladyboyforums.com/cgi-bin....t=12017



            But will error out because the ; is getting converted to it's hex equivalent of %3b and Ikon can't understand that and dumps you to the main page. If you can figure out a fix for this it would be great.

            Comment


            • #7
              Why don't we stop requiring an email validation?

              I'd rather have the fun of deleting SPAM than lose all the forum links!

              Comment


              • #8
                This is only a temporary problem, and will only come up when some members try links that have been posted. This is similar to the situation when the Forum changed it's format a couple of years ago.

                I would rather have this temporary problem than deleting dozens of spams a day.

                The amount of spam is increasing dramatically - so if the e-mail registration is waived, there will be a lot more spam than in the past, when there wasn't e-mail registration.

                Click on the links below and discover how the Forums work
                Membership Levels
                The Rookie Thread
                New to The Ladyboy Forums? Introduce yourself!
                Old Members Must Reset Their Passwords

                Comment


                • #9
                  looks like you're running on Apache so wouldn't a mod_rewrite do it?

                  something like:

                  CODE[/quote]

                  RewriteEngine On

                  RewriteCond %{HTTP_HOST} ^www.asiantsgirls.com$ [NC]
                  RewriteRule ^(.*)$ http://www.theladyboyforums.com/$1 [R=301,L]
                  [/quote]

                  I've made kathylc  

                  Comment


                  • #10
                    ok, was a bit slow there :dumbass:


                    how about this:


                    noescape|NE' (no URI escaping of output)
                    This flag keeps mod_rewrite from applying the usual URI escaping rules to the result of a rewrite. Ordinarily, special characters (such as '%', '$', ';', and so on) will be escaped into their hexcode equivalents ('%25', '%24', and '%3B', respectively); this flag prevents this from being done. This allows percent symbols to appear in the output, as in

                    RewriteRule /foo/(.*) /bar?arg=P1\%3d$1 [R,NE]


                    which would turn '/foo/zed' into a safe request for '/bar?arg=P1=zed'.
                    Notice: The noescape flag is only available with Apache 1.3.20 and later versions.
                    taken from: http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html

                    way down near the bottom

                    I've made kathylc  

                    Comment


                    • #11
                      Good catch Monkey.

                      This should work


                      CODE[/quote]
                      RewriteRule ^/(.*) http://theladyboyforums.com/$1 [L,R=301,NE][/quote]

                      Comment


                      • #12
                        I'm trying to find a link to something on the old forum.

                        I can't remember the title of the thread but I do remember the background was a sort of yellow colour.....

                        RR.
                        Pedants rule, OK. Or more precisely, exhibit certain of the conventional trappings of leadership.

                        "I love the smell of ladyboy in the morning."
                        Kahuna

                        Comment


                        • #13
                          Guys the NE no URI escaping of output flag seems to do the trick!

                          Thanks Monkey for researching that for us!

                          This is what I'm now using as an htaccess on the old domain of asiantsgirls.com. I'm now going to change the IP of forum.asiantsgirls.com to point that to the same htaccess... this should totally solve this problem.


                          DirectoryIndex ikonboard.cgi index.html

                          RewriteEngine On
                          RewriteCond %{HTTP_HOST} ^www.asiantsgirls\.com$ [NC]
                          RewriteRule ^(.*)$ https://theladyboyforums.com/cgi-bin/board/$1 [L,R=301,NE]

                          RewriteCond %{HTTP_HOST} ^asiantsgirls\.com$ [NC]
                          RewriteRule ^(.*)$ https://theladyboyforums.com/cgi-bin/board/$1 [L,R=301,NE]

                          RewriteCond %{HTTP_HOST} ^forum.asiantsgirls\.com$ [NC]
                          RewriteRule ^(.*)$ https://theladyboyforums.com/cgi-bin/board/$1 [L,R=301,NE]

                          Comment


                          • #14
                            (stogie bear @ Oct. 28 2007,02:58) Why don't we stop requiring an email validation?

                            I'd rather have the fun of deleting SPAM than lose all the forum links!
                            Stogie, don't worry about that now as we have taken care of the problem the correct way using the server to self correct the old links using mod rewrite. You can stick with the requiring an email validation if you like.


                            Thanks again to Monkey!

                            Comment


                            • #15
                              Good job, mate. So we'll stick with requiring the email validation...

                              It will slow the amount of spams at least!

                              I don't suppose there's a way to ever recover the pics on the rob69 threads is there?

                              Comment



                              Working...
                              X