Advanced Search Engine Optimization: A Logical Approach