www.webdeveloper.com
Results 1 to 2 of 2

Thread: .htacces - Mod_Rewrite

  1. #1
    Join Date
    Oct 2012
    Posts
    2

    .htacces - Mod_Rewrite

    Hi guyz.I have a big problem.I use mod_rewrite for my site url's ,but i got a problem with mod_rewrite + my pagination.

    my links are : localhost/new(i read news with this)/264(id of news)/2(number of page).

    everything is okay when i didn't chose a page yet,but when i come to page 2 (example) and i want to go to another page my urls are going crazy. localhost/new/264/2(my current page)/5(page when i want to go)

    should be localhost/new/264/5 (only page when i chose.)

    pls guyz.if someone know how to fix this problem just write a comment.i'm trying to fix it all day

  2. #2
    Join Date
    Jan 2009
    Posts
    3,346
    Couldn't give many suggestions without seeing your existing mod_rewrite rules or some php codes (or even more likely, a combination of the 2).

Thread Information

Users Browsing this Thread

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles