Just Ask Matt - Answers

Changing the Font & Style of Your H1 Tags

QUESTION: (Rhonda) I am having problems changing the font size of my H1text. Is this very important? If so, how do I go about changing it?

Changing the text and/or style of an H1 tag is simple in CSS.  It does not affect anything other than how the visitor sees it though (i.e., if you use a large font, it means nothing more than a smaller font, in SEO terms or how Google sees it).

You can change the H1 tag locally or in the CSS definition file.

If you want to change all of the H1 tag settings in your entire website, you would do this in the CSS file:

h1 {
font-size: 24px;
}

You would use the h1 tag as you normally would:
<h1>This is my H1 tag</h1>

You can define a class in the CSS file which allows you to define your new style whenever you wish anywhere on the site:

.h1style {
font-size: 24px;
}

You would add this class to your h1 tag, when you wish it:

<h1 class=”h1style”>This is my H1 Tag</h1>

* Remember to add the “.” when defining it in the CSS to classify it as a class.

Finally, you can do it locally using a style attribute (without the CSS file):

<h1 style=”font-size:24px;”>This is my H1 Tag</h1>

All of the above do the exact same thing.  Their use is based on how often you use the style and how you want it defined (whether globally or locally).

Also, remember you can add other styles to the same definition (like color):

<h1 style=”font-size:24px; color:red;”>This is my H1 Tag that is Red and 24px high</h1>

I find that being able to change the styles of my text for header and other standard tags to be quite invaluable!  Knowing a little bit of CSS can go a long way.  Give this a try!

The easiest thing to try first is the local definition using the style attribute. If this is working for you, consider creating or editing your own CSS file!

Good luck!  cheers…matt


Read Full Post >>
More Questions & Answers...
GOT A QUESTION?

Who is Behind Marketing Mind?

Matthew Bredel begin_of_the_skype_highlighting     end_of_the_skype_highlightingMy name is Matthew Bredel and as of March, 2007, I am a full-time, work-at-home internet marketer. For close to 10 years, I worked for a defense company which was an OK job, but I was so uninspired in life and frankly, I needed some more money. That is when I first discovered internet marketing! Now I admit that I didn't start making thousands in my first couple of months (in fact, I lost my shirt!), but I finally saw the "internet light"...

Read More about Matthew Bredel
GURU STUFF END -->

Share This Post...

If you are currently running a website, and more particular, if you are an affiliate marketer, it is time for you to learn how to use your .htaccess file. Many of you just went “huh?” Don’t worry! This stuff (at least this post) is going to be pretty straight forward.
Let me first [...]

If you are currently running a website, and more particular, if you are an affiliate marketer, it is time for you to learn how to use your .htaccess file. Many of you just went “huh?” Don’t worry! This stuff (at least this post) is going to be pretty straight forward.

Let me first explain what the htaccess file is all about…

This is a configuration file that exists in your local website directory on your server. This file works mainly on Apache servers, which is what is typically installed on most server networks (check with you own server provider for more details). This file is also preceded with a ‘.’ (period) so the full filename is ‘.htaccess’. This preceding period signifies a “hidden file”. This does not mean it is hidden from you, just the public. Sometimes this file already exists in your directory by default or you may need to create it using a simple text editor (I use Notepad). This local configuration file can give you a lot of power with manipulating the URL’s of your website and the syntax, in some cases, is rather simple.

Today, I want to create our first .htaccess file using one of the simpliest, but most effective commands, the redirect command. This redirect command simply redirects a made-up filename or directory URL and redirects it to wherever you like. The .htaccess file requires no structure or header either. You just need to write down the commands. The structure of the command is:

redirect [made-up file/directory] [Target URL]

On TheWebReviewer, I use a redirect to link to this page as follows:

redirect /blog http://www.matthewbredel.com

The editor looks no more than this:

htaccess-redirect

Now I just save the .htaccess file and upload it to my home directory on my server. We are done! Now, when someone clicks on the link: http://www.thewebreviewer.com/blog, they will be redirected to http://www.matthewbredel.com. Try it!

Of course, this is a cool trick, but how does it help us? Creating these redirects, especially as affiliate marketers, has three effects:

1) This is a clean and simple way of “cloaking” our nasty looking affiliate links. On your website, instead of having an link that looks like this:

http://rover.ebay.com/rover/1/711-1751-2978-0/1?aid=5900367&pid=2145758

it can look like this:

http://www.thewebreviewer.com/ebay

It is much cleaner looking now and it looks like the link is integrated into your website.

2) This is a great way of managing your links! If my affiliate link for eBay ever changes, instead of having to go into my website and change every single link manually, I can simply go into the htaccess file and make the simple change there. Keep in mind that you can have as many redirect statements in your htaccess file as you like (they are separated on different lines).

3) This is a great way of protecting yourself from your affiliate merchants. Remember that merchants can only trace your link one level back. This has the advantage of protecting your leads. Now I know that this can be used in malicious ways (and I do not advocate that AT ALL!). But let’s say that you chose to buy advertising on a website using an affiliate link and this link brings you tons of traffic and money! If the merchant knew about where this traffic was coming from, they may step in and claim this position. They have the right to do that. If you use the redirect, they will only know the referring URL to be your local website. In most cases, there is no need to protect yourself from you merchants (remember, they are your partners). Still, this can be an added bonus.

There is plenty of other cool things we can do with the htaccess file. Using redirects is the first and easiest function that it supports. Not only protect yourself and your links with the redirect, but make managing your links a whole lot easier.

Don't Buy Another Money Making Product Until You Watch These FREE Videos!

First Name:
Email:

2 Responses to “htaccess, Redirect, and Protecting Your Links”

  1. I just read sercet 2 succeed pretty cool I learnd something for a change. I trying to get involved in GDI {globle domain int.} they are trying WS instead of .com have any clue?


  2. I am sure there is always some merit in getting a decent domain name, but right now there are a lot of extensions out there and many of them are still a bit “flops”. Dot com and dot net are still the most known and memorable. The get more love from the search engines as well. If it is cheap and the domain name is good, may be worth an investment for the future. For now, I would not host a website with such a new domain type, though.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>