Re: Search Engine optimization
Re: Search Engine optimization
- Subject: Re: Search Engine optimization
- From: Chuck Hill <email@hidden>
- Date: Tue, 10 May 2005 16:54:22 -0700
On May 10, 2005, at 1:10 PM, Ute Hoffmann wrote:
Hallo,
thank you for your answer to my last question. Still, the URL's are
not listed by search engines. Only the hompage gets listed
(www.xyz.de), not the subsequent pages. Something seems to be wrong.
Are there links from the home page to the subsequent pages?
I don't have a index.html in my WebServer but redirect incoming
requests to xxx/cgi-bin/WebObjects/xxx.woa... Could this have any
impact?
Yes. Don't redirect or the search engine will see the /cgi-bin/. Use
rewrite rules and [last, passthrough]
How do I get URL's like these working:
wa/DirectoryWithId/1000151.html?wosid=tyv06S8ShT2Q6nUe3z4Kf0
I'm not sure if search engines will handle the form values correctly.
They do mostly handle cookies OK.
I suppose the magic behind it is made by apache rewite rules. Are they
powerful enough to change the above to
wa/DirectoryWithId?x=1000151& wosid=tyv06S8ShT2Q6nUe3z4Kf0
What you really want is probably more like:
http://www.tt-pixelmind.com/DirectoryWithId/1000151.html?
wosid=tyv06S8ShT2Q6nUe3z4Kf0
And a rewrite rule like
RewriteRule ^/DirectoryWithId/(.+).html(.*)
/cgi-bin/WebObjects/AppName.woa/wa/DirectoryWithId?x=$1
[last,passthrough,qsa]
and
If I wanted such a URL I need to either create it as strings or create
a own component to handle this, I suppose.
yes, WO won't do it for you. I usually make a URL factory class.
Do you think it would make a difference? Or would replacing the
/cgi-bin/WebObjects/ part of the URL by apache rewite improve the
search engine readability?
That might help too, but the direct actions and rewrite rules will
definitely work.
Chuck
--
Practical WebObjects - a book for intermediate WebObjects developers
who want to increase their overall knowledge of WebObjects, or those
who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden