Which one should I be using 301 redirects
-
Hiya guys,
I have a little problem, not sure which one I should be using, for 301, be easy on me I've not dealt with this before.
So we have http://www.talknightlife.co.uk
and I've done redirects for http://talknightlife.co.uk to http://www.talknightlife.co.uk
host http://www.talknightlife.sheffieldspeedcameras.co.uk to http://www.talknightlife.co.uk
Because my website is purely a forum and in the canonical error from the optimisation tool is showing 301 canonical = http://www.talknightlife.co.uk/forum.php should I be redirecting that to http://www.talknightlife.co.uk or the other way round, or just leave it ? I'm a little confused
Cheers in advanced for your help guys
-
You have two options here:
1/ Leave it: You must have rel="canonical" href=" http://www.talknightlife.co.uk" >> it's ok
2/Redirect 301 redirect http://www.talknightlife.co.uk/forum.php to http://www.talknightlife.co.uk if you can't do it, redirect 301 http://www.talknightlife.co.uk to http://www.talknightlife.co.uk/forum.php
(2) better then (1) - My opinion
Add this to your htaccess:
RewriteEngine on
# forum.php to /
*RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.forum.php\ HTTP/** RewriteRule ^(.*)forum.php$ /$1 [R=301,L]**
It's work for me !
-
thats my solution too, but when I do the 301 direct on the /forum.php it doesn't work,
then again I'm confused, should i be doing the 301 on my domain host provider? my server provider? or via Vbseo on Vbulletin
any more answers would be much appreciated guys
Cheers Luke
-
I understand your confusion. Here's how I would look at it. It seems clear you want your main authority home page to be : http://www.talknightlife.co.uk
Make your canonical on all pages in question point to that URL: http://www.talknightlife.co.uk
Then, 301 redirect http://www.talknightlife.co.uk/forum.php to http://www.talknightlife.co.uk
I'm not a technical SEO guru so I am interested to know if anyone else has different advice. But this seem to make common sense to me.
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
-
We setup a new Google Analytics account for the new domain but the old one is still there
Hi, Our company has changed their domain almost a year ago and after the migration, they created a new Google Analytics account rather than changing the address on the existing GA account. Now I can still see that Google indexing the old domain. Just wanted to ask if we can still tell Google that we've changed the domain on the old one? Or, should we just go ahead and use the new one and delete the old one? Very confusing, but our traffic is constantly dropping although we rank for on the first page for tracked keywords, just want to understand if there is a connection between the organic traffic droppings and not telling Google we've changed the domain. Thanks! NJt7vbJ
Reporting & Analytics | | Lucidica0 -
Site Hacked: Is it Faster and Better to 301 or 404 Irrelevant URLs?
Hey Everyone, So our site was hacked which created a large amount of irrelevant URLs on our domain; resulting in thousands of 404 errors and pages coming up for searches unrelated to our brand. The question is now that the issues have been resolved (and site re-submitted) would it be quicker (and more ideal) to redirect important 404 errors that see traffic, have links…etc. although not relevant or just let everything 404 out? We’re not as concerned with offering a relevant user experience because these are not in our demographic but want to avoid these pages convoluting our analytics as well as issues that might arise from Google thinking these topics do apply. Any help or insight would be very appreciated. Please let us know if you have any questions, concerns or we could provide further details that might help. Looking forward to hearing from all of you! Thanks in advance. Best,
Reporting & Analytics | | Ben-R0 -
GA Event: to use this feature visit: EVENT-TRACKING.COM
Hi guys, Two days ago our Google Analytics Event tracker began to show this Event/Label, etc. I cannot find its source. Anybody knows what is this about? Thanks for your answers. Ana
Reporting & Analytics | | anagentile1 -
How many ways to use Event in Google Tag Manager for Event Tracking?
Hello Experts, How many ways to use Event in Google Tag Manager for Event Tracking? As per me there are 5 ways given below are they correct? 2nd thing if yes can you please please tell me procedure of using all or which is the best one to use? HTML 5 Data Attributes Classic Google Analytics Example: _gaq.push(['_trackPageview', '/downloads/pdfs/corporateBrief.pdf']);
Reporting & Analytics | | bkmitesh
3) Universal Analytics Example: ga(‘send’, ‘pageview’, ‘page path’); query string? or is it possible without any coding on website we can configure id's in google tag manager? Thanks! BK Mitesh0 -
Enable Demographics and Interests reports using analytics.js
Hi, I may be going mad, but i can't find the code to activate demographics and interest reports if you are using the new analytics code. I can only find the code adjust for the old code. Any one know where to find this? Thanks Paul
Reporting & Analytics | | eminent0 -
Why should I use Google Tag Manager and will it help rankings?
hi all I have been reading the documentation here; http://www.google.co.uk/tagmanager/ But cannot find a real GREAT reason for using this and how it will help my fairly small (500/600 visitors/month) hobby website. Any suggestions help most welcome! Thanks Andy
Reporting & Analytics | | andystorey0 -
Can you use Google tag manager to manage rich snippets/schema mark up?
Hi,Does anyone know if you can use the new Google tag manager to manage rich snippets? I've seen that there is an HTML section where you can edit HTML that isn't shown on the site - do you think this field could be used to add schema data?Thanks,Karen
Reporting & Analytics | | Digirank0 -
Google Analytics: Do url redirects show up
Good Morning from 6 degrees c mostly cloudy wetherby UK 🙂 A redirect has been set up with the effect that when you key in www.hyload.co.uk it forwards to www.ikogroup.co.uk My question is please...within Google analytics will referall traffic from www.hyload.co.uk show up in referral traffic or because its a redirect will it be counted as direct traffic. Thanks in advance, David
Reporting & Analytics | | Nightwing0