WoodyRoundUp -
>how does search engine bot look at this
It depends, is your custom 404 actually returning a 404 or a 200 (use a server header checker).
>I don't want to use mod-rewrite?
Why not?
- duz
Main Topics
Browse All TopicsHi guys.
Please advise me on how to deal with this.
I have got many pages like this:
http://www.sample.com/cont
And also a page like this:
http://www.sample.com/prod
With 404 handler, I redirect the latter URL to the first URL.
I will need the catid and the id.
Then, my questions is, how does search engine bot look at this, if the latter URLis linked from the main page (index.php)?
Will the bots actually detect that it is a redirection, therefore it won't dig into the first URL, or will they actually continue crawling?
Your advice is muchly appreciated.
Thank you.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
In my 404.php, I actually take the "productname", and locate the productid and categoryid from the database, and redirect them.
I am not sure about the 404 or 200 thingy that you mentioned.
The reason why I don't want to use mod-rewrite is because I think I will need to write every single rules for that, right?
If not, how could I write this:
http://www.domain.com/prod
http://www.domain.com/prod
I never use mod-rewrite at all.
Please advise.
Thank you.
WRU
WoodyRoundUp -
It's better to use mod_rewrite if you can and keep the 404 for its intended purpose.
> I will need to write every single rules for that, right?
No, particularly if there is some logical correspondence as it seems there is from your examples. If all the rewrites are in the form http://www.domain.com/prod
You will need a good knowledge of regular expressions (not me!) and these guys are the experts http://www.experts-exchang
- duz
Thanks for your suggestion.
I am not sure but my redirection is not like what you wrote above.
I should have told properly.
Is that possible to have this:
http://www.domain.com/prod
http://www.domain.com/prod
Where, in my database: id=3 and catid=2 represent productname.
You don't need to give me code.
But regarding the search engines, do they index domain.com/productname at all? or they will just do the re-direction?
Please advice.
Seems that my search ranking for my product is not that good.
What can you suggest for this: "www dot cheapcard dot com dot au" in terms of SEO?
Thanks.
WoodyRoundUp -
>Is that possible to have this:...
Yes, regular expressions are very powerful.
>search engines, do they index domain.com/productname at all? or they will just do the re-direction?
Because you do not want two copies of the same page to be found by the search engines a 301 redirect is required. This means that the search engines will only index the page that it is redirected to (users will only see that page as well).
>What can you suggest for this: "www dot cheapcard dot com dot au" in terms of SEO?
That's a whole new question but I can see after a brief look that the most important on-page element has not been optimized, the <title></title>. This should contain your keywords preferably in combination and requires very careful thought. What are your keywords? What is/will be the most common search term(s) that users will find you by?
Also on all the internal pages where you have this for example:
http://www.cheapcard.com.a
It would be better to have something like this:
http://www.cheapcard.com.a
You will need to think carefully for all your pages because <title></title> is VERY important and once in place should only be changed in exceptional circumstances.
- duz
Business Accounts
Answer for Membership
by: WoodyRoundUpPosted on 2005-08-04 at 00:52:04ID: 14595937
And also how should I deal with it, if I don't want to use mod-rewrite?
WRU