Forums

How to add a link or tab from your blog to your website

Have technical questions about setting up a website, hosting or other issues, so you can promote your mlm opportunity? We've got answers for you here.

Moderator: admin

How to add a link or tab from your blog to your website

Postby Steve P on Sat Jul 31, 2010 2:28 am

Hello,

I have a website abcd.com and my blog is abcd.com/blog ,i would like to add a tab that would direct people to my website when they are in my blog .
I understand that there is some code involved which i am totally ignorant off ..please help.

Thanks
Steve
User avatar
Steve P
Contribution Level: 1
 
Posts: 11
Joined: Sun Jul 18, 2010 10:27 am

Re: How to add a link or tab from your blog to your website

Postby Kathie Thomas on Sat Jul 31, 2010 6:31 am

How was your site created in the first place? It might help to know.
Kathie M. Thomas, AFAIOP, MVA, ASO, Author, Speaker, VA Coach
"A Clayton's Secretary"®, Award-winning Virtual Assistant Services and Network, Est. 1994
Web: http://www.vadirectory.net
VA blog: http://www.vadirectory.net/blog/
User avatar
Kathie Thomas
Company: SendOutCards
Contribution Level: 2
 
Posts: 48
Joined: Mon Jul 26, 2010 12:49 am

Re: How to add a link or tab from your blog to your website

Postby Sandeep Nath on Sat Jul 31, 2010 8:36 am

You would generally use your blog theme to do that.
See www.QigongforBeginners.com to see what I mean.
The blog is in the right column embedded in the site.
Is this what you need?
“...principles that will help you grow, not only in business but in life... in this well written treatise.
No networker should be without this book.”


- Doug Wead, Bestselling Author, Adviser to 2 US Presidents, Networker and Historian
User avatar
Sandeep Nath
Company: MyLeadSystemPRO
Contribution Level: 6
 
Posts: 1000
Joined: Wed Dec 17, 2008 1:21 am

Re: How to add a link or tab from your blog to your website

Postby Steve P on Sat Jul 31, 2010 11:14 am

Kathi sorry i missed that out,i am using wordpress.
@Sandeep i can add a link ,but i want to make it prominent something like this markigence.com/blog ,look at the website on the top right corner ...
User avatar
Steve P
Contribution Level: 1
 
Posts: 11
Joined: Sun Jul 18, 2010 10:27 am

Re: How to add a link or tab from your blog to your website

Postby Ben Fitts on Sat Jul 31, 2010 1:08 pm

In your wordpress admin...

Usually "tabs" are "pages". You'd create a new page and then you'd put a link in there. That won't automatically take people to your other web site though.

For links there is a links section within your wordpress admin. You can usually put in a links widget into your theme that will put these links into your sidebar on your blog.

The real question is what are you trying to do? You might be better off doing something else like an email optin box that redirects them to another web site when they're done.
Benjamin Fitts
Contact me at: 877-BEN-FITTS or Skype: BenjaminFitts
Send Out Cards - One of the top 19 Distributors in the company WORLD WIDE
User avatar
Ben Fitts
Company: SendOutCards
Contribution Level: 3
 
Posts: 257
Joined: Wed Oct 24, 2007 10:24 am

Re: How to add a link or tab from your blog to your website

Postby Steve P on Sat Jul 31, 2010 3:26 pm

ben,

This is what i want to do this is my blog www.abcd.com/blog and this is my website www.abcd.com

I want to add a button on my blog that redirect people back to my website ,i know how to add a link but that will not work ,i need to add something visible enough for people to go back to my website.

There is some code involved in doing this ,which i am unaware off ...
User avatar
Steve P
Contribution Level: 1
 
Posts: 11
Joined: Sun Jul 18, 2010 10:27 am

Re: How to add a link or tab from your blog to your website

Postby Peter Neuenswander on Sat Jul 31, 2010 7:09 pm

Hey Steve,

Do you want to add a button on the page that redirects to your site or do you want a link in the navigation bar that redirects to your site? Just let me know and I'll help you get it done.

Peter
User avatar
Peter Neuenswander
Company: AdzZoo
Contribution Level: 2
 
Posts: 65
Joined: Wed Jul 08, 2009 9:45 pm

Re: How to add a link or tab from your blog to your website

Postby Ben Fitts on Sun Aug 01, 2010 2:46 pm

This is complicated if you do it in wordpress. It is not intended to do what you want to do, but I do it all the time ;)

What you want is a redirect.

You want to create a page in Wordpress so it shows up as a tab.

Then you want to add a real page in your wordpress blog directory.

So let's say you setup a page called "Visit My Site" and your page slug was "my-site". Then your url would be something like http://www.abcd.com/blog/my-site

Right?

So then you create a folder in your blog folder called "my-site".

Then you create a file in there called "index.php"

Then you put this code in the file:
Code: Select all
<?php
header("Location: http://www.whateveryoursiteis.com");
?>


What we're doing is this. We're making a page in wordpress so wordpress will put in a tab in our site.

Wordpress doesn't use actual files or directories. What wordpress does is it redirects any requests that don't find an actual file to wordpress. So if it doesn't find a file it will be taken back to your blog and that won't be what you want to do.

We then create a folder called "my-site". Then we put in a file called "index.php". That way there will be an actual file in the folder so wordpress won't intercept it. Then we make the file contain the special code to redirect the person to your site.

Does that make sense?
Benjamin Fitts
Contact me at: 877-BEN-FITTS or Skype: BenjaminFitts
Send Out Cards - One of the top 19 Distributors in the company WORLD WIDE
User avatar
Ben Fitts
Company: SendOutCards
Contribution Level: 3
 
Posts: 257
Joined: Wed Oct 24, 2007 10:24 am

Re: How to add a link or tab from your blog to your website

Postby Peter Neuenswander on Sun Aug 01, 2010 6:24 pm

There is a much easier way to do that... use the Link To Page plugin. If that is what you're trying to do. There is no coding involved.

Here's the link to the plugin in the wordpress directory.

http://wordpress.org/extend/plugins/page-links-to/

Hope that helps.

Peter
User avatar
Peter Neuenswander
Company: AdzZoo
Contribution Level: 2
 
Posts: 65
Joined: Wed Jul 08, 2009 9:45 pm

Re: How to add a link or tab from your blog to your website

Postby Steve P on Tue Aug 03, 2010 5:31 am

Thank you Peter and Ben for your advice , i am going to try this later tonight and will let you know how it works out.

Thanks
Steve
User avatar
Steve P
Contribution Level: 1
 
Posts: 11
Joined: Sun Jul 18, 2010 10:27 am

Next

Return to Tech Advice

Who is online

Users browsing this forum: No registered users and 0 guests