Jump to content
Sign in to follow this  
ranton

Module Templates

Recommended Posts

I need to use two new module for the SEO:

 

- categories.php

- manufacture.php

 

To do that I've renamed the index.php once for categories.php and once for the manufacture.php

 

The .htaccess is as follow:

 

Options +SymLinksIfOwnerMatch

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteBase /

RewriteRule ^([a-z0-9-/]+)-p-([0-9]+).html$ product_info.php [NC,L,QSA]

RewriteRule ^([a-z0-9-/]+)-c-([0-9_]+).html$ categories.php [NC,L,QSA]

RewriteRule ^([a-z0-9-/]+)-m-([0-9]+).html$ manufacture.php [NC,L,QSA]

RewriteRule ^([a-z0-9-/]+)-pi-([0-9]+).html$ popup_image.php [NC,L,QSA]

</IfModule>

 

The rewrite rules works fine to make the seo url:

 

http://vm0204.cs02.seeweb.it/formaggi-c-17.html

 

But when I click over the above link shows the error:

 

Error 310 (net::ERR_TOO_MANY_REDIRECTS)

 

And the error_log is as follow:

 

93.42.150.32 - - [01/Feb/2011:22:49:37 +0100] "GET /formaggi-c-17.html HTTP/1.1" 301 530 "http://vm0204.cs02.seeweb.it/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10"

93.42.150.32 - - [01/Feb/2011:22:49:37 +0100] "GET /formaggi-c-17.html HTTP/1.1" 301 530 "http://vm0204.cs02.seeweb.it/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10"

93.42.150.32 - - [01/Feb/2011:22:49:37 +0100] "GET /formaggi-c-17.html HTTP/1.1" 301 530 "http://vm0204.cs02.seeweb.it/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10"

93.42.150.32 - - [01/Feb/2011:22:49:37 +0100] "GET /formaggi-c-17.html HTTP/1.1" 301 530 "http://vm0204.cs02.seeweb.it/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10"

93.42.150.32 - - [01/Feb/2011:22:49:37 +0100] "GET /formaggi-c-17.html HTTP/1.1" 301 530 "http://vm0204.cs02.seeweb.it/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10"

93.42.150.32 - - [01/Feb/2011:22:49:37 +0100] "GET /formaggi-c-17.html HTTP/1.1" 301 530 "http://vm0204.cs02.seeweb.it/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10"

93.42.150.32 - - [01/Feb/2011:22:49:38 +0100] "GET /formaggi-c-17.html HTTP/1.1" 301 530 "http://vm0204.cs02.seeweb.it/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10"

93.42.150.32 - - [01/Feb/2011:22:49:38 +0100] "GET /formaggi-c-17.html HTTP/1.1" 301 530 "http://vm0204.cs02.seeweb.it/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10"

93.42.150.32 - - [01/Feb/2011:22:49:38 +0100] "GET /formaggi-c-17.html HTTP/1.1" 301 530 "http://vm0204.cs02.seeweb.it/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10"

93.42.150.32 - - [01/Feb/2011:22:49:38 +0100] "GET /formaggi-c-17.html HTTP/1.1" 301 530 "http://vm0204.cs02.seeweb.it/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10"

93.42.150.32 - - [01/Feb/2011:22:49:38 +0100] "GET /formaggi-c-17.html HTTP/1.1" 301 530 "http://vm0204.cs02.seeweb.it/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10"

93.42.150.32 - - [01/Feb/2011:22:49:39 +0100] "GET /formaggi-c-17.html HTTP/1.1" 301 530 "http://vm0204.cs02.seeweb.it/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10"

93.42.150.32 - - [01/Feb/2011:22:49:39 +0100] "GET /formaggi-c-17.html HTTP/1.1" 301 530 "http://vm0204.cs02.seeweb.it/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10"

93.42.150.32 - - [01/Feb/2011:22:49:39 +0100] "GET /formaggi-c-17.html HTTP/1.1" 301 530 "http://vm0204.cs02.seeweb.it/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10"

93.42.150.32 - - [01/Feb/2011:22:49:39 +0100] "GET /formaggi-c-17.html HTTP/1.1" 301 530 "http://vm0204.cs02.seeweb.it/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10"

93.42.150.32 - - [01/Feb/2011:22:49:39 +0100] "GET /formaggi-c-17.html HTTP/1.1" 301 530 "http://vm0204.cs02.seeweb.it/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10"

93.42.150.32 - - [01/Feb/2011:22:49:39 +0100] "GET /formaggi-c-17.html HTTP/1.1" 301 530 "http://vm0204.cs02.seeweb.it/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10"

93.42.150.32 - - [01/Feb/2011:22:49:40 +0100] "GET /formaggi-c-17.html HTTP/1.1" 301 530 "http://vm0204.cs02.seeweb.it/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10"

93.42.150.32 - - [01/Feb/2011:22:49:40 +0100] "GET /formaggi-c-17.html HTTP/1.1" 301 530 "http://vm0204.cs02.seeweb.it/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10"

93.42.150.32 - - [01/Feb/2011:22:49:40 +0100] "GET /formaggi-c-17.html HTTP/1.1" 301 530 "http://vm0204.cs02.seeweb.it/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10"

93.42.150.32 - - [01/Feb/2011:22:49:40 +0100] "GET /formaggi-c-17.html HTTP/1.1" 301 530 "http://vm0204.cs02.seeweb.it/" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10"

 

What is doing wrong?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×