Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problems with categories
24-08-2011, 01:01 PM
Post: #1
Problems with categories
Hi from Spain!!!

The script it's great but I have a problem and I can't fix them.

The problem is with the paths of some links on the web.

I have configured seo in admin panel and add this lines to config.php:

$root_url="/";
$root_dir=$_SERVER["DOCUMENT_ROOT"]."/";

When I click on first category the link is:
http://www.elcastillodelplacer.es/catego...C3%A1ticas

When I click on other category the link is:
http://www.elcastillodelplacer.es/catego...no+HD+BSDM

The script add the categories.

When I am on a video:
http://www.elcastillodelplacer.es/video/...la+piscina

and I click on a category the link is:
http://www.elcastillodelplacer.es/video/...C3%A1ticas

The script add the categorie and the video on the same link.


When I am on a video:
http://www.elcastillodelplacer.es/video/...la+piscina

the related thumbs doesn't work because the script try to load on a page that it doesn't exists:
http://www.elcastillodelplacer.es/video/...4342_0.jpg

the img must be:
http://www.elcastillodelplacer.es/img/thumb/74342_0.jpg

Any idea?
Find all posts by this user
Quote this message in a reply
24-08-2011, 01:50 PM
Post: #2
RE: Problems with categories
i think you may have an error in your htaccess file, can you please attatch it here.

Custom HTML/CSS/PHP
http://theorderofindividualacceptance.co...p.php?id=1
Find all posts by this user
Quote this message in a reply
24-08-2011, 03:25 PM
Post: #3
RE: Problems with categories
(24-08-2011 01:50 PM)Punktured Wrote:  i think you may have an error in your htaccess file, can you please attatch it here.

.htaccess

Code:
RewriteEngine On

RewriteRule ^video/([0-9]+)/(.*)$ ?id=$1&title=$2&option=video [NC]

RewriteRule ^tag_video/(.*)$ ?tag=$1&option=tag [NC]

RewriteRule ^categoria_video/([0-9]+)/([0-9]+)/(.*)$ ?id=$1&p=$2&category=$3&option=category [NC]

RewriteRule ^juegos_porno/([0-9]+)/(.*)$ ?id=$1&title=$2&option=game [NC]

RewriteRule ^juegos_porno/#id/#title$ ?tag=$1&option=tag_game [NC]

RewriteRule ^categoria_juegos_porno/([0-9]+)/([0-9]+)/(.*)$ ?id=$1&p=$2&category=$3&option=category_game [NC]
Find all posts by this user
Quote this message in a reply
24-08-2011, 03:34 PM
Post: #4
RE: Problems with categories
in your config/config.php file, can you paste me this line please...

$website="********";

Custom HTML/CSS/PHP
http://theorderofindividualacceptance.co...p.php?id=1
Find all posts by this user
Quote this message in a reply
24-08-2011, 03:35 PM
Post: #5
RE: Problems with categories
(24-08-2011 03:34 PM)Punktured Wrote:  in your config/config.php file, can you paste me this line please...

$website="********";

config.php
Code:
$website="http://www.elcastillodelplacer.es";
Find all posts by this user
Quote this message in a reply
24-08-2011, 03:39 PM
Post: #6
RE: Problems with categories
after you changed your config to include those extra two variables...
did you clean your cache files in:
/tmp
/tmp/tablo
?

Custom HTML/CSS/PHP
http://theorderofindividualacceptance.co...p.php?id=1
Find all posts by this user
Quote this message in a reply
28-08-2011, 03:57 PM
Post: #7
RE: Problems with categories
Yes I have clean both folders and I have the same error.

I've try a new install and the problem is the same.

Look at http://www.elcastillodelplacer.es


My new steps was:
1) New install
2) Check Config.php has 2 new lines. It's ok.
3) Goto Seo Friendly Links and configure it.

4) Update New .htaccess
The code .htaccess is:
RewriteEngine On

RewriteRule ^videos_porno_hd/([0-9]+)/(.*)$ /?id=$1&title=$2&option=video [NC]

RewriteRule ^tag_videos_porno_hd/(.*)$ /?tag=$1&option=tag [NC]

RewriteRule ^category_videos_porno_hd/([0-9]+)/([0-9]+)/(.*)$ /?id=$1&p=$2&category=$3&option=category [NC]

RewriteRule ^juegos_porno/([0-9]+)/(.*)$ /?id=$1&title=$2&option=game [NC]

RewriteRule ^tag_juegos_porno/(.*)$ /?tag=$1&option=tag_game [NC]

RewriteRule ^category_juegos_porno/([0-9]+)/([0-9]+)/(.*)$ /?id=$1&p=$2&category=$3&option=category_game [NC]

4.1) Ups config.php 2 new lines has dissapear!!!
4.2) I write again two new lines!!

5) Insert 2 categories for test
It's Ok

6) I select spanish for the language.

Config.php 2 new lines has dissapear.

I think each time that the script needs to write a line in config.php, the script don't write two new lines.

I'm going to finish all the configuration, but I think I'll works fine if I write two new lines manually.

Thanks
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: