Quote:
Originally Posted by SEO Report
My appologies.
Basically, here is what I said (warning, very poor translation!):
Exactly AndrewD. I want to replace dynamic URLs with standard ones.
Regarding the template links_catbit, what about the dynamic URLs found in local_links.php ? should I replace them too?
-k
|
As I said, I don't understand the voodoo of mod_rewrite, but I've tried a simple test.
If you use this rewrite rule in Apache:
PHP Code:
RewriteEngine on
RewriteRule ^/viewcat(\d+).html$ /local_links.php?catid=$1
and you edit the links_catbit template to have the line
PHP Code:
<a href="viewcat$catid.html">$catname</a>
instead of
PHP Code:
<a href="local_links.php?action=links&catid=$catid">$catname</a>
then your category display will show up with category links of the form viewcatN.html and Apache will redirect them at the correct category.
Please don't ask me to go any deeper into this - find someone who knows what they are doing!