Wallpaper Script Forum » Bug Support

Page Navigation error

(13 posts)
  • Started 2 years ago by javid1981
  • Latest reply from wallpapersfind
  • 1 Members Subscribed To Topic
  1. i just install script but page navigation is not working

    when i click on page 2 (showing in image) it return with an error

    link is like this
    http://lucky123.byethost12.com/script3.5.html/page/2

    instead of this

    http://lucky123.byethost12.com/script3.5/page/2

    anyone plz help me

    Attachments

    1. untitled.JPG (35.1 KB, 0 downloads) 2 years old
    Posted 2 years ago #
  2. I am facing the same error.... error with my url is same...
    My domain is showing .html with directory name..

    http://domain.com/pics.html/page/2

    it should be like this...
    http://domain.com/pics/page/2

    Please help how do i resolve it...

    Regards

    Posted 2 years ago #
  3. edit .htaccess

    add your wallapaper folder path example

    RewriteBase /pics

    Posted 2 years ago #
  4. Please Help how to edit this file.. i opened my .htaccess file in dreamweaver it has following codes.. please mention where do i make changes...
    Path of my installed script is .. http://domain.com/pics/

    #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/

    #This is for redirecting links with any subdomain to no subdomain
    #RewriteCond %{HTTP_HOST} ^(.+).wallpapers.net [NC]
    #RewriteRule ^(.*)$ http://wallpapers.net/$1 [R=301,NC,L]

    #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 ^([^/]*)/([^/]*)/([^/]*)/([^/]*)-desktop-wallpapers([^/]*)(/){0,1}([^/]*)$ $4-desktop-wallpapers$5$6$7
    #RewriteRule ^([^/]*)/([^/]*)/([^/]*)-desktop-wallpapers([^/]*)(/){0,1}([^/]*)$ $3-desktop-wallpapers$4$5$6
    #RewriteRule ^([^/]*)/([^/]*)-desktop-wallpapers([^/]*)(/){0,1}([^/]*)$ $2-desktop-wallpapers$3$4$5
    #RewriteRule ^([^/]*)/([^/]*)/([^/]*)/([^/]*)-wallpapers([^/]*)(/){0,1}([^/]*)$ $4-wallpapers$5$6$7
    #RewriteRule ^([^/]*)/([^/]*)/([^/]*)-wallpapers([^/]*)(/){0,1}([^/]*)$ $3-wallpapers$4$5$6
    #RewriteRule ^([^/]*)/([^/]*)-wallpapers([^/]*)(/){0,1}([^/]*)$ $2-wallpapers$3$4$5

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

    Thanks in anticipation

    Posted 2 years ago #
  5. How to set the directory path in .htaccess ...

    Please help.....Please.....

    my path is : domain.com/pics/

    Posted 2 years ago #
  6. Replace below code

    #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 /pics/

    #This is for redirecting links with any subdomain to no subdomain
    #RewriteCond %{HTTP_HOST} ^(.+).wallpapers.net [NC]
    #RewriteRule ^(.*)$ http://wallpapers.net/$1 [R=301,NC,L]

    #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 ^([^/]*)/([^/]*)/([^/]*)/([^/]*)-desktop-wallpapers([^/]*)(/){0,1}([^/]*)$ $4-desktop-wallpapers$5$6$7
    #RewriteRule ^([^/]*)/([^/]*)/([^/]*)-desktop-wallpapers([^/]*)(/){0,1}([^/]*)$ $3-desktop-wallpapers$4$5$6
    #RewriteRule ^([^/]*)/([^/]*)-desktop-wallpapers([^/]*)(/){0,1}([^/]*)$ $2-desktop-wallpapers$3$4$5
    #RewriteRule ^([^/]*)/([^/]*)/([^/]*)/([^/]*)-wallpapers([^/]*)(/){0,1}([^/]*)$ $4-wallpapers$5$6$7
    #RewriteRule ^([^/]*)/([^/]*)/([^/]*)-wallpapers([^/]*)(/){0,1}([^/]*)$ $3-wallpapers$4$5$6
    #RewriteRule ^([^/]*)/([^/]*)-wallpapers([^/]*)(/){0,1}([^/]*)$ $2-wallpapers$3$4$5

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

    Posted 2 years ago #
  7. Let Me know if it works...

    Posted 2 years ago #
  8. I have replaced it and it is still showing the same links....

    http://domain.com/pics.html/page/2
    http://domain.com/pics.html/page/3

    Please help.....

    Thanks for all...

    Posted 2 years ago #
  9. I have replaced the current code with my old code at .htaccess but it is still showing the same links....

    http://domain.com/pics.html/page/2
    http://domain.com/pics.html/page/3

    Please help.....

    Thanks for all...

    Posted 2 years ago #
  10. what is your url ?

    Posted 2 years ago #
  11. forgetmeyes
    Member

    I got this problem too and it seems to work after commenting out the following code in includes/db.php:

    From:
    $url = $WS->url($url, "");

    To:

    // $url = $WS->url($url, "");

    But I'm not sure whether it will affect other functions or not.

    Posted 2 years ago #
  12. Hi,,

    Its working fine now.. by commenting the following... thank a lot to all members who helped....
    // $url = $WS->url($url, "");

    i don't know weather it will effect other functions or not... but pagination error is resolved... thank ...

    my url is: http://babulilmlibrary.com/pics/

    Thanks again for all support ...

    Regards.

    Posted 2 years ago #
  13. Thank you friend

    Posted 2 years ago #

RSS feed for this topic

Reply

You must log in to post.