Webmaster Forum


Go Back   Webmaster Forum > Marketing Forums > SEO Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

SEO Forum Search engine optimization discussions.

   

Reply
 
LinkBack Thread Tools Display Modes
Old 03-29-2007, 02:47 AM   #1 (permalink)
Inactive
 
Runilo's Avatar
 
Join Date: 06-09-04
Location: Faroe Islands
Posts: 145
iTrader: 0 / 0%
Latest Blog:
None

Runilo is on the right pathRunilo is on the right pathRunilo is on the right path
Search engines and 404 errors

Hello

I'm curently developing a website, and i'm using mod_rewrite to get search engine friendly url's.

My original url would look something like this:

http://www.example.com/index.php?cat...roduct=shampoo

And now it looks like this:

http://www.example.com/products/shampoo

I then have a script in the index file which sorts out the address, and delivers the right content.

As you can see, the url is much prettier now and it contains the exacts keywords that i want. But i'm a little worried about google and other search engines on this matter.

What if the user enters the url himself into the browser, and he misspells "category"
Eventhough i don't have a category that is spelled like the misspelled version, the user will still not get a 404 error.

I've heard a rumor, that google will on times send random urls to a website to check if it gets a 404 error or not. If google does not recieve a 404 error with it's many attempts, it can conclude that the website is using technology to to serve content no matter if the content that is searched for, exists or not. Ergo, serving false content.
I can definatly see the logic in this rumor.

Obviously, google will never get a 404 error on my website right now.

Therefore i was thinking that i could add a script to the index file, which checks if the category and keywords exist, and if it does not exist, it will serve a 404 error.

However, if i do it this way, Apache will first redirect to the index file, which serves a 200 ok message, then it redirects to the 404 error. The problem here, as i see it, is that google first recieves the 200 ok message, which indicates that the url is ok, and only after that, google is redirected to the 404 error.

Regarding this situation i have 3 questions:

Will google put my site on penalty for not serving a 404 emediatly, but with a redirect?

What is the best way of redirecting to a 404 error page?

Is it the same for all search engines?
Runilo is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-29-2007, 03:33 AM   #2 (permalink)
Inactive
 
Runilo's Avatar
 
Join Date: 06-09-04
Location: Faroe Islands
Posts: 145
iTrader: 0 / 0%
Latest Blog:
None

Runilo is on the right pathRunilo is on the right pathRunilo is on the right path
After a bit of reasearch i have found that it is probably possible to write conditions in my .htaccess file, that will serve an errorDOCUMENT if one of the conditions are no meat.

Say i have the following categories: Products, Reviews and Gallery.

Is it possible to write conditions to enable mod rewrite only if the category variable consists on one of the categories mentioned above?

Here is my .htaccess file:

RewriteEngine On
RewriteBase /
RewriteRule ^([^/]*)/([^/]*)$ /index.php?category=$1&trim=$2 [L]
Runilo is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Marketing Forums > SEO Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
SEO for different search engines janegrath SEO Forum 14 12-05-2008 04:32 AM
New Search Engine Experiment about indexing in the search engines sitetutor SEO Forum 0 02-27-2007 11:10 AM
Search Engines that Pay for Search Box Placement bestpokerdeals Marketing Forum 2 01-02-2007 10:07 AM
Search terms & there popularity – in search engines SCOBAHCAN SEO Forum 5 07-12-2006 03:44 AM
Adding/changing content will drop my rankings within search engines (MSN Search)? Michel Z. SEO Forum 9 07-03-2006 01:49 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 04:35 AM.
© Copyright 2008 V7 Inc