ho aperto il file e c'è scritto questo, ma non so cosa significhi esattamente e se risponde alla domanda che mi è stata fatta: "re-indirizzare via HTaccess - 301 le URL che sono state cambiate alle nuove URL."
RewriteEngine on
RewriteBase /
#RewriteCond %{HTTP_HOST} ^(www\.girovagandoinmontagna\.com/gim)(:80)? [NC]
#RewriteRule ^(.*) girovagandoinmontagna.com/gim/$1 [R=301,L]
#RewriteRule ^$ /gim [L]
#RewriteRule ^forums/(.*)$ /gim/$1 [L,R=301]
RewriteCond %{HTTP_HOST} ^grandeguerraintrentino\.it$ [OR]
RewriteCond %{HTTP_HOST} ^www\.grandeguerraintrentino\.it$
RewriteRule ^/?$ "http\:\/\/www\.girovagandoinmontagna\.com\/ggit" [R=301,L]
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^girovagandoinmontagna\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.girovagandoinmontagna\.com$
RewriteRule ^/?$ "http://girovagandoinmontagna\.com\/gim" [R=301,L]
# RewriteCond %{HTTP_HOST} ^www\.girovagandoinmontagna.com$ [NC]
# RewriteRule ^(.*)$ http://girovagandoinmontagna.com/$1 [R=301,L]
Ma poi mi è sorto un dubbio: anche nella cartella del forum esiste un file htacess, con questo, di qualedevo tenere conto? (scusate l'ignoranza). Di quello in radice o di quello in cartella del forum?
# PRETTYURLS MOD BEGINS
# Pretty URLs mod
# http://code.google.com/p/prettyurls/
# .htaccess file generated automatically on: May 5, 2015, 0:16
RewriteEngine on
RewriteBase /gim
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/gim/$1 [R=301,L]
# Questa serve ad evitare che la chat muoia
RewriteRule ^(chat)($|/) - [L]
# Rules for: actions
RewriteRule ^(activate|admin|ads|announce|attachapprove|badbehavior|buddy|calendar)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(clock|collapse|coppa|credits|deletemsg|display|dlattach|editpoll)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(editpoll2|emailuser|findmember|forum|portal|groups|help|helpadmin)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(im|jseditor|jsmodify|jsoption|lock|lockvoting|login|login2)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(logout|markasread|mergetopics|mlist|moderate|modifycat|modifykarma|movetopic)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(movetopic2|notify|notifyboard|openidreturn|pm|post|post2|printpage)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(profile|quotefast|quickmod|quickmod2|recent|register|register2|reminder)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(removepoll|removetopic2|reporttm|requestmembers|restoretopic|search|search2|sendtopic)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(smstats|suggest|spellcheck|splittopics|stats|sticky|theme|trackip)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(about:mozilla|about:unknown|unread|unreadreplies|verificationcode|viewprofile|vote|viewquery)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(viewsmfile|who|\.xml|xmlhttp|chat)/?$ ./index.php?pretty;action=$1 [L,QSA]
# Rules for: boards
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/?$ ./index.php?pretty;board=$1.0 [L,QSA]
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([0-9]*)/?$ ./index.php?pretty;board=$1.$2 [L,QSA]
# Rules for: topics
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$a-zA-Z0-9]+)/?$ ./index.php?pretty;board=$1;topic=$2.0 [L,QSA]
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$a-zA-Z0-9]+)/([0-9]*|msg[0-9]*|new)/?$ ./index.php?pretty;board=$1;topic=$2.$3 [L,QSA]
# PRETTYURLS MOD ENDS