I moved my wordpress blog from blog.domain.info to domain.net i own both the tld domains. google search already had the posts from old url indexed. if someone clicks in it it shows 404 error. how do i redirect the traffic from old url to new url via htaccess. I dont want duplicate post on google. how to make the transition? i am confused with many online articles about htaccess redirect.
Just went through a migration and everything appeared to go pretty smooth, but we figured out there was an issue with symbolic links.
A site on an old server running plesk 12 had symbolic links in it. When the site is Migrated through the plesk migration tool, the symbolic links aren't preserved on the new server.
I am testing out Plesk control panel 12 - looks promising, but the moment I hit chroot-ed environment, many things go wrong.
Set up:
Virutal server, running linux (64 bit Ubuntu 14.04 Server LTS); Plesk Control Panel 12.0.18, Update #14; Currently running on a trial license; Brand new installation on a dedicated server;
I have two disks, one is for system stuff, plus plesk; second disk is supposed to be dedicated to /var and /home
(to save place, I've removed the regular stuff that is everywhere and makes not difference for this case ... I think)
The plesk installation went just fine; update ran fine; I can register customers, their websites run fine ... as long as they get no shell at all, or regular shell to the server.
BUT: we need to jail all our customers under chroot. If that is not possible, we can't use Plesk.
I created a Service plan cloned form the Default domain plan and changed only to give the users ssh access to the server with a chroot env.
When I try to register a new client with this new service plan, it fails with lots of error messages (one per directory it tries to make), like this:
chrootmng: cannot set permissions for "/var/www/vhosts/demowh1.blah.blah/lib":Too many levels of symbolic links ... Dropping the GUI and xperimenting in a shell, as root: If I run: root@testthing:/usr/local/psa/admin/sbin# ./chrootmng --create --source=/var/www/vhosts/chroot/ --target=/var/www/vhosts/demowh1.blah.blah open_basedir_with_nofollow: opeat failed: `var', Too many levels of symbolic links
i just got code for .htaccess to redirect mydomain.com to a directory on the same domain here directory123 is that name of directory where i wanna redirect my domain but problem is that when i put complete url like www.mydomain.com then it will successfull redirect to www.mydomain.com/direcotry123
But when i put address like mydomain.com without www then it will not redirect kindly check and let me know the correction to redirect it as well
<Limit GET POST> order deny,allow deny from all allow from all </Limit> <Limit PUT DELETE> order deny,allow deny from all </Limit> AuthName mydomain.com AuthUserFile /home/username/public_html/_vti_pvt/service.pwd AuthGroupFile /home/username/public_html/_vti_pvt/service.grp
My company provides free websites using an automated website builder we designed years ago. We also offer a option where members can add a domain name to their site. Because all our members pages are generated dynamically by the web builder script, when member adds the domain name option we simply add a DNS entry that includes an A record that directs the domain name to the IP address of the account on the server where the web builder is installed. All domains point to the same script and that script looks the domain up in a database table and gets the web page data for that website.
We are about to launch a new website builder that is not database-driven but includes a sub-directory for each member site. So, I need to find a way to redirect each member's domain to their sub-directory
when our customers enter the domain name in this format: http://www.domain.com:8443 the page will be redirect to https://our-datacenter-default-hostname:8443.
but if they enter httpS://www.domain.com:8443 , the page don't redirect to anywhere and every things is ok.
How can I change the URL that users redirect to when they don't enter "https" in addressbar?
I'm a reseller with a few seperate servers. Thus, trying to set up a 2ndry set of NS records. Setup as follow:
main-domain.com : Hosting domain main-server.com : Main Reseller server, hosting main-domain.com 2nd-server.com : Another reseller server hosted-domain.com : A domain hosted on my 2nd-server.com
1. Main domain DNS, pointing to main-server.com (On NS.main-server.com). 2. On main server, NS1 & NS2.main-domain.com pointing to NS.main-server.com) 3. On main server, set up 2ndry NS - NS3 & NS4.main-domain.com as CNAME pointing to 2nd-server.com (NS1 & NS2.2nd-server.com) 4. hosted-domain DNS pointing to NS3 & NS4.main-domain.com
Problem is, NS3 & NS4 are working - But when i try looking up hosted-domain.com i get a 404 error.
I have two servers with two different ip address in two different physical location.
eg
server A - 202.44.33.1 - domain.com server B - 192.33.55.3 - abc.domain.com
what i would like to do is redirect people coming to abc.domain.com to ip address 192.33.55.3 instead of the conventional 202.44.33.1/abc/
can this be done ? If so how ? I know it can be done but i am not sure how or what the technical term for such a service would be ? and the actual steps involved in creating a redirection like this.
We have an in house centOS linux developer box running apache 2.x
We have our own on-site router/switch setup etc.
We host our external website whatever.com with Networksolutions
On our whatever.com DNS (via network solutions). We have our domain subscriber.whatever.com pointing to our external IP address. subscriber.whatever.com -> xx.xx.xx.xx
In our router configuration we have subscriber.whatever.com forwarding to our CentOS linux development box. it's forwarding to the internal network IP address 10.xx.xx.xx
However we want the box to redirect someone when they come in on subscriber.whatever.com... We basically want it to redirect them to subscriber.whatever.com:port/folder/
Preferably masked so that all someone would see is subscriber.whatever.com but they're actually at subscriber.whatever.com:port/folder/
Unfortunately network solutions's setup won't allow us to easily do this so we have to do it somehow locally.
Anyone have any suggestions? I've got this working on the box itself (if you goto the site on the box via gnome) however externally or on another system on our internal network it's a no go.
We have a website hosted with 1and1 Internet and want to keep it like that with its current domain name www.companyname.com
However we have registered a new domain name with 123-Reg, which is company.uk.com, because 1and1 Internet dont allow you to register .uk.com domains
We want to switch to using the .uk.com domain as the main domain but keep the website with 1and1.
Is there a search engine friendly and invisible way of using the uk.com domain by somehow redirecting visitors, without the domain name switching visibly in the browser?
I am having an issue with one of our sites sitting behind an alteon load balancer. Basically, when people try to checkout from a store it redirects to https. Well, this gets stuck in a loop and never responds. If you go to https directly it works fine till you try and check out.
Flow is like this 443->loadbalancer->81 apache web server.
Anyway, I think it has something to do with the session getting lost. I've read some on proxying but I am not sure how to get it working.
My site prime357 . org is being unexpectedly, from time to time, re-directed to my host's site DrupalValueHosting.com.
It has now been a few weeks and this problem still remains. I have not set up any purpose re-direction to my host site. My .htaccess file has no reference to my host site.
My host, the other day, suggested that I change my site, temporarily, to prime357.net, whilst he (the host) works on the problem as to why prime357.org is directing to the host site.
Re-direction to my host site is still occurring.
I established that a few hours ago that someone did a whois on prime357 . org hours earlier and the IP resolved to 67.228.128.242 (which is my host's site). I did the same lookup and the IP resolved to 67.228.230.119 (which seemingly, is correct, is my site).
This problem is an intermittent problem and is happening to other customers of DVH.
I can't physically check or make adjustments (at least I think I can't). What solutions or what process would one go through to track down this type of problem. Is this a common mis-configuration type problem though I haven't come across it before.
I am using joomla and a script called Olate Download for my site. So I have made olate to display in a joomla wrapper.
what i want to know is how to redirect the olate pages to the joomla wrapper. the pages when indexed in google etc are linked directly to the olate without the wrapper. so what i would like to do is redirect all the incoming olate links to the joomla wrapper ( i understand it will be same page) but also want the search engines to index the olate pages without any problems.
i think this can be done using htaccess. so someone please tell me how to create such a rule. it should redirect all the users which is not reffered from my site to the joomla wrapper except search engine spiders.
Currently I have DNS as well as IIS configured on the same server. I am using host headers to seperate the sites on IIS. My question is how do I link my DNS to the website residing on IIS? My DNS server set (I can ping it from the internet) and I think I have IIS configured right, but I must be missing something?
With new installation of WordPress, I started Permalinks as "/%year%/%monthnum%/%day%/%postname%/", but now I've decided to change it to "/%postname%/"
Existing URLs Code: [url] New URLs Code: [url]
but I don't want to break existing URL, so I decided to have a new rule defined to do this, here is how my .htaccess currently look...
I've been asked to find a way to host our intranet externally without opening up the network.
The webserver accessible to the public domain is within an dmz. The intranet I need to serve is within our internal network.
I've managed to convince our network admin to open port 80 on the server running the intranet but I can't seem to find a way to proxy the content from the intranet server, through the webserver and to the user.
Our servers has been updated recently and my site is not working properly. It was working before the server change. When I click on the links, it doesn't update correctly, instead it gets the last cached data. I have to refresh each link for it to update which shouldn't be the case. I'm a front-end and have no access to servers. Could this be server-related?
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?