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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T13:57:29+00:00 2026-06-14T13:57:29+00:00

there may be a similar question to mine out there, but when im looking

  • 0

there may be a similar question to mine out there, but when im looking at this reg expressions it hurts my brain to try and adapt the answer to my situation.

do to having to many pages on my server, i need to rewrite urls like:

www.mysite.com/pages/this-page-here

to

www.mysite.com/eng?sentence=this-page-here

simply deleting the pages and hoping google will figure it out the indexing has made a big mess.

so basically “pages/” be replaced with “eng?sentence=” no variables or anything this is the only case.

and i already have some rewrite code in my htaccess file which is removing the .php and i dont want to mess that up when adding this.

here is whats in ataccess right now:

# Use PHP5.3 Single php.ini as default
AddHandler application/x-httpd-php53s .php
RewriteEngine on
AddType application/x-httpd-php .htm .html
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php 
Options -Indexes
ErrorDocument 404 /404.php
ErrorDocument 500 /500.php 
  • 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-14T13:57:31+00:00Added an answer on June 14, 2026 at 1:57 pm

    I’d say, just add the rule and that’s it:

    # Use PHP5.3 Single php.ini as default
    AddHandler application/x-httpd-php53s .php
    RewriteEngine on
    AddType application/x-httpd-php .htm .html
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME}\.php -f
    RewriteRule ^(.*)$ $1.php 
    RewriteRule ^pages/(.)$ eng?sentence=$1 [L]
    Options -Indexes
    ErrorDocument 404 /404.php
    ErrorDocument 500 /500.php 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I may get some heat for this question because there are a lot out
I know there are a LOT of similar question to this, but I've tried
This may not seem like a development question but there is a link. I
This may not be possible for the carousel but is there a way to
This may fall under you can't, and there's no reason to anyway, but I'm
I've seen a couple similar threads to this question, but none of them really
I'm trying to do something similar to this question , but it's a bit
I couldn't seem to find a similar question to this. I am currently looking
I thought to ask this as an update to my previous similar question but
I asked a similar question but left out an important detail. I am doing

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.