Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 381439
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T15:05:08+00:00 2026-05-12T15:05:08+00:00

I am currently showing results using the following url index.php?id=1 and using .htaccess to

  • 0

I am currently showing results using the following url index.php?id=1 and using .htaccess to rewrite it like cat/sub-cat/ and i am using pagination and the url to the next page is index.php?page=2 etc but i can’t seem to get the pagination to work with my .htaccess rewritten url so for example threads/thread-name/ shows the page fine etc but when i click on the next page link i just get the same page, if i use the normal url such as index.php?id=1&page=2 that works fine but i can’t seem to get it to work in a nicer fashion

Hope that explains the issue clearly 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T15:05:09+00:00Added an answer on May 12, 2026 at 3:05 pm

    If I understand your problem correctly, then you need a rewriterule something like this:

    RewriteRule ([a-zA-Z_-]+)/([0-9]?) index.php?id=$1&page=$2
    

    Which then directs /mycoolpage/2 to index.php?id=mycoolpage&page=2 etc

    And if the last number is not present, then the page query parameter will simply be blank (so you’d assume page=1)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently am using mysql and php to display 9 random results from my
I am using URL rewriting via htaccess. Following are contents: Options +FollowSymLinks RewriteEngine on
I am currently showing softkeyboard using the following code InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
Sorry, newbie question I know, however I've currently got mySQL results only showing when
I want to add a parameter to a URL but currently it isnt showing
I currently have the following code which delays showing a fixed bar after a
In Short, I am currently showing a list of results... and then I place
I am using the following code for defining the source as a php script:
I am currently working on calendar showing starting date and ending date of various
Currently working with NSURLConnection. Found a great website showing important delegate methods coming with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.