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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T02:30:38+00:00 2026-06-10T02:30:38+00:00

I have a godaddy linux server and I am wanting to edit my url’s

  • 0

I have a godaddy linux server and I am wanting to edit my url’s

Here is an example of 3 url’s from my website

  1. http://www.website.com/b.php?n=30&t=big
  2. http://www.website.com/b.php?n=20&t=medium
  3. http://www.website.com/b.php?n=10&t=small

I would like to be able to change them to

  1. http://www.website.com/30/big
  2. http://www.website.com/20/medium
  3. http://www.website.com/10/small

MY IMAGE CODE

echo '<img src="gifs/' . $_GET["t"] . '/' . $_GET["n"] . '.gif">';
  • 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-06-10T02:30:40+00:00Added an answer on June 10, 2026 at 2:30 am

    You can change them by changing all the links on your site from the /b.php?n=30&t=big style links to the /30/big style links. Then you can put these rules in the htaccess file in your document root:

    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^/?([^/]+)/(.*) /b.php?n=$1&b=$2 [L,QSA]
    

    this will change the URI’s back to the ones that route through b.php.

    In the event that you have old URL’s floating around the internet and they need to be changed to the new ones, you can use these in the same htaccess files:

    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /b\.php\?n=([^&]+)&t=([^&\ ]+)
    RewriteRule ^/?b\.php$ /%1/%2 [L,R=301]
    

    This will redirect the browser (or google index bot) to point permanently to the new URLs.

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

Sidebar

Related Questions

Trying to get www.example.com/test.php?archives=testing to www.example.com/archives/testing According to godaddy they have mod_rewrite enabled by
I bought a domain name with GoDaddy.com. I have a Ubuntu linux server running
I have a website that is hosted on Godaddy server. For SEO I have
I have just moved a site from a dedicated server to a GoDaddy shared
I have a shared-hosting account at GoDaddy, which includes LAMP (Linux, Apache HTTP Server,
I've got a little problem on a goDaddy server. I have a php script
I have a website that has a valid wildcard certificate from Godaddy. When I
I have moved my server from dreamhost to Godaddy recently When I was with
I have a website registered through GoDaddy, and I decided to point blog.mysite.com to
I have example.com registered at GoDaddy (and hosted elsewhere). I created a subdomain at

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.