Quote:
Originally Posted by imported_silkroad
Cheers NLP-er and Thanks.
I think we will vBSEO rewrite, something like:
'^(.+?)\.html\?hl=(.+?)$' => '$2/$1.html'
Do you think it this work?
Or maybe just manually change the sitmaps (as above #591) and try:
'^ja/(.+?)\.html$' => '$1.html?hl=ja'
'^ru/(.+?)\.html$' => '$1.html?hl=ru'
'^ko/(.+?)\.html$' => '$1.html?hl=ko'
yadda, yadda, yadda ..
Maybe?
|
I checked first one
'^(.+?)\.html\?hl=(.+?)$' => '$2/$1.html' and it crashed my forum

So I commented it.
The best way would be to redirect internally URLs like
country/rest to
rest?hl=country.
Internally I mean without changing URL in browser (without sending header).
And redirect URLs like
rest?hl=country to
country/rest with 301 header.
It would be best because old, already indexed addresses will work. Redirect will made reindexing faster (I think

) and you avoid possibility of duplicate content penalty if same content is available in booth URL's. In same time it would be good for this mod because no changes would be required at all. Unfortunately I'm not expert in .htaccess file or vbSEO custom rewrite rules, so I don't know does it is possible. For sure it is possible to redirect one address to other, but can it be done internally?...