Results 1 to 7 of 7
Threaded View
-
29th Sep 2012, 05:14 PM #7Respected Member
You can also add your own 404.shtml file to redirect a page not found. Usually the cpanel has an icon to do that. Or do it manually.
for the .htaccess try this:
Code:ErrorDocument 404 / RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^([a-z0-9\-]+)\.domain\.com$ [NC] RewriteCond %1 !^www$ [NC] RewriteRule (.*) http://test.domain.com/%1 [R=301,L,NC]
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
How to rewrite/redirect a folder name with .htaccess
By GBot in forum Whitehat SEOReplies: 0Last Post: 14th Dec 2013, 07:16 AM -
Redirect from one site to another site using .htaccess
By NaHoW in forum Web Application/Script SupportReplies: 0Last Post: 17th Sep 2012, 05:37 PM -
.htaccess 302 redirect
By av0id in forum Technical Help Desk SupportReplies: 2Last Post: 6th Mar 2012, 01:52 AM -
How to Redirect using htaccess
By AJ Blacklisted in forum Web Application/Script SupportReplies: 4Last Post: 20th Dec 2011, 08:38 AM
themaCreator - create posts from...
Version 3.47 released. Open older version (or...