.htaccess file in free version

Discussion in 'Installation and Updates' started by asterix, Oct 5, 2006.

  1. asterix

    asterix New Member

    Hello thanks for the software i ave server linux, bat when i make a new category not can open i look a blank page, i think for the .htaccess in my version of software i not ave.

    can i create? can you post me the text of .htaccess?

    this is the site abclink.it
  2. Sergey Ten

    Sergey Ten <b>eSyndiCat Lead Developer</b>

    Welcome to our support forum asterix,

    This is code:

    Code:
    RewriteEngine on
    
    RewriteRule ^(.*)/$ index.php?category=$1 [QSA,L]
    RewriteRule ^(.*)/index([0-9]+).html$ index.php?category=$1&page=$2 [QSA,L]
    
    RewriteRule ^new-links.html$ new-links.php [QSA,L]
    RewriteRule ^new-links([0-9]+).html$ new-links.php?page=$1 [QSA,L]
    
    RewriteRule ^top-links.html$ top-links.php [QSA,L]
    RewriteRule ^top-links([0-9]+).html$ top-links.php?page=$1 [QSA,L]
    
    RewriteRule ^popular-links.html$ popular-links.php [QSA,L]
    RewriteRule ^popular-links([0-9]+).html$ popular-links.php?page=$1 [QSA,L]
    
    RewriteRule ^editor-links/index.html$ editor-links.php [QSA,L]
    RewriteRule ^editor-links/index([0-9]+).html$ editor-links.php?page=$1 [QSA,L]
    
    RewriteRule ^(.*)/(.*)-l([0-9]+).html$ view-link.php?cat=$1&title=$2&id=$3 [QSA,L]
    
  3. asterix

    asterix New Member

    Very thanks!!!:good:

    thanks!!!
  4. Sergey Ten

    Sergey Ten <b>eSyndiCat Lead Developer</b>

    You are welcome asterix ;)
  5. asterix

    asterix New Member

    I ave installed the .htaccess file!! the site one works very well !!!!
    thanks!!!
  6. Sergey Ten

    Sergey Ten <b>eSyndiCat Lead Developer</b>

    asterix

    :good:

    If you will have any other questions please let me know.
  7. nileshsoni

    nileshsoni New Member

    i have one question for .httpaccess

    if i want to display in addressbar like below then what changes i have to make in below .httpaccess code....

    want: http://directory.khazano.com/shopping/travel.html

    if nore pages then http://directory.khazano.com/shopping/travel2.html

    <IfModule mod_rewrite.c>
    RewriteEngine on

    RewriteBase /

    RewriteRule ^(.*)/$ index.php?category=$1 [QSA,L]
    RewriteRule ^(.*)/index([0-9]+).html$ index.php?category=$1&page=$2 [QSA,L]

    RewriteRule ^new-links.html$ new-links.php [QSA,L]
    RewriteRule ^new-links([0-9]+).html$ new-links.php?page=$1 [QSA,L]

    RewriteRule ^top-links.html$ top-links.php [QSA,L]
    RewriteRule ^top-links([0-9]+).html$ top-links.php?page=$1 [QSA,L]

    RewriteRule ^popular-links.html$ popular-links.php [QSA,L]
    RewriteRule ^popular-links([0-9]+).html$ popular-links.php?page=$1 [QSA,L]

    RewriteRule ^editor-links/index.html$ editor-links.php [QSA,L]
    RewriteRule ^editor-links/index([0-9]+).html$ editor-links.php?page=$1 [QSA,L]

    RewriteRule ^(.*)/(.*)-l([0-9]+).html$ view-link.php?cat=$1&title=$2&id=$3 [QSA,L]
    </IfModule>

    ErrorDocument 500 /dir/500.htm
    ErrorDocument 404 /dir/404.htm
    ErrorDocument 403 /dir/403.htm
    ErrorDocument 401 /dir/401.htm


    pls help me........
    Last edited: Nov 2, 2006
  8. Michael Hill

    Michael Hill eSyndicat Support Team

    Do you have pages travel.html and travel2.html? Or this are your php files? Describe your trouble in details, please.

Share This Page