301 Redirect Without Displaying Different Domain
to do a 301 redirect from domainA to domainB but continue displaying DomainA's url when someone goes through.
Right now I'm doing:
redirectMatch 301 ^(.*)$ [url]
redirectMatch permanent ^(.*)$ [url]
How do I accomplish this?
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
301 Redirect Entire Domain With IIS
I always use Apache and it's easy to redidrect an entire domain in the htaccess. Code: RewriteCond %{HTTP_HOST} ^www.domain1.com$ RewriteRule ^(.*)$ [url]$1 [R=301,L] For a site I'm working on I need to achieve the same thing with IIS but have no idea how to and the technician claims it can't be done. Surely, that's not the case. Any ideas? By the way I want the exact same effect as the above not just a generic redirect that sends everthing to the home page of the new domain.
View Replies!
View Related
How Can I Redirect (301)
A benchmark for my website sais this: Search engines may think serviciionline.net and www. serviciionline.net are two different sites. You should set up a permanent redirect (technically called a "301 redirect") between these sites. Once you do that, you will get full search engine credit for your work on these sites. For example, serviciionline.net seems to have 3,058 inbound links whereas www. serviciionline.net has 32 inbound links. By correctly configuring a permanent 301 redirect, the search rankings might improve as all inbound links are correctly counted for the website. How can I do that redirection? I have cPanel Pro in my hosting, and as far as I can see, with or without www, I land in the same place
View Replies!
View Related
301 Redirect And Sitemaps
what is 301 redirect? i heard that when as a website publisher, you should redirect your mydomain.com to www.mydomain.com everytime as the domain with www. in front of it bears more value... Is that true? Btw, there was a time that i submitted two sitemaps to google, once for the domain without the www. and the seond with the www. I eventually took down the one with www. So, as you may expect, there's only results showing up when i type site:mydomain.com and only 1 result for site:www.mydomian.com... i was thinking, mayb i should have juz list two sitemaps for the same site... any benefits/harm of doing that? does that increase PR or anything?
View Replies!
View Related
301 Redirect And Adsense
I have 3 websites redirected to one.. all 3 websites have wordpress installed but I already redirected these sites to my other blog... Strange thing is, I am still getting adsense impressions in these sites...
View Replies!
View Related
301 Redirect In .htaccess
I am trying to redirect from: [url] over too: [url] Now the software i'm using on the /forums/ is different, so i need ALL inbound links to any area of phpBB2 to redirect to /forums/ and be stripped of the "index.php=topic111.22." All the redirects I have tried seem to leave the rest of the URL on then give a page not found.
View Replies!
View Related
301 Redirect With .htaccess
I am attempting to do a directory 301 redirect with a .htacccess. I have followed the instructions but it is not working. I have heard that I will have to wait for Apache to restart on the server before it will work. Is this true?
View Replies!
View Related
301 Redirect Of Many Pages On IIS
We have a situation where we want to rename about 550 HTML pages. In doing so, we want to 301 redirect the old pages to the new ones - best choice I believe? All: What is the easiest way to do this? We are running Microsoft IIS. I don't want to burden the system admin (not me) with having to a manual operation on 500 + pages. Also, the page names will be completely different. Besides going from html to .asp the names will totally be changed from like abcd123.html to my-optimized-keywords.asp Has anyone used a custom 404 page to handle this. How does it work?
View Replies!
View Related
301 Redirect From Index.htm Index.asp Using Limited IIS Server
I am implementing one of my clients new sites ( the old site is written in plain html), and their new site uses ASP on every page. The problem is that their old index.htm page has a pagerank of 4 which we want to keep. And I have been advised that i need to do a 301 redirect to pass that PageRank onto their new index.asp page. The other problem is that they are on a shared IIS hosting solution (with FastHosts), and obviously I don;t have total control over the server so cannot get into the root control panel. My question is, whats the IIS alternative to .htaccess, which can be implemented on a limite-controlled IIS server? JavaScript, I have heard is completely out the question
View Replies!
View Related
Redirect Www.domain.com To Domain.com
Can anyone help me in redirecting my site www.domain.com to domain.com since SSL is for domain.com Here is my htaccess Options -Indexes DirectoryIndex home.php index.php index.html index.htm Could you please add me the correct code to redirect www.domain.com to domain.com? Also, do i need to restart Apache for taking effect?
View Replies!
View Related
Domain Name Redirect
is it possible to register a domain name and just use it to re-direct to another domain without paying for hosting etc? for example if i want a standard url to point to a free [url] blog? how would i go about doing this?
View Replies!
View Related
Domain Name Redirect/masking
I'v been searching the internet for ways to redirect/mask a domain in Linux (Ubuntu) and everything points me to godaddy. The server is ssh there is no control panel on it. So if anyone knows a way I can redirect my domain name and mask it that would be great. For example domain1 points to domain2, but in the address bar it shows domain1.
View Replies!
View Related
Redirect Domain To Www
The thing is that we have a dedicated server at our company hosting several domains, and right now you can access them both with the www prefix or without it, but there is no redirection in case you access without it, and this has negative impact with SEO related stuff. I have the rewrite apache module enabled (I tested with a script I found on the net), and I also tried a test configuring a single domain including some code about redirection. Right now I'm getting a nice "500 Internal Server Error" This is the code in .htaccess Code: Option +FollowSymlinks RewriteEngine On RewriteCond %{http_host} ^mydomain.com [NC] RewriteRule ^(.*)$ [url] (mydomain.com is, obviously, a replacement for the real domain in both cases)
View Replies!
View Related
Redirect Domain.com/admin To [url]
How do i forward requests to [url] to [url]? I have usermin control panel running at https port 10000, but hosted customers have trouble rememembering the port address, hence i want to provide simplified url to all hosted customer so that whenever a customer types [url]or [url]he is forwarded to [url]. I have a number of domains hosted and need a global mod_rewrite rule or whatever that can be specified once in my apache httpd.conf file and it should work for all hosted domains on my server.
View Replies!
View Related
How Do I Redirect Visitors, Who Type In My IP Address, To My Domain
I have what seems to be a simple redirect question. I have a dedicated server and a few static IP addresses, but I want to make it so if someone were to type in my IP address in their browser, Apache will redirect them to the domain name. (Typing in [url] What happens now is that if you were to type in my server's IP address, it will show you the FIRST VirtualHost container that's listed in httpd.conf. This is not so bad since I've placed my main company site at the start of the list, but I'd rather redirect the IP into the domain name I use. I read somewhere that you can place Mod RewriteRules directly in the VirtualHost container rather than using .htaccess, but the few "rules" that I tried didn't seem to do anything. And yes, I restarted Apache each time I edited httpd.conf. Is there an easy way to do this? ALSO, is there a way to redirect the name server address too? If you type in [url]into the browser, it acts the same way. I would ultimately like to redirect both the nameservers and the IP address(es) to the domain name.
View Replies!
View Related
DNS / Bind - Easiest Method To Redirect A Domain To Another
I've got two domains (for sake of example, domain A and domain B). Domain A resolves correctly to my web server. Domain B is just sitting collecting dust. I didn't set these domains up, a previous programmer at my job did. How do I configure resolv.conf, named.conf and the zone file(s) correctly to have domain B redirect to domain A? I've already set up httpd.conf so that any requests for the host name of domain A will redirect. e.g. [url]-> [url] I just need the DNS part of this fixed (that I'm a bit of a noob at). Do I have to do something like this in named.conf: Code: zone "domaina.com" { type master; file "/var/named/domaina.com.hosts"; }; zone "domainb.com" { type master; file "/var/named/domaina.com.hosts"; }; Then in the domaina.com.hosts zone file add an alias like this? Code: domainb.com. IN CNAME domaina.com. Or do I need to create a domainb.com.hosts zone file with basic info emulating domaina.com.hosts zone file, and add its entry in named.conf?
View Replies!
View Related
DNS / Bind - Easiest Method To Redirect A Domain To Another
I've got two domains (for sake of example, domain A and domain B). Domain A resolves correctly to my web server. Domain B is just sitting collecting dust. I didn't set these domains up, a previous programmer at my job did. How do I configure resolv.conf, named.conf and the zone file(s) correctly to have domain B redirect to domain A? I've already set up httpd.conf so that any requests for the host name of domain A will redirect. e.g. [url] I just need the DNS part of this fixed (that I'm a bit of a noob at). Do I have to do something like this in named.conf: Code: zone "domaina.com" { type master; file "/var/named/domaina.com.hosts"; }; zone "domainb.com" { type master; file "/var/named/domaina.com.hosts"; }; Then in the domaina.com.hosts zone file add an alias like this? Code: domainb.com. IN CNAME domaina.com. Or do I need to create a domainb.com.hosts zone file with basic info emulating domaina.com.hosts zone file, and add its entry in named.conf?
View Replies!
View Related
Only Domain Reg, Email Forward And Url Redirect Wanted
I need a company to register my domain, and then forward emails and urls to my actual site that is somewhere else. I don't need any actual web hosting or email pop (at the moment). My main requirement is reliability. The company I currently use bounces some email to me and forwards other email to a black hole. They're also not replying to my mail, so it's time to leave. BTW, this is a company that has generally excellent reviews.
View Replies!
View Related
Displaying Non English Filenames
basically it has to do with supporting filenames(or urls) in non English (Arabic) encoding in apache webserver.... I'm assuming that its apache that needs to be configured for this, i can't think of anything else except encoding support on the o/s too..... funny thing is, i can upload and download non Arabic file names through ftp, and ftp displays them correctly, but they can't be accessed through a webbrowser..... hmmmm, actually firefox can access them, it screws up the file name into funny signs but actually displays the file, I.E can't access them at all.... So, how can I enable Arabic language support on my webserver?
View Replies!
View Related
Delay In Displaying Published Files
I host my site on webcity and have done for 6-7months. Most of the time, I publish my web and the changes appear virtually immediately. Some weeks ago, the lag between publishing and appearing began to take hours. I advised webcity support and the next day back to normal. Yesterday, it started again. I emailed webcity and their reposnse was - it's your cache. I rang webcity and again was advised - it's your cache (or something your ISP is doing). I don't believe it is cache. I can refresh the page, close the browser, reboot the computer, clear all temp files (run CC Cleaner) - no difference.
View Replies!
View Related
Images Not Displaying On Cpanel Server
I am hosting my site on cpanel server, but there is a little problem, my images in the application are not getting displayed, whereas they are displaying alright on my local server, i've tried different methods to ressolve this issue, but, i wonder is it something to do with the server.
View Replies!
View Related
Displaying Google Ads Can Destroy Your Website
It's very dangerous to display Google ads on your website! ("adsense"). If they decide they don't like your website, for any reasons, for example political reasons (they told it to me), then instead of displaying their regular ads, and even instead of displaying a blank space instead - they display a frame with big "Action canceled" at the top of your website and your customers might think you went out of business or something like that (they are not displaying any relation to Google). They did it to my and my website, www.speedywhois.com (currently .net), look for yourself, read this post and especially the images attached (MSIE and MZFF) and especially if you're politically active as I am and support human rights and especially in China or Israel or criticize Google or the United States of America then you can find "Action canceled" frames on the top of your website too. http://www.speedy.net/uri/blog/?p=84 I currently don't have a computer and I'm using public computers to connect to the internet (it costs) and when I noticed this "Action canceled" on the top of my website it was shabbat (weekend) but since this is a top security issue and I didn't want my customers to think I went bankrupt and stop using Speedy Whois, I removed google ads and put a warning to other webmasters too. By the way I also asked them why they stopped displaying my ads for Speedy Whois on their websites ("adwords"), I wrote them in english and my website is english and my language preferences are english but instead they wrote me something in hebrew about them hating me and my website which I didn't even bother to read. I asked them to reply in english and they refused so I'm not advertising with them either. Godaddy is also not displaying whois data to my customers so they are together (Google & Godaddy) doing their best to cause my customers to stop using my website. Google also caused me problems with sending mail from my gmail and they are censoring me big time because of my political views. I'm against wars and I wrote some things against war crimes on my website and it made them very angry about me.
View Replies!
View Related
Emails Not Displaying Mail Scanner Headers
i installed the latest version of the mail scanner on my linux server. It has been tested to be scanning and running properly. But one thing that is unusual is that the emails that is being processed by the mailscanner does not get tagged as its being processed by it. Hence i do not really know whether it has been processed. When i check the email full headers, i am missing information like spam score, spam information and spam status. I did a check in the mailscanner.conf and the configuration was done correctly. how can we set these information to show on the email header that it has been processed.
View Replies!
View Related
Apache 301 Redirects
We're running a VBulletin forum. I've been able to put basic redirects in place. But I'm fuzzy on how to direct links/search engines for forums/threads to the new location. Here's the situation. [url] to [url]
View Replies!
View Related
301 Redirecting To Public_html
I'm currently using this in my .htaccess: Code: RewriteEngine On rewritecond %[url] rewriteRule ^(.*) [url] I have this in my root (public_html) folder. However when you go to [url] it redirects you to [url] I'm already in the root. Why would it try to go to public_html/public_html? What's the correct implementation of this .htaccess?
View Replies!
View Related
.htaccess & Java Applet Trouble Displaying Images
I have a java applet that displays (local)images. I also have anti leach code in .htaccess that is adde via cpanel: .htaccess contents: Code: RewriteEngine on RewriteCond %{HTTP_REFERER} !^http://owndomain.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://owndomain.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.owndomain/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.owndomain.com$ RewriteRule .*.(jpg|jpeg|gif|png|bmp)$ - [F,NC] Symptems: 1- Java Applet loads && runs ok but doesn't display images. 2- When .htaccess file is removed, images display ok.
View Replies!
View Related
Correct 301 Moved Permanently Code
I am trying to push my server to return Moved Permanently code and redirect these URLs to the main URL, but cant find the right code. domain.com w.domain.com ww.domain.com wwww.domain.com to www.domain.com There are a number of codes available on the net and all supposed to do that, but which one is the eight one? 1) Options +FollowSymlinks RewriteEngine on rewritecond %{http_host} ^domain.com [nc] rewritecond %{http_host} ^w.domain.com [nc] rewritecond %{http_host} ^ww.domain.com [nc] rewritecond %{http_host} ^wwww.domain.com [nc] rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc] 2) Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^example.com RewriteCond %{HTTP_HOST} ^w.example.com RewriteCond %{HTTP_HOST} ^ww.example.com RewriteCond %{HTTP_HOST} ^wwww.example.com RewriteRule ^(.*)$ http://www.example.com/$1 [R=permanent,L] 3) Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTP_HOST} ^domain.com$ [NC] RewriteCond %{HTTP_HOST} ^w.domain.com$ [NC] RewriteCond %{HTTP_HOST} ^ww.domain.com$ [NC] RewriteCond %{HTTP_HOST} ^wwww.domain.com$ [NC] RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]
View Replies!
View Related
Running BSD Server But Windows Box Keeps Displaying Login Prompt All The Time
I run a FreeBSD box as my file and webserver I use a DynDns domain name and run the little update program. But anyway when ever I use my lappy and when ever my lappy makes an outgoing connection a login prompt comes up asking to connect to my domain. It used to just say my public IP but I edited hosts.rc so now it says my domain on the prompt. Is this somthing to do with samba or apache on BSD or is windows detecting that I host my own or what.
View Replies!
View Related
How To Safely Implement 301 Redirects On A Shared Windows Server
Have done some searching as to how I might do this. On a Unix server it's no problem, .htaccess and away we go. However I want to set up a stack of redirects on a shared Windows server, without causing any issues. The shared server has many of our clients so we can't do anything too 'risky'. This includes a global.asa, or messing with the IIS settings via remote desktop. It is too late to reuse the old file paths, besides they were not seo-friendly. This leaves simply retaining the old files and putting asp 301 scripts up top of each page. Fair enough, but it still leaves a mess on the server - ideally I want just the new files in there. The vast majority of the old pages are actually just HTML, there's only a couple that were .asp (contact forms etc). Does that open up any options? PHP doesn't appear to be enabled as of now, but apparently could be.
View Replies!
View Related
Redirect All
I am trying to redirect all traffic from one domain to another, via: Redirect permanent / [url] The problem I'm running into is that some of the subpages have been renamed on the new site, i.e. - [url] > [url] There are a LOT of pages. Is there someway to redirect everything to the new site's homepage, and what will that do to my SE rankings?
View Replies!
View Related
Redirect
I have been reading up on redirects using .htaccess files but it doesn't seem to be doing any good. I need the following link: [url] to automagically redirect to: [url] I tried: redirect permanent /fsbo /sellers/articles/fsbo.htm But no dice. Also - will doing a redirect like this cause an kind of SEO problems? I want my visitors to be able to enter something short like that instead of the long address.
View Replies!
View Related
Redirect Example.com To Www.example.com
I have multiple domains on my web server. One of my domains does not display its website when using example.com in the location bar. Eg. example.com redirects to site2.com but www.example.com displays properly. I tried adding to the htaccess file: Quote: Options +FollowSymlinks RewriteEngine on RewriteCond %{HTTP_HOST} !^www.example.com RewriteRule ^(.*)$ http://www.example.com/$1 [R=permanent,L] It doesn't work. The redirect does not occur.
View Replies!
View Related
Redirect To Subdomain
I am trying to do is have a redirect so the files get redirected to a subdomain. So domain.com gets pointed to domain.newdomain.com. However, I want to keep the current URLs, so say I got [url], the below code is just redirecting that url to [url]rather than [url] Options +FollowSymlinks RewriteEngine on RewriteBase / RewriteCond %{HTTP_HOST} ^www.domain.com$ RewriteRule (.*) [url]/$1 [R=Permanent] RewriteCond %{HTTP_HOST} domain.com$ RewriteRule (.*) [url]$1 [R=Permanent]
View Replies!
View Related
Sendmail Redirect
A spammer has sent a ton of users a phishing email requesting the users password... I work for a regional ISP, and we deal with alot of elderly people who would probably send him a response with a password... I looked over the mail log and one person did respond back to him... Basically... I want to do like... a virtusertable entry that forwards any email sent to HIM... to ME... so basically... his email is for instance: phishingspammer@gmail.com I want to do something like this in the virtusertable (I understand it probably cannot be done thru the virtusertable): phishingspammer@gmail.com goodguy@regionalisp.com This way I can alert the people who DO try to send him emails that the email was stopped and to never respond with a password.
View Replies!
View Related
Redirect To New Address
we change the name of one our directory on our host, we have some file on this directory and some website linked to this files. now how can redirect all address to new address? for example our old address is: [url] now this file located on: [url]
View Replies!
View Related
.htaccess Redirect
I know how to do a redirect to a new URL using a .htaccess file if I am pointing to a different server, however both domain.com and domain.com.cn are pointing to the same server, I just am wondering what I would add into my .htaccess file to get it to redirect from domain.com.cn to domain.com?
View Replies!
View Related
Link Redirect
I have a .swf file that I directly linked to digg. How can I redirect that specific file to a different page/server to relieve some of the pressure from all those users?
View Replies!
View Related
DNS Redirect
I am one of those TP customers that got affected by the DC outage. to redirect my website to a temporary status page for my members... I have successfully redirected www.domain.com but I need to also redirect the main part of the site www.domain.com/forums < is there any possible way of doing this without having access to my server? I am using Namecheap as domain registrar.
View Replies!
View Related
How To Redirect Domains
I want to redirect 4-5 domains to another domain. That is, when a user goes to mydomain1.com, mydomain2.com, mydomain3.com etc. , he is redirected to the mydomain.com What are my options here? The main site is hosted on a Linux platform and uses cPanel. What are the different ways which in which I can redirect to my mainsite?
View Replies!
View Related
A Folder Redirect
I have a question regarding folder redirection. For example if i have a url like www.mydomain.com/forum if i rename the folder forum to board and i want that if user put address www.mydomain.com/forum/showthread.php?t=585657 then it will automatically redirect to www.mydomain.com/board/showthread.php?t=585657 is that possible i want that every topic or file redirect to new folder?
View Replies!
View Related
How To Do Redirect Traffic
I just recently upgraded my website from WordPress to WordPress Mu. Everything went smoothly except for one problem. On WordPress, all my posts would appear as [url] but with WordPress Mu, it is now [url]. So whenever someone visits ht[url] or [url] they are given a 404 error because it no longer exists at that location. I know there is a way, like a wildcard or something, that makes it so that wheneever anyone visits [url]anything it would change it to[url]whatever else was typed/, no? I can't figure out how to search for that exactly and tried reading through .htaccess docs and can't figure out how to make this work.
View Replies!
View Related
WWW Redirect
i have a Centos VPS with webmin i have modified my .htaccess file to redirtect all users from WWW. to the root of the domain i also tried to block some ip addresses through my .htaccess file but it seems that whatever code i enter in my .htaccess file does not work. i think it is disabled somewhere as both the abvoe codes do not work how can i enable .htaccess file?
View Replies!
View Related
|