The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Quick htaccess question
Hi,
I have moved my forum from 'domain.com/forum' to only 'domain.com'. The URL structure is the same besides that. How do I redirect(301) all traffic using htaccess? What to write and where to put the file. Thanks! --------------- Added [DATE]1578176664[/DATE] at [TIME]1578176664[/TIME] --------------- This seems to work: Options +FollowSymLinks RewriteEngine On RewriteRule ^forum/(.*)$ /$1 [R=301,NC,L] Placed in public_html root |
#2
|
||||
|
||||
To redirect the entire site, place the .htaccess file at the root of your web folder.
Code:
Redirect 301 / http://newsite.com/ |
#3
|
|||
|
|||
Ok, does it matter if I do It like that or like my example above?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|