admin
Karma: 98
|
Re:Problem with RemoSEF ignoring .htaccess - 2006/10/09 20:51
You're absolutely right, but this is a general problem with the approach long adopted by SEF Advance and then promoted by Joomla (and formerly by Mambo) for 3rd party SEF in general.
The issue is not specifically with Remosef, but with the .htaccess recommended for use with 3PD SEF. The trouble is that anything that is not a file or directory has its URL rewritten to invoke index.php. The rest of the URL is then decoded as the query string.
Trouble is, if there is any invalid URL (which may well happen) then the 404 mechanism is defeated by the URL rewriting in .htaccess. Invalid URLs typically cause the site to show the home page, and give a good header.
The unfortunate SEO consequences are as you say. Mambo 4.6 (quite a lot of which I wrote) has SEF based on Remosef, but all SEF URLs have one of three prefixes immediately after the site. They have to be content, component or a site specific prefix (mos by default). Anything that doesn't fit that pattern falls into the standard Apache 404 mechanism. In addition, for those URLs that are accepted, the SEF logic is capable of returning a 404 header it the decoding turns out impossible.
I'm hoping to write a new version of Remosef for Joomla that has these features (Mambo users don't need it, because 4.6 is the same thing). Can't promise time scales though
Martin Brampton aka Counterpoint http://aliro.org http://black-sheep-research.com |