Redirect help
-
I work for a company that has a domain that is something like www.neat-stuff.com but most people just use www.neatstuff.com without the dash. The redirect for the homepage works fine.
We recently launched a new site and if you use www.neat-stuff.com/category it redirects from the old site to the new site just fine.
However if you use www.neatstuff.com/category it does not properly redirect to www.neat-stuff.com/category.
How do I fix that?
-
That is exactly what we ended up doing thanks for your help.
After site launch a few months ago we lost a lot of organic traffic. Think this will bring some of it back?
-
As long as all your redirects are already working on the new site, you should be fine.
Look into the article I posted above. You essentially need to create a dummy non-www website in IIS that redirects to the new site. Right now you probably just have both the www and non-www versions declared in the host header of the new site.
-
Couple of things. We have 20k pages or so. Individually redirecting that much would be a pain.
After working with some people we now have it to where www.neat-stuff.com/235425243 category on the new site redirects to www.neat-stuff.com/category on the new site correctly. Same thing with neatstuff.com/4544564 to www.neatstuff.com/category on the new site. Shouldn't it be to one?
For the home page both www.neatstuff.com and www.neat-stuff.com work but there is no redirect. When I run a checker it says direct link. I think we are being shown as a duplicate site.
-
You'll have to put individual redirects in place if you want a specific old directory to redirect to a specific new directory. You can set those up in IIS on the www.neat-stuff.com website.
Then, if you append the $S$Q to the root of the neat-stuff.com (non-www) website, it should all work fine.
This writeup was helpful for me when I learned to set this up.
http://www.stronghost.co.uk/Redirecting-non-www-domain-to-www-domain/B23.htm
-
On our old site the categories were /52352524 and one of the things we did on the new site was actually give them names so it is now /category WIll that still work with that?
Wanted to add that most of our current redirects are done dynamically because we use asp.net so if you go to category 34234 it will take you to the correct /category through a 301 redirect.
-
in IIS for the redirecting website (neat-stuff.com) use this as the Redirect To url:
that'll redirect all directories and files as well.
-
It is hosted on a Windows server. Do you have a similar fix for IIS?
-
It is hosted on an IIS Windows server
-
Not tested and I'm very sleepy this Friday afternoon, but the below should fix it.
NB, this will also redirect any subdomains.
RewriteEngine On RewriteCond %{HTTP_HOST} ^neatstuff.com$ [OR] RewriteCond %{HTTP_HOST} ^www.neatstuff.com$
RewriteRule (.*)$ http://www.neat-stuff.com/$1 [R=301,L]EDIT
As per JP above, this is a solution using .htaccess. If you're on a Windows server you'll need to use IIS. The below might help
<match url="(.*)"></match>
<add input="{HTTP_HOST}" pattern="^neatstuff.com$"></add> <action type="Redirect" url="http://www.neat-stuff.com/{R:1}}" redirecttype="Permanent"></action>But again, I'm sleepy, so test things first
-
I think it would depend. Where is your website hosted? On what type of server? There would be a different method for achieving this via Cpanel on a linux server than there would via IIS on a Windows server. etc.
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
-
Should I do a redirect
Hello, I am building a new website with a new web address for subpages. The domain name stays the same. I am wondering if I should do redirect to the few pages that have an outside link going to them. I noticed all my subpage that don't have any external link have an authority of 18. I only have 1 subpage that has 2 external links and 1 of them has a spam score of 32 and then other one of 1. My website is about a 100 pages. What should I do for my subpages redirect , not redirect, redirect only the ones that have external links ? Thank you,
Intermediate & Advanced SEO | | seoanalytics0 -
301 redirection help needed!
Hi all, So if we used to have a domain (let's say olddomain.com) and we had a new site created at newdomain.com how do we properly setup redirects page to page. Caveat, the urls have changed so for instance the old page oldomain.com/service is now newdomain.com/our-services on the new site. Do we need to have hosting on the old site? Do we need to setup individual 301s for each page corresponding to the new page? Just looking for the easiest way to do this CORRECTLY. Thanks, Ricky
Intermediate & Advanced SEO | | RickyShockley3 -
Several 301 Redirects to Same Page
Hi, I have 3 Pages we won't use anymore in our website. Let's call them url A, url B and url C. To keep their SEO strength on our domain, I've though about redirecting all of them to url D. For what I understand, when 301 redirecting, about 85-90% of the link SEO juice is passed. Then, if I redirect 3 URLs to the same page... does url D receive all the link SEO juices for URLs added up? (approximately)
Intermediate & Advanced SEO | | viatrading1
e.g. future url D juice = 100% current url D juice + 85% url A juice + 85% url B juice + 85% url C juice Is this the best practice, or is there a better way? Cheers,0 -
Redirect HTTP to HTTPS
Hello, Simple question - Should we be redirecting our HTTP pages to HTTPS? If yes, why, if not, why? Thanks!
Intermediate & Advanced SEO | | HB170 -
Redirect to url with parameter
I have a wiki (wiki 1) where many of the pages are well index in google. Because of a product change I had to create a new wiki (wiki 2) for the new version of my product. Now that most of my customers are using the new version of my product I like to redirect the user from wiki 1 to wiki 2. An example of a redirect could be from wiki1.website.com/how_to_build_kitchen to wiki2.website.com/how_to_build_kitchen. Because of a technical issue the url I redirect to, needs to have a parameter like "?" so the example will be wiki2.website.com/how_to_build_kitchen? Will the search engines see it as I have two pages with same content?
Intermediate & Advanced SEO | | Debitoor
wiki2.website.com/how_to_build_kitchen
and
wiki2.website.com/how_to_build_kitchen? And will the SEO juice from wiki1.website.com/how_to_build_kitchen be transfered to wiki2.website.com/how_to_build_kitchen?0 -
Implementing Large-Scale Redirects
Hello All, I have a situation with my site where a vendor created a local directory of locations on a sub-domain of my site. This sub-domain has approximately 2000 pages. It is a PR3 and a good backlink profile (not many links. Mostly citations. Not spammed). It get decent traffic but 80% of the traffic is driven by ppc. We have created a new local section on the main page of our website and we are trying to weigh the benefit of redirecting all of those pages on the old sub-domain. We anticipate that this new section will begin to replace the old sub-domain in serps. Additionally, when our deal with the company that manages this sub-domain ends in three months, the pages will no longer exist. Is it worth redirecting the pages (you might need more information to give good insight into that)? Also, if we do implement approx. 2000 redirects, what effect will that have on the main site from an SEO perspective. Is it possible that Google might ignore this large scale redirect effort? Will the value also be limited by the fact the redirect might only be live for a month before the original pages are deleted? Any help/insight with this would be greatly appreciated. Thanks!
Intermediate & Advanced SEO | | ResponseMine0 -
Whats Next, noobie needs some help :)
Hey Everyone, I have been a member of SEOMOZ for about 4 months and love it, it really has helped me out. my first website I am trying to get well ranked in the new zealand market is www.shopezy.co.nz I have chosen: sell online free ecommerce website ecommerce website builder Are paid links the way forward for me? should I aim for more keywords? should I pay for help? Just looking for a lttle direction, if someone could help. thanks.
Intermediate & Advanced SEO | | bonmaklad0 -
Not allowing me 301 Redirect
I am trying redirect my old site to my new site, both on the same domain. For one reason or another, I am having a hard time redirecting the some of the old urls to the new site. Please let me know how I can fix this issue. Below are the following old urls that are not allowing me to redirect: <colgroup><col width="636"></colgroup>
Intermediate & Advanced SEO | | Melia
| http://www.meliacaribetropical.com/press/melia-caribe-tropical-announces-fall-promotion.html |
| http://www.meliacaribetropical.com/press/melia-international-brand-overhaul.html |
| http://www.meliacaribetropical.com/spanish/accommodations/ |
| http://www.meliacaribetropical.com/spanish/dining/ |
| http://www.meliacaribetropical.com/spanish/entertainment/ |
| http://www.meliacaribetropical.com/spanish/events/ |
| http://www.meliacaribetropical.com/spanish/flintstones/ |
| http://www.meliacaribetropical.com/spanish/gallery/ |
| http://www.meliacaribetropical.com/spanish/gallery/beach.html |
| http://www.meliacaribetropical.com/spanish/gallery/dining.html |
| http://www.meliacaribetropical.com/spanish/gallery/pools.html |
| http://www.meliacaribetropical.com/spanish/press/ |
| http://www.meliacaribetropical.com/spanish/press/melia-caribe-tropical-announces-fall-promotion.html |
| http://www.meliacaribetropical.com/spanish/press/melia-international-brand-overhaul.html |0