SEO friendly URL parameter - mod-rewrite

How can I rewrite the following url
http://mysite/product/myproduct?accessories=newacesssory
to
http://mysite/product/myproduct/accessories
Thanks!
Jon

What you need to do is look at this example for creating "Pretty Urls". It involves some pretty simple modification to your .htaccess file, but will produce the desired results. A link to an example can be found here. There are also tons of useful YouTube videos on this.

Related

How to write a filter with the MediaWiki AbuseFilter extension

Hello there,
just a "quick" question - I already installed the mediawiki properly - same with the extension itself, all working properly.
The thing is that Mediawiki extension page (https://www.mediawiki.org/wiki/Extension:AbuseFilter) won't tell me much about HOW to write a code for a filter, and google searches didn't return any valuable data like code block examples.
I'd be overjoyed if somebody could provide me a working code for the filter, even as simple as one for replacing typical f-bomb for the word "flowers", or whatever, since strReplace does nothing on it's own and I have no idea how to handle things.
Thanks in advance for any suggestions. :)
The official manual is here. For real-life examples, just go to Special:AbuseFilter on a wiki that's using it and see the code of public filters. For example, on English Wikipedia.

Does Googlebot crawl url with get parameters?

I gave up rewriting url because I don't feel the necessity.
So url looks like "http://www.stackoverflow.com?question=35453."
But, I worry about one thing.
Does Googlebot crawl my pages?
Do I need to rewrite my url like "http://www.stackoverflow.com/question/35453"?
Does Googlebot crawl my pages?
Yes. But you can set in google webmaster tools to ignore it.
In a general way, if you want nice url more meaningful for search engines and users, you should avoid parameters and transform to human language words separated by dashes.
So IMHO, the best you could do is:
http://www.stackoverflow.com/question/does-googlebot-crawl-url-with-get-parameters.html.

actual webpage using rdfa or microdata?

Where is there a webpage that I can load that is using rdfa or microdata? Or, where should I be looking.
I am not asking for a code example. An actual website that is, today, using rdfa or microdata.
For context, I am looking at the google structured data testing tool. I can more or less randomly try things to see what a search result would look like.
When I search in google and find a detailed result, when I look at the actual webpage, I can not find any rdfa or microdata.
Do you consider opengraph as RDFA? Or you mean rdfa except opengraph since OGP is very widely used?
Anyway here are some examples.
youtube (microdata, ogp): example
books.google.com (microdata, ogp): example
bestbuy (microdata, ogp): example
expedia (microdata, ogp, rdfa): example
booking.com (ogp, rdfa): example
curlingcalendar.com (ogp, rdfa): example
yandex.ru (microdata): example, example
I have a Rich Snippets test site at http://schema.openspring.net/, check out the 5 links on the left block "Schema.org examples", they all produce a rich snippet preview. All these pages are using RDFa with schema.org.
Many news web sites use microdata for articles. They are quite often incomplete or otherwise broken though. Some of the better examples are www.telegraph.co.uk, independent.co.uk. They use the schema.org vocabulary.

What does the sharp and exclamation mark (#!) stand for in a url? Don't even know how to look for an answer

I have seen these "domain.com/#!/" formated urls, and driven merely by curiosity I chose to ask you people... what is that used for? A kinda "exclamated-hashtag" if you know what I mean.
I see it on sites such as "hypem.com" or "buzzchips.com", both of them delivering asynchronous dynamic content in a similar way.
I uploaded a tiny shot just so you actually see what I see, here and there.
It appears to be a standard for allowing dynamically created content to be crawled.
You can see a good explanation of this under the SEO heading for the following answer:
https://softwareengineering.stackexchange.com/questions/46716/what-should-a-developer-know-before-building-a-public-web-site/46760#46760

Canonical, SiteMap and Index Files?

I've set all my website URLs to be displayed without any index.* references, through .HTAccess, so making my canonical definitions simpler. My question is, does the sitemap.xml definitions also need to lose the index.* references?
Ultimate aim is not to confuse Google...
You probably need to give some examples for us to make 100% sure we understand you correctly.
But yes, naturally your XML sitemap should reflect your real URLs :)
So if instead of somedir/index.html you now use somedir/ your XML sitemap should reflect that :)

Resources