Wallpaper Script Forum » How-To and Troubleshooting

categories_link in .htaccess

(3 posts)
  • Started 10 months ago by cityguay
  • Latest reply from cityguay
  1. cityguay
    Member

    Hey, i want show the url http://www.midominio.com/categories/categories but it dos not, this is my htaccess, please help me:

    In file config.php define("CATEGORIES_LINK", true);

    #php_flag display_errors On
    Options +FollowSymlinks
    #RewriteEngine Off
    RewriteEngine On

    #change / with the relative path if you install the script in a subdirectory
    #RewriteBase /wallpaperscript.com/script/
    RewriteBase /

    RewriteRule ^(graficaestudio)/.*$ - [L]
    #This is for redirecting links with any subdomain to no subdomain
    #RewriteCond %{HTTP_HOST} ^(.+)www.fondobase.com [NC]
    #RewriteRule ^(.*)$ http://www.fondobase.com/$1 [R=301,NC,L]
    RewriteCond %{REQUEST_FILENAME} !-d

    #This is for redirecting links without trailing / to links with trailing /
    #RewriteCond %{REQUEST_FILENAME} !-f
    #RewriteCond %{REQUEST_URI} !(.*)\.(.+){3,4}
    #RewriteCond %{REQUEST_URI} !(.*)/$
    #RewriteRule ^(.*)$ /$1/ [L,R=301]

    RewriteRule ^([^/]*)/([^/]*)/([^/]*)/([^/]*)fondos_de_escritorio([^/]*)(/){0,1}([^/]*)$ $4fondos_de_escritorio$5$6$7
    RewriteRule ^([^/]*)/([^/]*)/([^/]*)fondos_de_escritorio([^/]*)(/){0,1}([^/]*)$ $3fondos_de_escritorio$4$5$6
    RewriteRule ^([^/]*)/([^/]*)fondos_de_escritorio([^/]*)(/){0,1}([^/]*)$ $2fondos_de_escritorio$3$4$5
    RewriteRule ^([^/]*)/([^/]*)/([^/]*)/([^/]*)fondos_escritorio_gratis([^/]*)(/){0,1}([^/]*)$ $4fondos_escritorio_gratis$5$6$7
    RewriteRule ^([^/]*)/([^/]*)/([^/]*)fondos_escritorio_gratis([^/]*)(/){0,1}([^/]*)$ $3fondos_escritorio_gratis$4$5$6
    RewriteRule ^([^/]*)/([^/]*)fondos_escritorio_gratis([^/]*)(/){0,1}([^/]*)$ $2fondos_escritorio_gratis$3$4$5

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php?%{QUERY_STRING}&resource=$1 [L]

    <Files ~ "\.tpl$">
    order deny,allow
    deny from all
    </Files>

    Posted 10 months ago #
  2. Anonymous
    Unregistered

    Im not really sure, what you exactly want to do!!?
    Regards
    Schwarzkümmelöl

    Posted 10 months ago #
  3. cityguay
    Member

    Hey and thk, i want show the url http://www.my_domain.com/categorie/subcategorie but it dos not, and the config.php file define("CATEGORIES_LINK", true); but have error 404 (sorry for my english), understand?

    Not that line in the htaccess I must add and configure to display http://www.my_domain.com/categorie/subcategorie

    thanks and regards

    Posted 10 months ago #

RSS feed for this topic

Reply

You must log in to post.