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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T18:02:12+00:00 2026-06-02T18:02:12+00:00

We’re using wordpress, and we have the following in the .htaccess: # BEGIN WordPress

  • 0

We’re using wordpress, and we have the following in the .htaccess:

# BEGIN WordPress

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
</IfModule>

# END WordPress

We have a URL like http://subdomain.example.com/select-a-card/?q=fuel, and we want to rewrite it so that it becomes something like http://subdomain.example.com/fuel-card/

What do I need to add to the htaccess to do this? Also, will this affect the queries from running that uses GET variables?

  • 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-02T18:02:15+00:00Added an answer on June 2, 2026 at 6:02 pm

    nothing, just read the wordpress manual and edit your settings. checkout http://codex.wordpress.org/Using_Permalinks

    — EDIT

    This can be done, but only if you have some sort of a standard markup of the url’s you want to have rewritten. Ie. if you only want to rewrite the select-a-card url’s, or only the url’s with a syntax like http://site.com/uri/?q=something. But you if the syntax of the url’s differ too much you will have to add a lot of rewrites.

    In this specific case something like this should work:

    <IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteBase /
        RewriteRule ^index\.php$ - [L]
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
    
        # add your specifics below:
        RewriteRule ^/select-a-card/\?q=(.*) $1-card/
    
        RewriteRule . /index.php [L]
    </IfModule>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using WordPress's permalink structure %category%/%postname%/ with the following htaccess: <IfModule mod_rewrite.c> RewriteEngine
I am using wordpress and on the page sidebar.php I have the following code:
I am using following WordPress plugin to send email. http://coffee2code.com/wp-plugins/configure-smtp/ I have done configuration,
All, I have the following code: echo '<a href=register>Please try again</a>'; I'm using Wordpress
I have a working WordPress permalink set-up. I run on Apache's using the following
I have a table like this (using wordpress) +---------+----------+------------+ | meta_id | meta_key |
I have more than 3000 members on a site built using wordpress. I am
I just started out using wordpress as a CMS. On the site I have
I have been using Backbone.js to act as a middleman between Wordpress (using the
UPDATE I tried using the internal wordpress rewrite. What I have to do is

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.