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

  • Home
  • SEARCH
  • 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 820895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T02:33:06+00:00 2026-05-15T02:33:06+00:00

I have a slight problem with .htaccess redirect. I have a dynamic site with

  • 0

I have a slight problem with .htaccess redirect.

I have a dynamic site with 2 levels of variables – content=”type -(alpha)” and ID=”number” but this is very not seo friendly what I really would like to create is a rewrite rule that generates a “friendly” url for serach engines & users alike. Very much like WordPress does.

Each ID is already unique (obviously) and on creation is creating a unique “permalink” field so for example ID=1 has a “permalink field” as “2009/10/27/page title” and ID=100 would be “2010/10/27 page title”.

I would like folder/wall.php?content=type&ID=number to redirect to folder/permalink.php/html/htm (don’t mind a non dynamic extension)

Any clues? – this is not right (I know) but it also “breaks” my css file

RewriteEngine On

RewriteRule wall/content/(.*)/ID/(.*)/ wall.php?content=$1&ID=$2
RewriteRule wall/content/(.*)/ID/(.*) wall.php?content=$1&ID=$2
  • 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-15T02:33:07+00:00Added an answer on May 15, 2026 at 2:33 am

    You need to make sure you have a URL convention that won’t conflict with other files on the server. For example, if your page is displaying “Products” and you don’t have an actual folder in the root of your server called /products/, you could do this

    RewriteEngine On
    RewriteRule ^products/([^/\.]+)/([^/\.]+)/?$ wall.php?content=$1&id=$2 [L,NC,QSA]
    

    Replace “products” in this example with whatever name is most appropriate for what your wall.php page does.

    This would equate to the following URL

    www.yoursite.com/products/title/29/
    

    Which would rewrite to

    www.yoursite.com/wall.php?content=title&id=29
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a slight problem. Having recently migrated on Mac, I've been pulling my
I have a slight problem with a path: D:\\Music\\DJ Ti%C3%ABsto\\Tiesto\\Adagio For Strings (Spirit of
I have a slight problem with getting the options within the select tag. Some
I have a slight problem... we made a change to our url structure the
I have a slight problem, I am trying to capture the input of two
I have a slight problem and cannot for the life of me figure out
I have a slight problem, I'm making a dropdown using the help from someone
I have had a slight problem with autoloading in my namespace. As shown on
I have run in to a slight problem. The story goes as follows: I
I have a problem with Ninject trying to resolve an interface type where the

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.