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
-
Combine Facebook referrals into one
Hello, I am a bit confused about the correct setting of filter to combine All facebook referrals into one.
Reporting & Analytics | | Johnroger
After going through different versions, not sure which one is correct and will work Some versions say that Search string should be - *^.facebook.com$ and Replace string should be - facebook.com While according to other Search string should be > *.facebook
and Replace string should be - facebook Please guide which one of this is correct and will work ? Thanks0 -
Tracking 301 redirect traffic in Google Analytics
if I 301 redirect www.mywebsite.com to go to www.yourwebsite.com, how can I track the traffic in Google Analytics that is coming from mywebsite.com?? I don't think that's a referral traffic, is it?
Reporting & Analytics | | Armen-SEO0 -
I want to upgrade to Universal Analytics but already using GTM and I have few queries...
Hello Experts, I want to migrate from classical to universal analytics and i am already using GTM for my ecommerce site. I have small 6 queries :- After login to google analytics from admin section i have to transfer property to universal analytics ? right? I have to wait either 24 hours or 48 hours before retagging or doing any changes in UA. So how can i know my property transferred sucessfully? After property transferred to universal analytics, i have to configure the session timeout and campaign timeout periods via the Google Analytics Admin page. ( By default,
Reporting & Analytics | | jackinmathis1
sessions end after 30 minutes and campaigns end after 6 months ) is it okay if i don't change this settings? As of now in my analytic i have configured google adwords, google webmaster and google merchant. In analytic i have also set custom alerts, goals, funnels, enchance link attribution, eCommerce etc but google analytics code i have already added in google tag manager, so i have to some manual changes for all such things? or all the things i.e goals, funnel, alerts etc will be transferred automatically at time of transferring the property? In Google tag manager i have already configured following things :- Tags :- Name - Google adwords Conversion Tracking b) Type - Adwords Conversion Tracking c) Rules - order sucessful page Name - Google Analytic Page view Tracking b) Type - Classic Google Analytics c) Rules - All pages Name - Google Analytic Conversion Tracking b) Type - Classic Google Analytics c) Rules - order sucessful page Name - Twitter Conversion Tracking b) Type - Custom HTML tag c) Rules - order sucessful page So at time of transferring property all this will be transferred automatically? Also at thank you page of my website I have scripts for goal setting, Affiliator, so there is no relation of this with migration right? Kind co-operation in the matter of highly be appreciated. So please help me! Regards,
Jackin!0 -
What are the consequences of doing a 301 redirect?
Just recently we did a redirection from a website that is ranking very well. The redirection was done through redirecting the page of the website A to the related page of website B. Website B raked massive traffic in the first week and have increased its ranking among Google searches but recently the traffic seems to decline. Website A which was ranking very well before redirection is now nowhere to be found on Google search. Is this a consequence of doing redirection? Please help.
Reporting & Analytics | | ISMEPTYLTD-SEOMOZ0 -
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 -
Can you use an advance segment as a metric or dimension for another advance segment in GA?
I have 3 advanced segments set up: Branded keywords Non-branded keywords (all) irrelevant non-branded keywords. irrelevant non-branded keywords are keywords where the visitor is not ready to purchase. for example keywords including terms such as "ideas" or "how to".. these have generated 0 conversions for us, and I want to track these separately from keywords that have a chance in converting, since the conversion rate between the two groups vary a lot. for the advanced segment "branded" - i listed a listed of keywords pertaining to the company name - using includes, Matching regexp and | (pipe) between keywords for advanced segment "non-branded keywords" - i took the same list and excluded matching regexp | between keywords. **for advanced segments "irrelevant keywords" ** - i took one word as the keyword and used includes, contains, and the keywords.. using OR statement between keywords. pipe doesn't seem to work with the "contains", and only seems to work with "matching regexp". **What i want to do is excluded all items from "Irrelevant keywords" in advanced segment "Non-branded keywords". but i can't seem to exclude based on another custom segment. **nor can I list - [X statement OR (statement y OR statement Z OR statement AB)] any thoughts on handling this logic?
Reporting & Analytics | | S.S.N0 -
301 Redirect 'https'? First post - Newbie.
Good afternoon, Thank you in advance for your help - this is my first post and I am new to all of this. Situation: I've setup 301 redirects for www.thechiplab.com to my new site www.chiplab.com (recently launched e-commerce site on Magento) through cPanel. Problem: Some of my best links are to my old ''https:" www.thechiplab.com secure domain (ex. http://techcrunch.com/2006/12/22/why-doesnt-cafepress-use-flash/) and are not being "passed" on to the new domain. (Open Site Explorer) Is it possible to recover any of the PR from the old secure site? Thanks again, Chase
Reporting & Analytics | | chiplab0 -
Use Google Spreadsheet for Top Keywords Report
I've been using the super-awesome Google doc described here http://www.seomoz.org/blog/custom-reporting-using-google-analytics-and-google-docs for all kinds of reporting and I've customized it quite a bit. But I can't figure out how to feed text-based fields from GA into this doc. For example, can I make it so this doc spits out top 10 keywords? Thanks!
Reporting & Analytics | | Oxfam_America0