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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T05:49:48+00:00 2026-06-01T05:49:48+00:00

My permalink structure is set so I have url.com/page I made a basic PHP

  • 0

My permalink structure is set so I have url.com/page

I made a basic PHP script prior to installing wordpress that uses $_POST data to display the correct set of information, so the base would look like url.com/work.php?featured=print

After adding this to my WordPress installation with the rewrite from the permalink structure above, the link actually works as:
url.com/work/?featured=print

I’m having trouble getting the extra rewrite to work so that a clean url.com/work/print will work properly.

This is what my .htaccess file looks like, I appended the last line before the end IfModule tag hoping that would take anything work/[page]/ and direct it to work/?featured=[page]

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php
RewriteRule ^work/([^/.]+)/?$ work/?featured=$1 [L]
</IfModule>
# END WordPress

any help?

EDIT

Discovered rewrite via the functions page and found this quite resourceful

Rewrite rules for WordPress

however, my rule is taking .com/work/print (work/?feat=print) and simply showing it as .com/work without the page data being passed through

'work/([^/]+)/?$' => 'work&feat=$matches[1]'

The above is the only thing I changed from post I just referenced. I tried keeping is specific to get it to work first to avoid any loose ends…
Still not working properly though

  • 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-01T05:49:49+00:00Added an answer on June 1, 2026 at 5:49 am

    http://www.rlmseo.com/blog/passing-get-query-string-parameters-in-wordpress-url/

    For some reason, couldn’t get anything to work, but ^ is quite simple and worked great

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

Sidebar

Related Questions

My client had a wordpress blog at domain.com/blog with permalink structure ?p=page-id. I archived
I set my wordpress permalink structure to /%postname%/ but now when I go to
I am using wordpress and use custom permalink structure: /%category%/%postname%/ My problem is that
I set the wordpress permalink-structure to just use the articlename and got a .htaccess
How to Get page permalink and title outside the loop in wordpress. I have
I have a permalink structure of /%catergory%/%postname%/. When I go to blah.com/categoryname I want
The site that I am working on uses the following pretty permalink structure: http://example.com/blog/my-special-post
I have changed my permalink structure in WordPress. Can a plugin help me redirect
In routes.rb I have set up match member/:permalink => accounts#profile when the user's url
So I'm building a blog engine which has /articles/then-the-article-permalink as it's URL structure. I

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.