Activity Stream
48,167 MEMBERS
61017 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1.     
    #1
    Member
    Website's:
    Mafiablog.org Dl4all.net Downloadsarena.net

    Default .htaccess problem in DLE

    Looks like Rewrite URLS are having some problem

    My site is www.mafiablog.org

    check this link

    http://mafiablog.org/movies/1457-asi...mega-pack.html

    I am unable to open any post. it gives 404 Error. I think there is a problem in htaccess file

    Please let me know how to fix it

    Thank you
    Arthur Reviewed by Arthur on . .htaccess problem in DLE Looks like Rewrite URLS are having some problem My site is www.mafiablog.org check this link http://mafiablog.org/movies/1457-asian-horror-movies-mega-pack.html I am unable to open any post. it gives 404 Error. I think there is a problem in htaccess file Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    tufos.net
    Could you post your .htaccess? : )

  4.     
    #3
    Member
    Website's:
    Mafiablog.org Dl4all.net Downloadsarena.net
    PHP Code: 
    DirectoryIndex index.php

    RewriteEngine On

    # Редиректы
    RewriteRule ^page/(.*)$ index.php?cstart=$[L]

    # Сам пост
    RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/page,([0-9]+),([0-9]+),(.*).html(/?)+$ index.php?subaction=showfull&year=$1&month=$2&day=$3&news_page=$4&cstart=$5&news_name=$[L]
    RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/page,([0-9]+),(.*).html(/?)+$ index.php?subaction=showfull&year=$1&month=$2&day=$3&news_page=$4&news_name=$[L]
    RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/print:page,([0-9]+),(.*).html(/?)+$ engine/print.php?subaction=showfull&year=$1&month=$2&day=$3&news_page=$4&news_name=$[L]
    RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*).html(/?)+$ index.php?subaction=showfull&year=$1&month=$2&day=$3&news_name=$[L]

    RewriteRule ^([^.]+)/page,([0-9]+),([0-9]+),([0-9]+)-(.*).html(/?)+$ index.php?newsid=$4&news_page=$2&cstart=$[L]
    RewriteRule ^([^.]+)/page,([0-9]+),([0-9]+)-(.*).html(/?)+$ index.php?newsid=$3&news_page=$[L]
    RewriteRule ^([^.]+)/print:page,([0-9]+),([0-9]+)-(.*).html(/?)+$ engine/print.php?news_page=$2&newsid=$[L]
    RewriteRule ^([^.]+)/([0-9]+)-(.*).html(/?)+$ index.php?newsid=$[L]

    RewriteRule ^page,([0-9]+),([0-9]+),([0-9]+)-(.*).html(/?)+$ index.php?newsid=$3&news_page=$1&cstart=$[L]
    RewriteRule ^page,([0-9]+),([0-9]+)-(.*).html(/?)+$ index.php?newsid=$2&news_page=$[L]
    RewriteRule ^print:page,([0-9]+),([0-9]+)-(.*).html(/?)+$ engine/print.php?news_page=$1&newsid=$[L]
    RewriteRule ^([0-9]+)-(.*).html(/?)+$ index.php?newsid=$[L]

    # За день
    RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})(/?)+$ index.php?year=$1&month=$2&day=$[L]
    RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/page/([0-9]+)(/?)+$ index.php?year=$1&month=$2&day=$3&cstart=$[L]
    # За весь месяц
    RewriteRule ^([0-9]{4})/([0-9]{2})(/?)+$ index.php?year=$1&month=$[L]
    RewriteRule ^([0-9]{4})/([0-9]{2})/page/([0-9]+)(/?)+$ index.php?year=$1&month=$2&cstart=$[L]
    # Вывод за весь год
    RewriteRule ^([0-9]{4})(/?)+$ index.php?year=$[L]
    RewriteRule ^([0-9]{4})/page/([0-9]+)(/?)+$ index.php?year=$1&cstart=$[L]
    # вывод отдельному тегу
    RewriteRule ^tags/([^/]*)(/?)+$ index.php?do=tags&tag=$[L]
    RewriteRule ^tags/([^/]*)/page/([0-9]+)(/?)+$ index.php?do=tags&tag=$1&cstart=$[L]
    # вывод для отдельного юзера
    RewriteRule ^user/([^/]*)/rss.xmlengine/rss.php?subaction=allnews&user=$[L]
    RewriteRule ^user/([^/]*)(/?)+$ index.php?subaction=userinfo&user=$[L]
    RewriteRule ^user/([^/]*)/page/([0-9]+)(/?)+$ index.php?subaction=userinfo&user=$1&cstart=$[L]
    RewriteRule ^user/([^/]*)/news(/?)+$ index.php?subaction=allnews&user=$[L]
    RewriteRule ^user/([^/]*)/news/page/([0-9]+)(/?)+$ index.php?subaction=allnews&user=$1&cstart=$[L]
    RewriteRule ^user/([^/]*)/news/rss.xml(/?)+$ engine/rss.php?subaction=allnews&user=$[L]
    # вывод всех последних новостей
    RewriteRule ^lastnews/(/?)+$ index.php?do=lastnews [L]
    RewriteRule ^lastnews/page/([0-9]+)(/?)+$ index.php?do=lastnews&cstart=$[L]
    # вывод в виде каталога
    RewriteRule ^catalog/([^/]*)/rss.xmlengine/rss.php?catalog=$[L]
    RewriteRule ^catalog/([^/]*)(/?)+$ index.php?catalog=$[L]
    RewriteRule ^catalog/([^/]*)/page/([0-9]+)(/?)+$ index.php?catalog=$1&cstart=$[L]
    # вывод непрочитанных статей
    RewriteRule ^newposts(/?)+$ index.php?subaction=newposts [L]
    RewriteRule ^newposts/page/([0-9]+)(/?)+$ index.php?subaction=newposts&cstart=$[L]
    # Статистические страницы
    RewriteRule ^static/(.*).html(/?)+$ index.php?do=static&page=$[L]
    # вывод избранных статей
    RewriteRule ^favorites(/?)+$ index.php?do=favorites [L]
    RewriteRule ^favorites/page/([0-9]+)(/?)+$ index.php?do=favorites&cstart=$[L]

    RewriteRule ^rules.htmlindex.php?do=rules [L]
    RewriteRule ^statistics.htmlindex.php?do=stats [L]
    RewriteRule ^addnews.htmlindex.php?do=addnews [L]
    RewriteRule ^rss.xmlengine/rss.php [L]
    RewriteRule ^sitemap.xmluploads/sitemap.xml [L]

    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule 
    ^([^.]+)/page/([0-9]+)(/?)+$ index.php?do=cat&category=$1&cstart=$[L]
    RewriteRule ^([^.]+)/?$ index.php?do=cat&category=$[L]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule 
    ^([^.]+)/rss.xmlengine/rss.php?do=cat&category=$[L]
    RewriteRule ^page,([0-9]+),([^/]+).htmlindex.php?do=static&page=$2&news_page=$[L]
    RewriteRule ^print:([^/]+).htmlengine/print.php?do=static&page=$[L]

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule 
    ^([^/]+).htmlindex.php?do=static&page=$[L

  5.     
    #4
    Member
    Website's:
    wrzdl.net
    Do you move the DLE files to other folders, or something like that?
    /edit

    put this under rewriteEngine on
    RewriteBase /folder

    Than try it out..

  6.     
    #5
    Member
    Website's:
    Mafiablog.org Dl4all.net Downloadsarena.net
    Just changed the new hosting man, thats it

  7.     
    #6
    Member
    Website's:
    tufos.net
    It looks 100% correct, did you activated SEO function in System Settings?

  8.     
    #7
    Member
    Website's:
    Mafiablog.org Dl4all.net Downloadsarena.net
    System Settings? i don't know man. I am on shared hosting and i am using DLE

  9.     
    #8
    Member
    Website's:
    wrzdl.net
    First of all, ask your provider for mod_rewrite... maybe is off..

  10.     
    #9
    Member
    Website's:
    wrzdl.net
    Try this out:

    Code: 
    DirectoryIndex index.php
    
    RewriteEngine On
    RewriteBase /movies
    
    # Редиректы
    RewriteRule ^page/(.*)$ index.php?cstart=$1 [L]
    
    # Сам пост
    RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/page,([0-9]+),([0-9]+),(.*).html(/?)+$ index.php?subaction=showfull&year=$1&month=$2&day=$3&news_page=$4&cstart=$5&news_name=$6 [L]
    RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/page,([0-9]+),(.*).html(/?)+$ index.php?subaction=showfull&year=$1&month=$2&day=$3&news_page=$4&news_name=$5 [L]
    RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/print:page,([0-9]+),(.*).html(/?)+$ engine/print.php?subaction=showfull&year=$1&month=$2&day=$3&news_page=$4&news_name=$5 [L]
    RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*).html(/?)+$ index.php?subaction=showfull&year=$1&month=$2&day=$3&news_name=$4 [L]
    
    RewriteRule ^([^.]+)/page,([0-9]+),([0-9]+),([0-9]+)-(.*).html(/?)+$ index.php?newsid=$4&news_page=$2&cstart=$3 [L]
    RewriteRule ^([^.]+)/page,([0-9]+),([0-9]+)-(.*).html(/?)+$ index.php?newsid=$3&news_page=$2 [L]
    RewriteRule ^([^.]+)/print:page,([0-9]+),([0-9]+)-(.*).html(/?)+$ engine/print.php?news_page=$2&newsid=$3 [L]
    RewriteRule ^([^.]+)/([0-9]+)-(.*).html(/?)+$ index.php?newsid=$2 [L]
    
    RewriteRule ^page,([0-9]+),([0-9]+),([0-9]+)-(.*).html(/?)+$ index.php?newsid=$3&news_page=$1&cstart=$2 [L]
    RewriteRule ^page,([0-9]+),([0-9]+)-(.*).html(/?)+$ index.php?newsid=$2&news_page=$1 [L]
    RewriteRule ^print:page,([0-9]+),([0-9]+)-(.*).html(/?)+$ engine/print.php?news_page=$1&newsid=$2 [L]
    RewriteRule ^([0-9]+)-(.*).html(/?)+$ index.php?newsid=$1 [L]
    
    # За день
    RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})(/?)+$ index.php?year=$1&month=$2&day=$3 [L]
    RewriteRule ^([0-9]{4})/([0-9]{2})/([0-9]{2})/page/([0-9]+)(/?)+$ index.php?year=$1&month=$2&day=$3&cstart=$4 [L]
    # За весь месяц
    RewriteRule ^([0-9]{4})/([0-9]{2})(/?)+$ index.php?year=$1&month=$2 [L]
    RewriteRule ^([0-9]{4})/([0-9]{2})/page/([0-9]+)(/?)+$ index.php?year=$1&month=$2&cstart=$3 [L]
    # Вывод за весь год
    RewriteRule ^([0-9]{4})(/?)+$ index.php?year=$1 [L]
    RewriteRule ^([0-9]{4})/page/([0-9]+)(/?)+$ index.php?year=$1&cstart=$2 [L]
    # вывод отдельному тегу
    RewriteRule ^tags/([^/]*)(/?)+$ index.php?do=tags&tag=$1 [L]
    RewriteRule ^tags/([^/]*)/page/([0-9]+)(/?)+$ index.php?do=tags&tag=$1&cstart=$2 [L]
    # вывод для отдельного юзера
    RewriteRule ^user/([^/]*)/rss.xml$ engine/rss.php?subaction=allnews&user=$1 [L]
    RewriteRule ^user/([^/]*)(/?)+$ index.php?subaction=userinfo&user=$1 [L]
    RewriteRule ^user/([^/]*)/page/([0-9]+)(/?)+$ index.php?subaction=userinfo&user=$1&cstart=$2 [L]
    RewriteRule ^user/([^/]*)/news(/?)+$ index.php?subaction=allnews&user=$1 [L]
    RewriteRule ^user/([^/]*)/news/page/([0-9]+)(/?)+$ index.php?subaction=allnews&user=$1&cstart=$2 [L]
    RewriteRule ^user/([^/]*)/news/rss.xml(/?)+$ engine/rss.php?subaction=allnews&user=$1 [L]
    # вывод всех последних новостей
    RewriteRule ^lastnews/(/?)+$ index.php?do=lastnews [L]
    RewriteRule ^lastnews/page/([0-9]+)(/?)+$ index.php?do=lastnews&cstart=$1 [L]
    # вывод в виде каталога
    RewriteRule ^catalog/([^/]*)/rss.xml$ engine/rss.php?catalog=$1 [L]
    RewriteRule ^catalog/([^/]*)(/?)+$ index.php?catalog=$1 [L]
    RewriteRule ^catalog/([^/]*)/page/([0-9]+)(/?)+$ index.php?catalog=$1&cstart=$2 [L]
    # вывод непрочитанных статей
    RewriteRule ^newposts(/?)+$ index.php?subaction=newposts [L]
    RewriteRule ^newposts/page/([0-9]+)(/?)+$ index.php?subaction=newposts&cstart=$1 [L]
    # Статистические страницы
    RewriteRule ^static/(.*).html(/?)+$ index.php?do=static&page=$1 [L]
    # вывод избранных статей
    RewriteRule ^favorites(/?)+$ index.php?do=favorites [L]
    RewriteRule ^favorites/page/([0-9]+)(/?)+$ index.php?do=favorites&cstart=$1 [L]
    
    RewriteRule ^rules.html$ index.php?do=rules [L]
    RewriteRule ^statistics.html$ index.php?do=stats [L]
    RewriteRule ^addnews.html$ index.php?do=addnews [L]
    RewriteRule ^rss.xml$ engine/rss.php [L]
    RewriteRule ^sitemap.xml$ uploads/sitemap.xml [L]
    
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^([^.]+)/page/([0-9]+)(/?)+$ index.php?do=cat&category=$1&cstart=$2 [L]
    RewriteRule ^([^.]+)/?$ index.php?do=cat&category=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^([^.]+)/rss.xml$ engine/rss.php?do=cat&category=$1 [L]
    RewriteRule ^page,([0-9]+),([^/]+).html$ index.php?do=static&page=$2&news_page=$1 [L]
    RewriteRule ^print:([^/]+).html$ engine/print.php?do=static&page=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^([^/]+).html$ index.php?do=static&page=$1 [L]
    If this not work, ask your hosting provider for mod_rewrite.

  11.     
    #10
    Member
    Website's:
    tufos.net
    ^Well said Spot, btwn check if SEO Function is activated in Datalife Admin CP under 'System Settings' tab

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Problem with .htaccess
    By Uchiha-Madara in forum DLE
    Replies: 7
    Last Post: 4th Apr 2012, 04:58 PM
  2. Help - Problem with .htaccess DLE
    By Uchiha-Madara in forum Web Application/Script Support
    Replies: 3
    Last Post: 15th Jan 2012, 01:33 PM
  3. Problem with htaccess
    By xandor in forum Webmaster Discussion
    Replies: 9
    Last Post: 15th Jan 2012, 12:55 AM
  4. how can fix htaccess problem on NGINX ?
    By chiwan in forum Server Management
    Replies: 7
    Last Post: 25th Sep 2011, 04:12 PM
  5. problem with my .htaccess file for datalife
    By zebono2 in forum Web Development Area
    Replies: 3
    Last Post: 24th Sep 2011, 04:33 PM

Tags for this Thread

BE SOCIAL