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 Removing Zombie pages effect on domain authority?
Hi. Recently I got a project (removing zombie pages here: https://www.alamto.com/ ) As you can see this site has about 20k indexed page on google and it seems I should remove about 6000 useless indexed page. does removing (Noindex) these pages affect on the site metrics? Which metrics would affected? and how? Thanks.
On-Page Optimization | | jafarfahi1 -
Backlink URL: With or Without WWW?
When it comes to backlinks. Does it matter with or without WWW? For example my website is without WWW and I backlink with WWW, will it still affect my website rank?
On-Page Optimization | | Japracool0 -
301 directs
How do i determine which of my pages have been indexed by Google? and if they haven't been indexed how is this achieved? Also how do I set up a 301 redirect?
On-Page Optimization | | Hardley1110 -
How can I maintain my website's authroity if I change the domain name?
I have 2 sites. Site A is doing well and growing, but has a low Domain Authority. Site B is older, has a higher authority but I want to retire it as the site's topic is well dated. Can I move all of my content on site A, to site B, change site B's name to Site A's name keep its higher authority and add all of the content and 301 redirect from site A to site B? Whew, Thanks for any thoughts, Jeff Strassman
On-Page Optimization | | biggieshaws0 -
Proper way to change keywords without losing ranking
Hello Everyone, The website I am working with offers service in two locations, lets say Service in City A and Service in City B. Those two cities, which are close by, are the main source of clients, so the owner asked me to concentrate on these terms. I did a decent job for a newbie and now we are on the first page of google closer to the top for these 2 terms. The problem that I am facing right now is that a) it hard to get that extra bit from onsite optimization when you optimizing for 2 different cities b) Customers may get confused which cities we focus on A or B? We have locations in both. c) Owner wants to expand services to additional cities. So I looked at how our competitor handling these time of problem and most of them have a page with titles like "Cities we serve" with links to the individual locations that are optimized for the specific city. That page usually includes paragraph or two about local history and then re-span description of their services. Is it a good practice to structure one's website like that if you are trying to target multiple locations? Should I re-target my home page to something less geographically specific and create separate pages for Cities A , B and the new locations? Would I lose ranking for terms service in city A & service in city B because of that Or should I leave my home page optimized for Cities A & B and just add new locations as separate pages? Thanks in advance for you insights.
On-Page Optimization | | SirMax0 -
Multi-language domain strategy crossroad
I've come to a crossroads with a multilingual domain strategy. Most of you know, Canada has two official languages; English & French. I'm trying to decide on two domain structures to handle languages: 1. Create sub-directory folders for both languages: www.sitename.ca/en/ www.sitename.ca/fr/ Take into account that all page names will be in their respective language. or 2. Create a single sub-directory folder for French only: www.sitename.ca www.sitename.ca/fr/ I'm leaning towards Option #2 because English is our target and want to give those pages more "weight" rather than pushing them down another level (flatter site structure for primary pages). Yes, I could also have all French pages at the root but I think having them a) in one sub-directory is easier to manage and b) SE (specifically Google) likes the division better for languages. I'm just not sure if there's a point to doing it for English too. Note: There'll be several hundred pages for each language. What's best practice (of course) and is there a difference if any....or was this just long winded for nothing? Thanks for any insights.
On-Page Optimization | | Bragg0 -
Subfolder v Root Domain for attaining ranking
Hi, We are working with a site that we can refer to as: www.clientsbrand.com.au It has a subsection of our clients services at www.clientsbrand.com.au/keyword The client has now decided that this subsection is in fact the most important thing they should be trying to rank for. A large amount of the content that is already existing under clientsbrand.com.au/topic1 /topic2 /topic3 etc would fit naturally under clientsbrand.com.au/keyword/topic1 etc The root domain is currently not ranking for the keyword they wish to target. I am planning on moving a lot of this content to the subfolder to try and boost that silo and get things going for that keyword. As long as we 301 the old URL's to their corresponding new position are there any issues any of you see with doing this? I am worried there may be some traps for young players I have not considered. Thanks in advance for any responses.
On-Page Optimization | | MrPaulB0