![]() |
Moving vB from root/forum to root
If I move my blog from root/forum to root/, how do I make it so that my server will redirect the old urls to the new ones?
For example, if someone goes to: http://mydomain.com/forum/this-thread.phpHow do I make that page redirect to: http://mydomain.com/this-thread.phpThanks for pointing me in the right direction! I've seen other sites do this I just don't have any clue where to look... |
Quote:
RewriteEngine on RewriteCond %{REQUEST_URI} ^/forum/.*$ RewriteRule ^/forum/(.+)$ http://mydomain.com/$1 [L,R] |
Thanks a million man!
|
What would I need to put into .htaccess if I move the forum from / to /forum? I want to setup Drupal in the root, but I still want old refrenced (search engines, links from other sites, etc) URL's to goto the new URL's?
|
All times are GMT. The time now is 08:42 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|