Dynamically generated pages, such as those made by PHP scripts, usually have URLs that aren't very readable, like "mysite.com/script.php'id=3951&page=2". The URL doesn't say anything at all as to what the page is, other than showing that it's generated by a script. If you want to make your dynamic pages more search engine friendly, rewrite your scripts to use descriptive URLs!
A URL like "mysite.com/blogpost/3951-People-Know-What-This-Is.html" would be a lot better, wouldn't it? Right off the bat, you know what the page is about. If you're scrolling through your recent pages, you can find exactly what you're looking for a lot easier. More importantly though, search engines love URLs like these, so you get a nice rankings boost!
As a PHP programmer, I'm going to detail this technique with PHP, but the same principle applies to whatever serverside scripting language you use.
To start, have the script execute as a file without the extension, instead of with the .php extension (or or .jsp, or whatever extension your language uses). On Apache servers, you can use a ForceType statement in the .htaccess file to make the script execute as application/x-httpd-php. This tells Apache to run the file as a script instead of just spitting out your code.
Right now, your script should work properly as "mysite.com/script'id=3951&page=2". It's no longer readily apparent which language your site uses, but you can still tell that it's a dynamic page. Let's fix that next, by using PHP's explode function to break up the argument list. Using this, the arguments to your script will look like folders on your server instead of parameters to a script:
$args = explode("/",$_SERVER['PHP_SELF']);
Now, if you were to access "mysite.com/script/3951/2", $args would become an array with "3951" and "2". You can replace the slash with a hyphen to separate arguments without making them look like directory entries, or use a second explode statement to break down some of the arguments in a different way.
Finally, write some code that converts the title of the content (be it the blog post name, forum topic, etc.) into an argument, substituting dashes for spaces. Some people use underscores instead of dashes, but the search engines don't see underscored words as separate terms, so you end up with the search engine thinking "This_Is_My_Post" is one big word.
Add a pinch of code at the top of the script to make ensure that the URL matches the one you want it to be (so it redirects thread/4614-wrong-name-1 to thread/4614-This-is-my-posts-name-1), then add .html to the end of it (so it looks like an innocent html file) and you're good to go!
To prevent stuffing the url with words that don't really matter, use the string replace functions to remove words such as "I", "The", and "And" from the URL.
Most search engines won't completely index your website if it's all stuffed into argument lists, so by having URLs that look like normal filenames you both ensure that all of your pages are indexed and increase your search engine optimization. Making your URLs readable by humans is juts an added bonus. Make sure to update the links within your site to reflect your new URLs, so your page doesn't turn into a smattering of redirects.
Submit Url To Search Engine
There are many self-proclaimed SEOs out there and it is difficult selecting someone suited to your business needs. Apart from hiring someone who knows some technical aspects of the business, an SEO must also be intuitive. Understanding the business makes an SEO more successful than someone who deals with their clients with a "one size fits all" attitude.
There are several ways to get ranked higher and quicker. There are fast ways of doing it, where you fall down faster too or you can do it the slow and longer lasting way.
Here are some tips on what to expect
1. Building links from your site is important. The links you have per keyword, the higher your rating in the eyes of a search engine. Beware of link farming. The idea of link farming is to have reciprocal linking with other sites. The quality of these sites are important. If the link quality is not good, Google can label you as a 'bad neighbourhood' which means that Google has determined that you are swapping links in order to manipulate page rank. Adding links that your visitors can use is a good way to avoid this tag.
For example, if you are selling clothes, it does not make any sense to link to a website selling cameras, would it? Moreover, outbound links are always better than a link exchange. Of course, linking to a complementary site is good, if it drives some traffic your way. A partnership is better than linking to just anyone. If you can find sites which offer products or services which compliment yours and you can help each other out and you are proud to be associated with them and claim so on your website, then that is the best method. If you are trying to just build links and are trying to hide the links in another page which is hidden, then that is a big no no.
2) Before building links, it is important to optimize your website for certain keywords. Remember, one keyword per webpage. It is not always nice to find out that you ranked high in the search engine for words like "free" or "welcome to our site". This will prove very costly especially if you are doing pay per click advertising as it means that anyone typing the word "free" in the search engine, can expect to have your site among the search results. Each time someone clicks on the advertisement to come to your site, you not only lose money, but you will not be converting anyone. Reason being that, it is not your potential customer.
Relevant keywords are important and over time, you will come up higher in the search results. Have one keyword a page, if possible. Ensure that when the customer clicks on your advertisement, the person lands on the relevant page. For example, if you are selling several baby products and a customer is searching specifically for prams, your chances of converting a lead is higher when you direct the customer to the webpage selling prams. You can go one step further and have the prams divided into brands. It could be in the same page or in small icons which they can click to go to the next page. In this way, the customer feels that they have a choice.
3) It is always better to have a website designer with SEO knowledge design your website, as it goes a long way in increasing your website's visibility to search engines. You can ensure that all the meta tags, heading, title and others have been optimized to get the most out of your website.
4) It is useful to have tracking installed on your website to see how many visitors have come, where they have come from and which page they spent the maximum time. Google Analytics provides a wide range of information and can be viewed in the form of graphs, charts and figures. Using this information, you can study your customers and enhance your website to generate more traffic. Ensure that your consultant can install the codes in the relevant pages and analyze them. Search engine optimisation is not a "install and go" method. It requires thought, knowledge of the market, various online marketing methods and continuous fine tuning to achieve your business goals. Understanding the business is the first step towards attaining the business goals. The goals could be as varied as getting more leads, constant traffic, conversion of leads, selling more products online or just simply a place where you can share knowledge with like-minded people.
Search engine optimisation is still a growing field and as long as Google, Yahoo and MSN is used to search for websites on the web, it will always be an important exercise to follow.
Both Amy Chen & Catherine Matthew are contributors for EditorialToday. The above articles have been edited for relevancy and timeliness. All write-ups, reviews, tips and guides published by EditorialToday.com and its partners or affiliates are for informational purposes only. They should not be used for any legal or any other type of advice. We do not endorse any author, contributor, writer or article posted by our team.
Amy Chen has sinced written about articles on various topics from Computers and The Internet, Skin Care. Phil runs a web development resource site. Find yourself asking, Read all about it. Amy Chen's top article generates over 1600 views. to your Favourites.
Catherine Matthew has sinced written about articles on various topics from Online Business, Boating and Arts. Kathy Austin is an Consultant and founder of SeoEcom. She is a Google certified Adwords professional and helps small to medium sized businesses. Catherine Matthew's top article generates over 110000 views. to your Favourites.
Business On The Side No famous photographers became like that overnight. We all spent sleepless nights perfecting our craft