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
-
301 Redirect from .html
Hi there, Following on from this post:
On-Page Optimization | | finelinewebsolutions
http://moz.com/community/q/help-with-duplicated-content Please could one confirm that using the following code in our htaccess file will stop the duplicated content issue we are having. RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^.]+.)+html?\ HTTP
RewriteRule (.+).html?$ http://www.bereavementstationery.co.uk/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^(.*)$ $1.html Kind Regards Alec0 -
Boatload of 301 Redirects Question
We have a client that came to us and they recently did a site makeover. Previously they had all their pages in root directory including 75+ spammy article pages. On their makeover, they moved all the article pages into a directory and added 301 redirects. In going over their site we noticed they have redundant articles, like an article on blue-marble-article.htm and blue-marbles-article.htm Playing on singular and plural with dulpicate content for most part with exception to making it plural. If they have 75 articles, Id say 1/3 are actually somewhat original content. I would like to 301 redirect 2/3's of the articles to better re-written article pages but that would add a whole lot more 301 redirects. We would then have a 301 redirect from root directory to article directory, then another 301 redirect from spam article to new re-written article. My question is, would this be too many redirects for googlebot to sort through and would it be too confusing or send bad signals? Or should I create a new directory with all good articles and just redirect the entire old articles directory to the new one? Or just delete the redirects and old spammy directory and let those fall on a 404 error page. Id hate to lose 50-75 pages but I think its in fact those spammy pages that could be why the site fell from top of first page google to third page and now 10th page in a years time. I know, Im confused just typing this out. Hope it makes sense for some good feedback and advise. Thanks.
On-Page Optimization | | anthonytjm0 -
Can you change meta description at any time without loosing rankings?
I'm wondering if it is possible to change the meta description of a page on your site at any time without it affecting rankings on google? Is it only changing how my SERP looks? Or could bad things happen to changing your meta description? Appreciate all opinions on this one, thank you guys!
On-Page Optimization | | danielpett0 -
Linking back to my domain but they dont show up
My back links are not working. I am linking them all back to my domain but they are not appearing? any help? Is it because of my anchor text ?
On-Page Optimization | | BlueCreations1120 -
Does anyone know of a Domain auction site that includes MOZ rankings?
Trying to locate a site that has this as part of the search criteria
On-Page Optimization | | hooopdream0 -
Transferring authority from one domain to another
My dilemma For example: If I have a website ranking at number 11 for (Keyword) and there is a site named www.(Keyword).com ranking at number 12 for (Keyword), if I were to buy this site and redirect to my own site, would this be at all beneficial? Any advice would be much appreciated!
On-Page Optimization | | CMoore850 -
New sitelinks - can we control the number?
A quick question on Google's new sitelink format. When searching for our brand name (Confetti) Google returns 8 sitelinks for our site. When searching for our domain (confetti.co.uk) Google returns the maximum number of 12 sitelinks. Is there a quick way (Webmaster Tools for example) to increase the number of sitelinks for our brand name to 12? Thanks,
On-Page Optimization | | Confetti_Wedding0 -
Use 301 redirects when deleting old products?
I'm removing old products (wines) from my site, and I've been using 301 redirects for each product page back to the winery page. My question is, am I using best practice? I want people who search for these now nonexistent products to go to the winery page where they will see what is now available. But does google approve? I've also tried leaving the product's page intact but saying that it is no longer available and putting a link in the text that points to the winery page. Which is better, in the eyes of the god google? Thanks!
On-Page Optimization | | JeanYates0