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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T14:02:21+00:00 2026-06-09T14:02:21+00:00

I want to show the URL http://www.example.com/blog/feedback as http://www.example.com/feedback How can I do so

  • 0

I want to show the URL

http://www.example.com/blog/feedback
as

http://www.example.com/feedback

How can I do so using .htaccess?

  • 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-09T14:02:23+00:00Added an answer on June 9, 2026 at 2:02 pm

    You will need mod_rewrite to do this.

    <IfModule mod_rewrite.c>
      RewriteEngine on
      RewriteRule ^/feedback$ /blog/feedback
    </IfModule>
    

    Have a look here for a tutorial information on mod_rewrite.

    EDIT:

    If you are trying to move JUST /blog/feedback to /feedback then you will have to first move your base from /app/webroot/blog/ to /app/webroot/, edit all your rules to account for it and then add your new rule. Could be done like so:

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

    NB: This should work, but I’m not at my work station right now so I can’t check it 🙁 If anything goes wrong it’s probably a typo somewhere – let me know.

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

Sidebar

Related Questions

I want to show the URL http://www.example.com/about-us.php?p=ceo-greeting as http://www.example.com/about-us/ceo-greeting How can I do so
I want show weather information from xml to this URL: http://www.google.com/ig/api?weather=roma&hl=it using this script:
For example for this url it does not show it as file http://www.darty.com.tr/e_commerce/ximg/yeniyil/darty%20garanty%20brosur.pdf But
I want to open a URL, such as http://www.example.com/ , at the end of
In my app iam using web view with URL:@http://www.gmail.com/. This web view was loaded
How can I know that some text contain http://www. I want to show domain
I have some URL that contains special characters. For example: http://www.example.com/bléèàû.html If you type
Example: http://www.whois.net/whois/hotmail.com When open in browser, output is shown. When using curl call, it
I want to perform a redirection like this: http://www.example.com/something1 http://www.example.com/something2 http://www.example.com/something3 to http://www.example.com/something1.aspx http://www.example.com/folder/something2.pdf
I have a website like www.example.com , I want to redirect each hit to

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.