How to 301 redirect, without access to .htaccess and to a new domain
-
There are few ways to do this and I would like to ask other Mozzers if they have found the best way.
We have a site .co.uk and are moving it back to .com. However we do not have any access to the site folders for .co.uk. (We have to move it anyway as our provider is withdrawing their service).
We have built our URL 301 redirect file and it is ready to go, but how to impliment it?
We can repoint .co.uk to another site, and then redirect all traffic for each URL but this is quite messy, or just forget trying to 301 each page and just rediect the whole site.
the .com has more authority already, but we ready do not want to frustrate visitors who are using a link to reach a product, only to find they hit our homepage and not the product.Your thoughts would be very welcome or other ideas
Bruce
-
Hi Andy
No, it is a Webstore site. We have no access to code or to the site folders, so we cannot do anything at all with the current .co.uk site at all, but repoint it and then 301 the pages we had.
-
Quick question Bruce - is the site built in Wordpress? If so, there are 301 plugins that you can use that are very simple to use. If you have access to the domain control panel, you can setup forwarding through that as well, but that is just for the domain. You would need to check with your hosts though, and make sure it's a 301 - it should be.
As already mentioned by Hector, don't redirect all pages to just the root though. This is bad practice and would certainly land you in trouble.
-Andy
-
If you don't have access to .htacess, but you have access to your own code, you still can execute the redirection via PHP, with this code:
header("HTTP/1.1 301 Moved Permanently"); header("Location: http://www.yournewwebsite.com/yournewdocumenturl"); ?>
I would try whatever possible to redirect individual pages and not the whole site to the root domain, not just for the visitors but also for transfering your rankings to the new URLs for each page.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
How google treats my two different domains with the same content ?
I have two internet stores for two different markets but in the same language (English), the same content and the same url (only domains different). They are in different servers one in USA another in UK. Example: sample.com (global) and sample.uk (for UK).
On-Page Optimization | | VaidasLinen
Currently sample.com (7 years old) is doing better but not very very well, sample.uk (2 years old) is rated poorly. My question is if it's possible that google will rank both stores well in the future ? Thanks Vaidas0 -
Can we rank website without main keywords on its homepage?
For example my company website on Google Search Engine... Web Design Company & Digital Agency in Jakarta
On-Page Optimization | | Japracool
coriate.com/
Coriate is a website design & Internet marketing firm in Indonesia. We offer the best web solutions, digital advertising, and SEO Services in the industry. Can I do backlink to it, but different keywords? Like Social Media Management or Facebook Like?0 -
Unique Geo-targeted domains v. simple landing pages
I have a client with multiple locations in a central area. Is it better to purchase unique geo-targeted domains i.g. DowntownTopekaPlumber.com and MidtownTopekaPlumber.com and create area specific splash pages with links back to the main site -OR - is it better to simply create landing pages on the main domain - www.GoodGuyPlumbing.com/DownttownTopekaPlumber?
On-Page Optimization | | SearchParty0 -
Why Isnt My New Article Indexed?
I posted this article last night: http://www.londontri.com/325/tomtom-runner-gps-watch-review It didn't appear in Google's index this morning despite me pointing a few high quality links to it (not keyword optimized links, just links from high quality forum posts) On closer examination I thought that the problem could be due to a keyword stuffing penalty so I have made sure that I am not repeating too many words/word combinations using a keyword density checker but the article is still not indexed. Any ideas what could be going on?
On-Page Optimization | | ross88guy0 -
Optimization for allready indexed web without seo before
Hi, I have some questions. I have 2 Joomla web sites who needs seo optimization, but there are allready indexed in Google: 1/ Will rel=canonical fix the problem for duplicated content for allready indexed pages? I have read different solutions but I haven't tested them all. I puted rel=canonical on the first web site that I started to optimize, but Google WMT shows me very small or not at all decreasing of duplicated content. Would it need more time? 2/How can I show search engines to craw and change the cache for a page that is allready indexed faster than 1-2 months? 3/ What is your opinion and experience? With done changes for one website for a low competition keyword /the web site was not optimized for search engines before/ how much time will it take usually for Google to see the changes made and change the ranking for some keyword?
On-Page Optimization | | vladokan0 -
The best way to redirect to www
What is the best way to redirect non www to www. I saw a lot of the solution. is this one ok? RewriteCond %{HTTP_HOST} !^www.seomoz.org [NC] RewriteRule (.*) http://www.seomoz.org/$1 [L,R=301]
On-Page Optimization | | bruki0 -
Hyphens in Domain Name
I have a client who is a business broker. I have just begun working with them, and they are trying to determine the best domain name to use - they have several. business-broker-alabama.com vs businessbrokeralabama.com Which one of these has more value? I know that search engines have somewhat devalued keywords. The first one probably has a little more SEO value, but is going to be a drag in terms of marketing -- saying "business hyphen broker hyphen alabama" is going to get old for them. Thanks!
On-Page Optimization | | csmithal0 -
Setting up a domain for a future site
Hi there, That may be a bit of a silly question to ask, but we've setup a new domain for an existing site. While the site is in the making, the site owners wants to already start promoting the new URL on stationeries etc. Hence, we need to setup the new URL so that it forwards to the site, but so that Google doesn't give it the history of a secondary (less important) domain. What is the best way to do this? Currently we've put in a 301 redirect, but will that bear no future consequences on the SEO of the site, when the site is moved to this new domain, and the old domain is 301 redirected. Thanks, SEOeclipse
On-Page Optimization | | Bozboz0