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
-
What is the difference between "document" and "object" moved redirect errors?
What is the difference between "document" and "object" moved redirect errors? I'm used to see "object moved" as a redirect chain issue that needs to be fixed, but this week my report contained a "document moved" redirect chain issue. And it's on our homepage. Looks like it might be a HTTP versus an HTTPS issue.
Reporting & Analytics | | Kate_Nadeau0 -
Impressions skyrocketed 10x in few days on just one keyword and I don't understand why.
Hi everyone, I found this 'anomaly' in my google search console data. As you can see from the picture the impressions skyrocketed in a few days and then sort-of plateaued. The clicks remained almost the same because the keyword is highly informational (Wikipedia takes all the traffic). The keyword has around 650 000 searches per month. Btw. We are not doing off-site SEO. I would like to hear your opinion on what could have caused this. A Google update maybe? 5lERKef
Reporting & Analytics | | filip-balun1 -
Two lots of Analytics - one not Universal
Hi, We have been using two lots of GA code on our website - one was the old code and we added the new GA code under a different property too. Now that the old code is redundant do I: update the old code on property 1 to the Universal version and keep running the two properties (not sure this is the one I should do) remove the old code from property 1 and don't replace it with Universal version (but what happens to historical data?) remove the new code in property 2 and update the old code to the latest Universal version (but what happens to the historical data in property 2 or doesn't it matter?) The current code on the site is: <noscript><p>Please enable javascript</p></noscript> <noscript><p>Please enable javascript</p></noscript> <noscript><p>Please enable javascript</p></noscript> <noscript><div>Please enable JavaScript for your browser.</div></noscript> I've clearly got a bit confused so help would be appreciated. Thanks
Reporting & Analytics | | Houses0 -
How to configure custom dimension and metric in UA using with and without GTM
In universal analytic we can use more than 20 dimension and metric so can anyone tell me how to configure such feature 1) with google tag manager 2) without google tag manager. Like i read to this level - http://imgur.com/kjA4I91 but dont know what to do further? Regards, Jackin
Reporting & Analytics | | jackinmathis10 -
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 -
Ok. I'm just going to cut loose with my stupid question. What is internal link equity? What distinguishes an internal link with equity from one without equity?
What distinguishes an internal link with equity from one without equity? Is there a limit to how many of these I want? What's the rule-of-thumb? Cheers, Wes
Reporting & Analytics | | wrconard0 -
A lot of traffic to one page from Google referral
We recently received a lot of traffic to one page from
Reporting & Analytics | | underthesun808
google.com referral. When I look in analytics it reports that the traffic is
coming from /url that’s not real helpful. Is there a way to get more specific
information as to what the referring url was?0 -
If a site has 301 redirect - Will the Analytics of the target site show it as a referral or as the traffic source it came from?
Lets say I have a site www.abc.com and I rederect that site to www.xyz.com. If ABC.com is still ranking for keyword X and orgnically someone searches for X and they click on the ABC.com listing - In the XYZ site analytics (which is the target site) does it show as organic or referall, direct? Thanks
Reporting & Analytics | | M_80