Hi again, I've got a few questions I'd like to ask you .... What is source code optimization? How to write an effective URL? What's the purpose behind rewriting URLs? What is log file? Thanks in advance for any useful replies.
I think you should've started separate threads for these questions. Each one is a separate topic. A lot of people don't want to feel obligated to answer all four questions either. I guess I'll do it anyway lol. 1) Source code optimization is basically any on page optimization you can do to improve your site. This includes everything from making is w3c compliant to making sure keywords are in important parts of the site such as the page title, headers, etc. There are many other onpage improvements that can be made too. 2) An effective url is fairly short, but still includes your keywords that you want that page to rank well for. Ideally the url would not pass any variables, such as php or asp pages that look like page.php?a=1&b=2 3) The purpose of rewriting urls is twofold. You want to give your visitors less cluttered urls to make it easier to tell what a page is about. For the search engines, you are making the page easier to crawl and you are adding keywords. Most url rewriting is done to simplify urls that pass variables as I mentioned above. 4) A log file just stores the history of something. It can be used for various things such as software installation or website visitor info. For website visitor info, it is likely a raw text file that stores various general information about each person visiting your site.
Is there any relation between log file and seo? Secondly, would you please explain this: "Most url rewriting is done to simplify urls that pass variables "
A log file won't directly help your seo. Website traffic analytic programs will use these log files to help you analyze your traffic. So if you know how to effectively analyze your stats and make necessary changes, then the log file & its stats can help you indirectly. Most dynamic websites pass variables through the url and the urls look something like domain.com/page.php?a=1&b=2. With url rewriting, they could change it into something like domain.com/variable1/variable2/ or domain.com/variable1-variable2.html. The url rewriting code tells the server to access the dynamic page instead of trying to find the actual html file.