Add Poll
 
Options: Text Color Split Pie
 
 
 
 
 
 
 
 
Poll Comment:
Max 500 characters. Remaining characters:
days and minutes. Leave it blank if you don't want to set it now.

Please type the characters exactly as they appear in the image,
without the first 2 and last 2 characters.
The characters must be typed in the same order,
and they are case-sensitive.
Open Preview Preview

You can resize the textbox by dragging the right or bottom border.
Off Topic Comment Insert Spoiler
Insert Hyperlink Insert FTP Link Insert Image Insert E-mail Insert Media Insert Table Insert Table Row Insert Table Column Insert Horizontal Rule Insert Teletype Insert Code Insert Quote Edited Superscript Subscript Insert List /me - my name Insert Marquee Insert Timestamp No Parse
Bold Italicized Underline Insert Strikethrough Highlight
                       
Change Text Color
Insert Preformatted Text Left Align Centered Right Align
resize_wb
resize_hb







Max 10000 characters. Remaining characters:
Text size: %
More Smilies
View All Smilies
Collapse additional features Collapse/Expand additional features Smiley Wink Cheesy Grin Angry Sad Shocked Cool Huh Roll Eyes Tongue Embarrassed Lips Sealed Undecided Kiss Cry
Topic Summary - Displaying 3 post(s). Click here to show all
Posted by: Dandello
Posted on: Dec 20th, 2014 at 3:29pm
Red Barchetta wrote on Dec 20th, 2014 at 4:35am:
Does the .httaccess redirect method support a message?
                     

No - it just sends the browser to the new place with '301' (permanently moved) flag.

For .htaccess
Code
Select All
RewriteEngine on

 RewriteCond %{HTTP_HOST} ^testbed\.dandello\.net$
 RewriteRule ^/?$ "http\:\/\/www\.yabbforumsoftware\.com" [R=301,L] 


The above is from the redirect from a subdomain on dandello.net to here when I moved this site to its domain.
Also see: http://httpd.apache.org/docs/2.0/misc/rewriteguide.html
Posted by: Red Barchetta
Posted on: Dec 20th, 2014 at 4:35am
Thanks for the help with this. I needed it as I had moved my YaBB Forum to a new folder on my server. I had changed the Paths.pl so after hitting the old folder it would change to the new one, but I still see I have more entry page hits starting on the old folder than directly going to the new one. This will create a 5 second pause and inform them of the new URL, and then redirect them there.

Does the .httaccess redirect method support a message?
Posted by: Dandello
Posted on: Dec 20th, 2014 at 1:30am
You've moved your forum and can't use a server (.htaccess) redirect.

Replace the contents of your old YaBB.pl file with:
Code (Perl)
Select All
#!/usr/bin/perl --
 print "Content-type: text/html\n\n" or die 'cannot print line1';
 print qq~
 <!DOCTYPE html>
 <html lang="en-us">
 <head>
     <title>YaBB Webmaster redirect</title>
     <meta http-equiv="refresh" content="5;URL=http://mynewyabb/cgi-bin/yabb2/YaBB.pl" />
   </head>
   <body style="background-color:#ffffff">
     <p style="text-align:center">The content you are looking for has moved. You will be redirected to the new location automatically in 5 seconds. Please bookmark the correct page at <a href="http://mynewyabb/cgi-bin/yabb2/YaBB.pl">http://mynewyabb/cgi-bin/yabb2/YaBB.pl</a>
     </p>
   </body>
 </html>~ or die 'cannot print line2';  



Since it's absolutely basic html you can style it however you want. It will automatically redirect to the new address. (Obviously you should point it to your new forum.)