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 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'm having a slight problem. I have set my <input type=file> to onChange=this.form.submit() .
I've wrote this simple piece of code. And I have a slight problem with
hey everyone, here is the site SEE BELOW I have a slight jquery problem
I have this GWT code below which have some slight problem: It's either the
I'm trying to get deeper into advanced-SQL'ing but have a slight problem with some
I have a slight problem with this code: string[] sWords = {Word 1, Word2}
I have a slight algorithmic problem. I think I miss something but can't exactly
I am creating a coverflow plugin but I have a slight problem when it
I have a slight problem my code works fine but it re-sizes my entire
Have a slight problem. Trying to post XML to a server. To do this,

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.