Can some brilliant mozzer out there teach a moron/newbie like me how to 301 redirect several URL's I have?
-
Okay -
I am a supermodel. I look pretty. My legs are amazing. My cheekbones are high. But when it comes to 301 redirects I am the ugliest supermodel on the block.
Crap, here is the truth: I am not even a supermodel. I am just a middle-aged, goofy looking dude who is a newbie to fixing websites.
I have inherited several sites from a friend and I have been helping by creating solid contextual links internally and externally for a while. But, when Roger the wondrous SEOMoz robot talks to me, he says, "oops, it looks like your foolish freak self has a site that has both a www. and a non-www, which can create competition for yourself."
What do I do when he says that?
I just whisper a "thank-you" but gently press the skip this step button and go on with my life because I do not know how to make my non-www.'s redirect into the www. sites...
Now, I have sort of asked this question on the site before, but I was answered by someone who does not understand my level of ignorance.
any use of the word canonical or just put this lfwjkshj.htp/php inside the left ear of your mom, does not tell me anything
so, is there any willing and kind soul who can walk me through redirecting several of my sites to their proper home - kind of like Carl Chubbs Weathers did for Happy Gilmore in that Academy Award winning classic?
Thanks for the help in advance
best,
dumbhead
-
THe logic i like to follow, is make sure all domain names point to the correct version. to make that plain rather than, if B then redirect to A, you should say if Not A then redirect to A
For linux servers put this in your htaccess
RewriteCond %{HTTP_HOST} !^www.mydomain.com$
RewriteRule (.*) "http://www.mydomain.com/$1" [R=301,L]for a windows server I have a tutorial here
http://thatsit.com.au/seo/tutorials/how-to-fix-canonical-domain-name-issues
-
I'm downloading the manuals for CMS made Easy right now, but they're taking a bit of time to download. If you use the FTP login information you have to make an FTP connection to your site, you should be able to see (you may have to enable viewing of hidden files) a file called .htaccess (yes, there's a period in front of the file). You can download that to your computer, open it in a text editor (like notepad), make the edits that eyepaq mentions, then upload it again. I'd first make a copy of the file in case you screw something up.
When the manuals download, I'll look through them to see if there's a setting within their program that makes this easier for you.
-
To be honest I would't spend to much time on this. I don't see it as a huge priority. It's nice to solve it but if it requaiers hiring someone or getting the extra mile ... is just not worth it.
The process is easy for someone with some technical background.
Google is kind of smart in understanding that your non www version is not really duplicate content with your www version so I would let it slide if it's to hard to get it done.
If you do want to change it, CMS made easy dosen't support the htaccess management via the web interface so it needs to be done the "hard way" and that means you need to have FTP data to your domain ( domains), an FTP client so you can login, download the htaccess file, edit it and upload it again. If all that is over the tech abilities that's fine - it dosen't mean you should get another job. It's all technical.
Some easy ways to get this done: find someone you trust with some tech skills to do that - it take sless the 10 min or get a freelancer via elance or whatever to do that (but make sure they have some really good feedbacks from past clients are you are about to send them full access to your site)
Dose it make sense ?
-
Thanks a lot for requesting clarification - These sites are built on CMS made easy.
One example is:
http://www.affordablestoragelubbock.com and http://affordablestoragelubbock.com
another is
http://www.aplussuperstorage.com and http://aplussuperstorage.com
I can give you like five others, but it is pretty much the same issue
many many thanks for what you can offer
and I am not sure whether or not I have access to the htaccess file - why?
because I am a dumbbell who cannot be trusted with much more than an x-box controller
-
Howdy!
I understand that some of this stuff can sound like gibberish if you don't understand what's going on. If you can tell us your site's URL that would help us out. If not, can you let us know if you're using something like Wordpress or Joomla? We can tailor our advice to you a bit better if we know more about your site. Just like it's easier to give instructions about changing your oil if we know what kind of car you have and we can tell you exactly what to look for, rather than giving more general information.
Keri
-
I'm no brilliant mozzer but hopfully can still help.
If you want to redirect all non-www requests to your site to the www version, all you need to do is add the following code to your .htaccess file:
`RewriteEngine On RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]`
This will redirect any requests to http://my-domain.com to http://www.my-domain.com.
That's of course if you have htaccess. if you are using a windows based platform the approach is a little different.
What is htaccess ?
http://www.htaccess-guide.com/
In short - a file on your root domain that you can dl edit with text pad if needed and upload back in the same place.
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
-
What's the best way to use redirects on a massive site consolidation
We are migrating 13 websites into a single new domain and with that we have certain pages that will be terminated or moved to a new folder path so we need custom 301 redirects built for these. However, we have a huge database of pages that will NOT be changing folder paths and it's way too many to write custom 301's for. One idea was to use domain forwarding or a wild card redirect so that all the pages would be redirected to their same folder path on the new URL. The problem this creates though is that we would then need to build the custom 301s for content that is moving to a new folder path, hence creating 2 redirects on these pages (one for the domain forwarding, and then a second for the custom 301 pointing to a new folder). Any ideas on a better solution to this?
Intermediate & Advanced SEO | | MJTrevens0 -
What's the best way to A/B test new version of your website having different URL structure?
Hi Mozzers, Hope you're doing good. Well, we have a website, up and running for a decent tenure with millions of pages indexed in search engines. We're planning to go live with a new version of it i.e a new experience for our users, some changes in site architecture which includes change in URL structure for existing URLs and introduction of some new URLs as well. Now, my question is, what's the best way to do a A/B test with the new version? We can't launch it for a part of users (say, we'll make it live for 50% of the users, an remaining 50% of the users will see old/existing site only) because the URL structure is changed now and bots will get confused if they start landing on different versions. Will this work if I reduce crawl rate to ZERO during this A/B tenure? How will this impact us from SEO perspective? How will those old to new 301 URL redirects will affect our users? Have you ever faced/handled this kind of scenario? If yes, please share how you handled this along with the impact. If this is something new to you, would love to know your recommendations before taking the final call on this. Note: We're taking care of all existing URLs, properly 301 redirecting them to their newer versions but there are some new URLs which are supported only on newer version (architectural changes I mentioned above), and these URLs aren't backward compatible, can't redirect them to a valid URL on old version.
Intermediate & Advanced SEO | | _nitman0 -
Domain.com/old-url to domain.com/new-url
HI, I have to change old url`s to new one, for the same domain and all landing pages will be the same: domain.com/old-url I have to change to: domain.com/new-url All together more than 70.000 url. What is best way to do that? should I use 301st redirect? is it possible to do in code or how? what could you please suggest? Thank you, Edgars
Intermediate & Advanced SEO | | Edzjus3330 -
SEO impact difference between a URL Rewrite and 301 redirect
Hi guys and girls! Just putting a new site live, we changed the URL from one thing to another and I created a 301 file redirecting the urls like for like. The developer installing it has created a different file with columns like: RewriteRule ^page/ http://www.site/page [R=301,L] RewriteRule ^/page/ http://www.site/page [R=301,L] What's the difference? The page redirects but is there a difference between the 301 redirect and this URL rewrite in terms of SEO and link value?
Intermediate & Advanced SEO | | shloy23-2945840 -
Which is better /section/ or section/index.php?
I have noticed that Google has started to simply link to /section/ as opposed to /section/index.php and I haven't changed any canonical tags etc. I have looked at my pages moz authority for the two /section/ = 28/100
Intermediate & Advanced SEO | | TimHolmes
/section/index.php = 42/100 How would I go about transferring the authority to /section/ from /section/index.php to hopefully help me in my organic serp positions etc. Any insight would be great 🐵0 -
Home page url 301 redirect suggestion
Hello, In our site we have already done 301 redirect from http:// to http://www. However, the home page links are still coming in 2 ways http://www.mycarhelpline.com/ http://www.mycarhelpline.com/index.php?option=com_newcar&view=search&Itemid=2 Need suggestion We have already use rel canonical is another 301 redirect to be used for maintaining the home page pr from seo point of view. Does google still takes both urls as separate url and finds duplicate content
Intermediate & Advanced SEO | | Modi0 -
301 redirect for ip address in SERPs
Hi, I've recently had the misfortune of my site's ip address being crawled and indexed by Google, which is causing some duplicate content issues. Due to the nature of the site we're not able to implement a canonical tag to fix this at present. Would a 301 redirect do the trick, and if so, could someone point me to what I'd need to add to our .htaccess file? Many thanks Chris
Intermediate & Advanced SEO | | ChrisHillfd0 -
How can I create a redirection on IIS?
Hi, I want to know how to create a server side 301 redirection on IIS7. I found on google the below details; IIS Redirect In internet services manager, right click on the file or folder you wish to redirect Select the radio titled "a redirection to a URL". Enter the redirection page Check "The exact url entered above" and the "A permanent redirection for this resource" Click on 'Apply' But couldn't find anything like that. Can anyone help me out. thanks & regards
Intermediate & Advanced SEO | | VipinLouka780