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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T07:38:20+00:00 2026-06-12T07:38:20+00:00

Currently on my website when a user logs it it shows www.domain.com/userHome.php and I

  • 0

Currently on my website when a user logs it it shows www.domain.com/userHome.php and I want it to just show www.domain.com so I can have a cleaner url for the user to see.

I had trouble figuring out how to get the url rewrite to just chomp off the end in the address bar. I was following a tutorial here, and decided to try this in my .htaccess file to see if I could get any rewrite working.

RewriteEngine on
RewriteRule ^userHome.php$ /hello.html

when I tried this I was expecting to see http://www.domain.com/hello.html instead of www.domain.com/userHome.php which isn’t exactly what i wanted but I am trying to take baby steps as I learn this.

Unfortunetley when I tried this I just got a page not found error when I went to www.domain.com/userHome.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-12T07:38:21+00:00Added an answer on June 12, 2026 at 7:38 am

    Try:

    RewriteRule ^hello\.html$  userHome.php [L]
    

    Then try to access: http://www.domain.com/hello.html

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

Sidebar

Related Questions

Currently i have url parameters like this http://www.website.com/index.php?user&page=edit And in index.php i have set
Currently on my website visitors can directly access different posts by going to www.mywebsite.com/index.php?post=123,
I have currently a website which lets every user register, but I want to
I'm currently building a website with Django and want to host user bio style
Currently, the user can enter a quantity less than $1 on Paypal's website and
I have a PHP / Javascript page that automatically logs a user into different
When a user logs in on our website, I want to change the session
I am implementing an e-commerce website in core PHP. Currently, if a guest user
We currently have a website that has user account functionality, but we are looking
I have a website that user have to loggin to. I want to use

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.