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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T02:02:35+00:00 2026-05-30T02:02:35+00:00

Hello I want to create my sites links to dynamically, and for me need

  • 0

Hello I want to create my sites links to dynamically, and for me need to create links in .htacces from

http://rude.su.lt~/veikutis/katalogas.php?link=dulkiu-siurbliai&id=1

to

http://rude.su.lt/~veikutis/dulkiu-siurbliai/1/

in PHP I redirect firs link to second link with function:

header("HTTP/1.1 301 Moved Permanently");
header('Location: '.$location);

and now for me need to open that file.

  • 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-30T02:02:36+00:00Added an answer on May 30, 2026 at 2:02 am

    The following is untested, of course, but should get you started:

    RewriteEngine On
    RewriteRule  ^~veikutis/([a-zA-Z-]+)/(\d+)/? ~veikutis/katalogas.php?link=$1&id=$2 [L,QSA]
    

    Two components /([a-zA-Z-]+) and /(\d+) are captured as $1, $2 and an optional trailing slash is included at the end /?.

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

Sidebar

Related Questions

Hello All I want to create a dialog from which I can set date
Hello I want to create a simple blog where users can post comments, but
I want to create an application on Facebook, after doing like the tutorial from
Hello there I am new to php and want to learn to write reusable
Hello i want to create a array in java script withing 2 for loops
Hello I want to create a performance counter named as FileCopierApp , this should
Hello I have $string1, Array[] and $string2. I want to create a Arraynew[] such
I want to create simple Spring MVC Hello world application that runs under Jetty
Hello This is a general question.I want to create a simple report just some
Hello I am beginner to the android development. I want to create a tab

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.