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 562739
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:35:12+00:00 2026-05-13T12:35:12+00:00

hey there, i have quite some issues with the mode rewrite here is what

  • 0

hey there, i have quite some issues with the mode rewrite here is what i use :

RewriteEngine On
RewriteRule ^([^/]*)/([^/]*)$ /creatii.php?creatie_thumb=$2&user=$1 [L]
RewriteRule ^([^/]*)/$ /creatiiuser.php?user=$1

i would like this link :

http://creatii.artcrew.ro/creatii.php?creatie_thumb=creatie19&user=dee-dee

to look:

like http://creatii.artcrew.ro/dee-dee/creatie19

well this is fine, it works, no problems with it but i want to make a rule for another link

http://creatii.artcrew.ro/categorii.php?numecat=poetry&numesubcat=satire

to look like

http://creatii.artcrew.ro/poetry/satire

how can i do this? what rules must i use?

currently if i access http://creatii.artcrew.ro/poetry/satire
it access the link : http://creatii.artcrew.ro/creatii.php?creatie_thumb=satire&user=poetry

how can i make both links(the first one and the second one) work?

one more thing, i want this link : http://creatii.artcrew.ro/creatiiuser.php?user=Dan to look like http://creatii.artcrew.ro/Dan or if that does not work http://creatii.artcrew.ro/user/Dan
how can i do that?

can anyone help me?
thanks in advance

  • 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-13T12:35:12+00:00Added an answer on May 13, 2026 at 12:35 pm

    Given the URL http://creatii.artcrew.ro/X/Y, how is mod_rewrite supposed to know whether X and Y are creatie_thumb and user values or numecat and numesubcat values?

    You need to add something to the URL to differentiate these cases.

    For example:

    • http://creatii.artcrew.ro/user/dee-dee
    • http://creatii.artcrew.ro/user/dee-dee/creatie19
    • http://creatii.artcrew.ro/cat/poetry/satire
        RewriteEngine On
        RewriteRule ^user/([^/]*)/([^/]*)$ /creatii.php?creatie_thumb=$2&user=$1 [L]
        RewriteRule ^user/([^/]*)/$ /creatiiuser.php?user=$1 [L]
        RewriteRule ^cat/([^/]*)/([^/]*)$ /creatii.php?numecat=$1&numesubcat=$2 [L]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hey there, I have read the few posts here on when/how to use the
Hey everyone, there's one thing bugging me for quite some time now. How can
Hey there i already have quite a few rewriting working on a project, but
hey there, i have a div that expands when the page is loaded, now
Hey just a quick question for any experts out there. I have a site
Hey guys, one more quick question for any experts out there. I have a
Hey guys, I've been browsing around on SO for quite some time and can't
Hey guys, lately I have been asking quite a few questions about memory management
Hey there, I have a small problem with compiling and linking with the command
Hey folks, I have a question which feels stupid but I can't quite say

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.