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
-
Losing referrer data on http link that redirects to an https site when on an https site. Is this typical or is something else going on here?
I am trying to resolve a referral data issue. Our client noticed that their referrals from one of their sites to another had dropped to almost nothing from being their top referrer. The referring site SiteA which is an HTTPs site, held a link to SiteB, which is also an HTTPs site, so there should be no loss, however the link to SiteB on SiteA had the HTTP protocol. When we changed the link to the HTTPs protocol, the referrals started flowing in. Is this typical? If the 301 redirect is properly in place for SiteB, why would we lose the referral data?
Reporting & Analytics | | Velir0 -
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 -
What type of links/redirect is Yahoo! using?
So I'm trying to figure out exactly what type redirect or hyperlinking Yahoo! is using on their article pages. For example:
Reporting & Analytics | | William.Lau
https://shopping.yahoo.com/blogs/fashionate/spring-clean-your-beauty-routine--10-tips-on-looking-fresh-this-season-000058218.html Hover over an external link, it shows you the ending URL. Right or left click it, it gives you a 302 redirect. When you actually left click it, it adds and "id" attribute, I assume for tracking. However, when you left click the the hyperlink, it no longer shows as a 302. I have limited working knowledge of web development techniques, so anyone with advance knowledge or have actually done this, it'd be helpful to understand this more.0 -
Is it possible to link two Analytics accounts to one AdWords account
Hi Is it possible to link two Analytics accounts that I have admin access to to the one AdWords account in my MCC. Thanks
Reporting & Analytics | | BeattieGroup0 -
What are the top free tools to use in SEO (apart from SeoMoz of course)
Hi guys, Can you point me the best free tools you're using for SEO (link building, etc.) - apart from SeoMoz - I'm kind of newbie in that area and in a discovering process. Thanks !
Reporting & Analytics | | zedisdead0 -
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 -
ECommerc site redirect to external site when add to cart. Need HELP to track sales!!!
Hi, I buil this site on WordPress, http://www.pilatesboisfranc.com When you go on <<plan &="" pricing="">> on the menu you can purchase a package online.</plan> When you click ''Get Started Now'' or ''Add to Cart'' the buyer is redirect to this external site: mindbodyonline.com QUESTIONS: Can I track my sales on Googles Analytics? Can I creat a goal on G.A. ? I found this video: https://getsatisfaction.com/mindbody/topics/chalk_talk_how_to_setup_google_analytics Is this the right way to do this? About goals, a simple goal I would like to create is, one purchase. Can I acheive that? Not shure about Goals. When I test and purchase, URL is always the same https://clients.mindbodyonline.com/ASP/home.asp?studioid=30371 I'm know only very basics stuff when it is time to play in Analytics, I hope you can provide help in details. Thank you, BigBlaze
Reporting & Analytics | | BigBlaze2050 -
Keyword tracking using Advanced Segment
I would like to see visits for only and only the following 2 keywords using advanced segment in GA. logo design india and logodesign Here's how i set up the Advancned Segment - Keyword > Matches Regular Expression > logo design india|logodesign The problem is that advanced segment report is also displaying visits for keyword thelogodesigns. Have i set it up correctly ?
Reporting & Analytics | | seoug_20050