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
-
Worth redirecting old blog posts into pages?
I'm working on a site that has some blog posts from 2011 - 2013 ranking on the first page for relevant terms. I'm going through and updating some of the content, internal links, etc., and wanted to know if it's worth redirecting some of these blog posts into new pages (in WordPress). Right now, the blog post URLs are long - exampleURL.com/2011/3/9/blog-post-title/ and the dates show up in the SERPs. I'd like to have the date removed so that the content doesn't look outdated, and I'd also like to have cleaner URLs. In your opinion, is it worth creating new pages and redirecting the old blog posts, or is the benefit of doing this not worth the effort? Thanks!
On-Page Optimization | | dchristensen30 -
Will Google penalise me for duplicating my own website on a new domain?
Hi guys, Currently, we are using Magento Enterprise to run two separate ecommerce websites, for arguments sake lets say these two websites are ElectronicsX.com and electronicsY.co.uk. ElectronicsX.com isn't doing too well, it has little traffic, makes next to nothing each month and is just a waste of resources. ElectronicsY.co.uk on the other hand is getting 30,000 unique visits every month and is over exceeding every month in terms of revenue in sales. At the moment, the only traffic we get from Europe tends to be the odd "word of mouth" customer and English customers who have emigrated to Europe but still like to use English companies. We can't rank on Google FR or ES or anything like that because the website we have "electronicsY" is on a .co.uk TLD (a GeoTLD). So what we want to do is take ALL the content from electronicsY.co.uk and place it on electronicsX.com so that we can start targeting Europe and ranking in the serps internationally. What sort of effect will that have in terms of penalisation from Google? Or because the websites are on the same C block, would it have any effect at all? Thanks guys Tom
On-Page Optimization | | tomhall900 -
Missing new pages in Search
Hi, We are on wordpress platform with category permalink structure site.com/category/categoryname. To pull in more SEO traffic, we created pages with structure site.com/categorynameand pulled in all the content from category pages to these new pages followed by applying no-follow on category pages within robots.txt. While it has been a week we applied these changes, we still see old category pages on google search with weird description ( A description for this result is not available because of this site's robots.txt... ) How could we make search results to replace old categories links with the new pages? thanks in advance
On-Page Optimization | | COEDMediaGroup0 -
301 Redirect to mobile site effecting rankings
On my site I redirect users when on a mobile device to be redirected to my mobile version of my site. In the last couple weeks I added that redirect in my htaccess file. I just realized today that I am doing a 301 redirect. In the last few weeks my ranking have gotten lower. I am starting to think that because of the redirect my mobile site is not as optimized as my regular site and therefor is effecting my rankings. My question is how can I redirect my users to my mobile site but not use a 301 AND how do I get google to use my main site content for ranking on the mobile side. I want to go back to getting my search rankings on the mobile side using my main sites content. Can I simply remove the 301 on the redirect? Hope that makes sense.
On-Page Optimization | | cbielich0 -
New website launch - Dupilicate content question
Hi, We are going to be launching a US version of our UK E-commerce web store. The US version will be a standalone site, separate URL/hosting etc. My question is that the US website will carry the same products as the UK site - will the product copy have to be written differently for the US website in order to avoid any SEO duplicate copy? Thanks
On-Page Optimization | | WalesDragon0 -
Create a new page or try to improve rankings for homepage
I'm working with a client attempting that competes in the highly competitive anti-virus market with a very limited marketing budget. They are currently ranking well for only a few terms - one is "Free Antivirus trial" - currently position 11 on Google. The top ranking sites have a page SEO'ed for this term. My client's SERP is their homepage, seemingly based primarily on the meta description tag. For SEO and PPC purposes I would like to create a new page specifically for the "Free Antivirus trial" but I'm afraid of messing with the second page listing that currently exists. My question for SEO folks is... Should I create a new, properly SEO'd page or attempt to improve the home page ranking?
On-Page Optimization | | DenverKelly0 -
Brand Name URL Redirecting to Actual URL
So we have already built a site under a parent company's URL: parentcompany.com And now we have their branded product lines in directories: parentcompany.com/brand-name1, and parentcompany.com/brand-name2 We also own the actual URL Brand Name 1 (which is also the exact description of the product): brandname1.com We do not yet own the URL for Brand Name 2 (which is also the exact description of the product): brandname2.com. This is because a squatter is sitting on it and is asking $10,000+ for it. What we are trying to determine is how valuable these brand name URLs are since they will be redirecting and not the actual site's primary domain name. Anybody know how much of an effect owning those and redirecting has on ranking for those brand names that are also very descriptive of the products? Would we be smarter to spend $10,000 on adwords or 10,000 on the domain? Thanks!
On-Page Optimization | | grayloon1 -
Domain Extension
I am creating a website in canada to target a specific region in my city and was wondering if i should USE a .com, .ca, .org or a .info extension? i can purchaes all, but which should be used? I noticed some other websites have .org or .info instead of .com.....what is the preferred extension for Google?
On-Page Optimization | | Souk0