I have a domain with GoDaddy called "livingmiracles.org". For years I had this domain forwarding to my livingmiraclescenter.org Joomla website. Recently, I discovered that the way the livingmiracles.org domain now forwards to our livingmiraclescenter.org site has changed and has left me with broken links on almost all of the over 60 websites I manage.
This is what used to happen:
Any URL of the livingmiraclescenter.org website would be able to be displayed with the livingmiracles.org domain instead. For example, the following URLs were interchangeable:
livingmiraclescenter.org/david-hoffmeister.html and
livingmiracles.org/david-hoffmeister.html
livingmiraclescenter.org/contact.html and
livingmiracles.org/contact.html
livingmiraclescenter.org/spiri-tv.html and
livingmiracles.org/spiri-tv.html
Also, variations of the above without ".html" would work.
Now, none of this works anymore. For the "livingmiracles.org/" links above, now, either the livingmiraclescenter.org home page pulls up or I get a GoDaddy error page.
I called GoDaddy and they confirmed a change in the way they handle domain forwarding now.
Can anyone suggest a simple/smart way—perhaps a RewriteRule or something like that—that I can set up somewhere (where?) to handle those specific page redirects? Basically, I want all my livingmiraclescenter.org links to be interchangeable with livingmiracles.org links like I wrote above in those examples.
Thank you so much!
Jutta
Related
Both domains were purchased through network solutions. The old host won't exist anymore, so I can't rely on them to serve the htaccess redirects. I can point the nameservers to the new host, but then what? None of my redirect code seems to be working. Any help is much appreciated.
Ex:
olddomain.com > newdomain.com
olddomain.com/hello > newdomain.com/goodbye
olddomain.com/123 > newdomain.com/456
You probably want to do something similar to this: .htaccess RewriteRule: two domains using same server and directory
Having that said, in most cases a static html page saying "This page has moved. Link to new page: ..." is preferred above .htaccess redirects, because people browsing your webpage will then update their bookmarks to the new URL, which they will not otherwise.
i have this problem where i have a subdomain sub.host.com and a new domain www.new.com. I want to redirect www.new.com to sub.host.com without showing the browser that the url had changed. The content is in sub.host.com but i want that even after the page has fully loaded, it is still showing www.new.com
This means also that when i go to sub.host.com/function, it should also appear as www.new.com/function
The reason is the actual subdomain looks ugly and contains numerics. Is this possible to do? Ive tried searching but all that comes up are only about how to go about creating cname records and none about keeping it intact after redirecting. Thanks
A (reverse proxy) server like Nginx, which is very light-weight, features the url-rewrite rules that you need. IIS7 has also a good url-rewrite engine.
I have a Hosting in Hostgator with the domain http://vector5.eu set as principal. Also, I have a Joomla installed here: http://vector5.eu/responcat.
Then there is a domain (which I don't belong, belongs to another company): http://respon.cat. This domain have this redirection pointing to my Joomla:
http://respon.cat/newsletter --> http://vector5.eu/responcat
My problem is that this Joomla is not autogenerating the links with the domain http://respon.cat, instead they are generated with the domain http://vector5.eu.
This is an example of one link on the webpage: http://vector5.eu/responcat/index.php/newsletter-en-catala
I've tried almost everything with no luck. Any ideas?
Thanks!
A domainname that I do not own, is redirecting to my domain. I don´t know who owns it and why it is redirecting to my domain.
This domain however is showing up in Googles search results. When doing a whois it also returns this message:
"Domain:http://[baddomain].com webserver returns 307 Temporary Redirect"
Since I do not own this domain I cannot set a 301 redirect, or disable it. When clicking the baddomain in Google it shows the content of my website but the baddomain.com stays visible in the URL bar.
My question is: How can I stop Google from indexing and showing this bad domain in the search results and only show my website instead?
Thanks.
Some thoughts:
You cannot directly stop Google from indexing other sites, but what you could do is add the cannonical tag to your pages so Google can see that the original content is located on your domain and not "bad domain".
For example check out : https://support.google.com/webmasters/answer/139394?hl=en
Other actions can be taken SEO wise if the 'baddomain' is outscoring you in the search rankings, because then it sounds like your site could use some optimizing.
The better your site and domain rank in the SERPs, the less likely it is that people will see the scraped content and 'baddomain'.
You could however also look at the referrer for the request and if it is 'bad domain' you should be able to do a redirect to your own domain, change content etc, because the code is being run from your own server.
But that might be more trouble than it's worth as you'd need to investigate how the 'baddomain' is doing things and code accordingly. (properly iframe or similar from what you describe, but that can still be circumvented using scripts).
Depending on what country you and 'baddomain' are located in, there are also legal actions. So called DMCA complaints. This however can also be quite a task, and well - it's often not worth it because a new domain will just pop up.
I have recently done some website work for a charity. The site I have built has been hosted on my own domain, in a directory. The site's address is www.mydomain.com/newsite/
The organisation has purchased their own URL and would like that URL to point to my hosted site such that the user goes to www.Charity.org and is shown the content from www.mydomain.com/newsite/
I've partially achieved what I wanted to do by using a 302 redirect and a frame, which I set up through the control panel for www.Charity.org, however this has the disadvantage of never displaying anything other than www.Charity.org in the address bar.
Essentially I would like to "mask" the mydomain URL with the charity one, so that the folder structure is still visible to the end user. If they go to www.charity.org/events then that's what they should see in their browser, but the content should map to www.mydomain.com/newsite/events
I have explored CNAME and A NAME solutions but neither of these seem to allow me to point to a directory.
Is this even possible?
The solution is A NAME record.
In DNS zone file of charity.org, create A NAME record of www (& #) to point to your server IP (where the website live).
On server, you'll have to set DocumentRoot for www.Charity.org host. DocumentRoot must be the directory in which default webpage (index.htm, index.php etc) live. Done!
Provide your web server details if you need further help about setting DocumentRoot.
This can also be done with CNAME, but it'll require more complex server side configurations. And, I don't recommend to use masked web forwarding because its not SEO friendly and universally compatible.