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
-
Redirect 301 still works?
Hi, yesterday a friend said that 301 redirects does not transfer your page rank or domain autorithy anymore. I could'nt find anything in internet saying it, but I decided to ask you guys, since I think you are very reliable. so, 301 redirects wroks for transfer page rank, and i can create better domains and transfer everything, or this strategy is gone forever now?
Intermediate & Advanced SEO | | chablau0 -
301 redirects cross domains
Hi Moz Community. We have a client that has Website A and Website B. Website A is going to be replaced by Website C, a new website and brand. Some products sold on Website A are going to be split out to Website B & C. i.e. Say Website A sells eight products - then four will go to Website B and four to Website C. OUR QUESTION Technically we know we can 301 redirect the Website A products to the relevant Website B & Website C products. 1. Given this convoluted structure, will there be any negative ramifications for SEO? and; 2. Which website would you redirect the homepage to, B or C?
Intermediate & Advanced SEO | | WCR0 -
To Redirect or Not
I have a strange situation and looking for advice on how well a permanent redirect of url will work. I have an eCommerce site called twpstain.com. This site sells TWP Deck stain and the URL/Content is fully owned by me. We do not however own the TWP brand and have always operated with permission from the manufacturer as an Authorized dealer. Circumstance have come up where they now want to be in control of all URLS that have the name "TWP" in them. Not sure if they legally can do this but they can cut me off with product if I do not comply. My options are: 1. A permanent redirect of entire site to new URL that does not have the word "TWP" in the url. 2. Give them the URL but they are willing to have me use the URL as I have in the past. A contract for this would be drawn up to cover me for years to come and possibly offer compensation if they decide not to renew. My concerns are numerous but the question for the Moz community is to how well the 301 redirect will work and will I lose my rankings? I currently dominate the rankings for my site and I very concerned that there will be major loss of sales and traffic. Any help or opinions on this would be much appreciated.
Intermediate & Advanced SEO | | dogtopiamichigan0 -
For how long does Google honor a 302 redirect?
Greetings! I would love some recent experiences to support our experience which is +/- 1 year old on this question. Based on our experiences around a year ago, I believe that Google will only honor a 302 temporary redirect for a relatively short period - perhaps up to a month - and then it will begin treating the redirect as a 301 redirect and will remove the old page from the index. Have others seen this? Is there an update on what the max "safe" period to have a 302 in place could be? We have a domain that is soon to experience about 3 months of "downtime" with no content on it, but the content will be back after that time. Ideally we would 302 redirect the pages elsewhere just for that downtime period. However, I don't want to do a 302 redirect if there is a risk that the pages will lose all of their accumulated authority and indexing. Basically, is there any safe way to just put the domain on ice for a few months? Please share recent experience only. Thanks for your insights!
Intermediate & Advanced SEO | | g-s-m0 -
Magento Help - Server Reset
Good Morning, After rebooting a server, a magento based website reset itself going back to December 2013. All changes to the site and orders dating up until yesterday (6/19/14) have disappeared. There are several folders on the root of the server that have files with yesterday's date but we don't know how to bring everything back and restore. Any Magento or server experts out there ever face this issue or have any ideas or potential solutions? Thanks
Intermediate & Advanced SEO | | Prime850 -
Urgent Site Migration Help: 301 redirect from legacy to new if legacy pages are NOT indexed but have links and domain/page authority of 50+?
Sorry for the long title, but that's the whole question. Notes: New site is on same domain but URLs will change because URL structure was horrible Old site has awful SEO. Like real bad. Canonical tags point to dev. subdomain (which is still accessible and has robots.txt, so the end result is old site IS NOT INDEXED by Google) Old site has links and domain/page authority north of 50. I suspect some shady links but there have to be good links as well My guess is that since that are likely incoming links that are legitimate, I should still attempt to use 301s to the versions of the pages on the new site (note: the content on the new site will be different, but in general it'll be about the same thing as the old page, just much improved and more relevant). So yeah, I guess that's it. Even thought the old site's pages are not indexed, if the new site is set up properly, the 301s won't pass along the 'non-indexed' status, correct? Thanks in advance for any quick answers!
Intermediate & Advanced SEO | | JDMcNamara0 -
Google +one button - help needed
I have installed Google plus button on my homepage. My GA report is being displayed like this - 7 total events were recorded Total Events Unique Events 7 2 Event action Total Events on 4 off 3 My questions are - 1 ) Is someone clicking on Google plus button considered an Event ? 2 ) What is meant by 2 Unique Events 3 ) Why does GA report shows on 4 and off 3
Intermediate & Advanced SEO | | seoug_20050 -
Redirecting multiple websites to a single website
I've been trying to run several truck accessory affiliate websites for a quite a while now. I've recently decided to combine all of my affiliate websites into a single community website. This way I'll be able to focus all my energy and link building into a single place and build up a single brand. My question is, how many websites do I try to redirect to the new website at a time? Do I need to spread this out? Or is it ok if I move all of my content and websites at a single time? I have around 30 websites that I could move to this new domain. Thanks! Andy
Intermediate & Advanced SEO | | daenterpri0