Sponsored Content
Homework and Emergencies Emergency UNIX and Linux Support 301 redirect for forum move - HELP Post 302654369 by HDRG on Monday 11th of June 2012 05:05:01 PM
Old 06-11-2012
Quote:
Originally Posted by chakrapani
I hope you are not asking for Regex just the 301 htaccess redirect
Code:
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]

This is exactly the code we used to change our forum location. Worked like a charm.
 

2 More Discussions You Might Find Interesting

1. What is on Your Mind?

How to move a thread into another forum

Hi there, Does anyone know how I can move a posting from one forum into another. I believe I posted one in the wrong forum, but have no idea how to move it. I don't want to ask the same question in multiple forums. Thanks (4 Replies)
Discussion started by: goodjuju
4 Replies

2. Post Here to Contact Site Administrators and Moderators

How to shift or move my thread/query from one forum to other?

I am not getting reply of my post :Switching between Linux and Windows OS in Linux forum. How to move the thread to a different forum like: "Windows & DOS: Issues & Discussions"? (1 Reply)
Discussion started by: ravisingh
1 Replies
HTTPRESPONSE(3) 							 1							   HTTPRESPONSE(3)

The HttpResponse

CLASS SYNOPSIS
HttpResponse HttpResponse o static void HttpResponse::capture (void ) o static int HttpResponse::getBufferSize (void ) o static bool HttpResponse::getCache (void ) o static string HttpResponse::getCacheControl (void ) o static string HttpResponse::getContentDisposition (void ) o static string HttpResponse::getContentType (void ) o static string HttpResponse::getData (void ) o static string HttpResponse::getETag (void ) o static string HttpResponse::getFile (void ) o static bool HttpResponse::getGzip (void ) o static mixed HttpResponse::getHeader ([string $name]) o static int HttpResponse::getLastModified (void ) o static string HttpResponse::getRequestBody (void ) o static resource HttpResponse::getRequestBodyStream (void ) o static array HttpResponse::getRequestHeaders (void ) o static resource HttpResponse::getStream (void ) o static float HttpResponse::getThrottleDelay (void ) o static string HttpResponse::guessContentType (string $magic_file, [int $magic_mode = MAGIC_MIME]) o static void HttpResponse::redirect ([string $url], [array $params], [bool $session = false], [int $status]) o static bool HttpResponse::send ([bool $clean_ob = true]) o static bool HttpResponse::setBufferSize (int $bytes) o static bool HttpResponse::setCache (bool $cache) o static bool HttpResponse::setCacheControl (string $control, [int $max_age], [bool $must_revalidate = true]) o static bool HttpResponse::setContentDisposition (string $filename, [bool $inline = false]) o static bool HttpResponse::setContentType (string $content_type) o static bool HttpResponse::setData (mixed $data) o static bool HttpResponse::setETag (string $etag) o static bool HttpResponse::setFile (string $file) o static bool HttpResponse::setGzip (bool $gzip) o static bool HttpResponse::setHeader (string $name, [mixed $value], [bool $replace = true]) o static bool HttpResponse::setLastModified (int $timestamp) o static bool HttpResponse::setStream (resource $stream) o static bool HttpResponse::setThrottleDelay (float $seconds) o static bool HttpResponse::status (int $status) CLASS MEMBERS
PROPERTIES
Static Properties +----------+-------------------------------+---+---+ |Modifiers | | | | | | | | | | | Type | | | | | | | | | | Name | | | | | | | | | | Description | | | | | | | | +----------+-------------------------------+---+---+ |protected | | | | | | | | | | | boolean | | | | | | | | | | cache | | | | | | | | | | whether caching the response | | | | | should be attempted | | | | | | | | |protected | | | | | | | | | | | boolean | | | | | | | | | | gzip | | | | | | | | | | whether the sent entity | | | | | should be gzip'ed on the fly | | | | | | | | |protected | | | | | | | | | | | string | | | | | | | | | | eTag | | | | | | | | | | the generated or custom ETag | | | | | | | | |protected | | | | | | | | | | | integer | | | | | | | | | | lastModified | | | | | | | | | | the generated or custom time- | | | | | stamp of last modification | | | | | | | | |protected | | | | | | | | | | | string | | | | | | | | | | cacheControl | | | | | | | | | | | | | | | Cache-Control setting | | | | | | | | |protected | | | | | | | | | | | string | | | | | | | | | | contentType | | | | | | | | | | the Content-Type of the sent | | | | | entity | | | | | | | | |protected | | | | | | | | | | | string | | | | | | | | | | contentDisposition | | | | | | | | | | the Content-Disposition of | | | | | the sent entity | | | | | | | | |protected | | | | | | | | | | | integer | | | | | | | | | | bufferSize | | | | | | | | | | the chunk buffer size used | | | | | for throttling | | | | | | | | |protected | | | | | | | | | | | double | | | | | | | | | | throttleDelay | | | | | | | | | | the seconds to delay when | | | | | throttling | | | | | | | | +----------+-------------------------------+---+---+ PREDEFINED CONSTANTS
+--------+--------------------------------------+---+ | Type | | | | | | | | | Name | | | | | | | | Description | | | | | | +--------+--------------------------------------+---+ |integer | | | | | | | | | REDIRECT | | | | | | | | guess applicable redirect method | | | | | | |integer | | | | | | | | | REDIRECT_PERM | | | | | | | | permanent redirect ( 301 Moved per- | | | | manently) | | | | | | |integer | | | | | | | | | REDIRECT_FOUND | | | | | | | | standard redirect ( 302 Found) | | | | | | |integer | | | | | | | | | REDIRECT_POST | | | | | | | | redirect applicable to POST requests | | | | ( 303 See other) | | | | | | |integer | | | | | | | | | REDIRECT_PROXY | | | | | | | | proxy redirect ( 305 Use proxy) | | | | | | |integer | | | | | | | | | REDIRECT_TEMP | | | | | | | | temporary redirect ( 307 Temporary | | | | Redirect) | | | | | | +--------+--------------------------------------+---+ PHP Documentation Group HTTPRESPONSE(3)
All times are GMT -4. The time now is 11:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy