Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

.htaccess Help

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Watch

Dan

Buy my domains.VIP Member
Impact
108
I don't know how to code this, and I know it would be really easy if you do.

I need an .htaccess that redirects people to the homepage if they were sent to another file on the site by a site that isn't the same one.

(site.com links to mysite.com/page.php, but the user is redirected to mysite.com)

Thanks :)
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
1
Close
Thanks. I had to mess with it a lot to make it work, but I got it.
 
0
Close
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

New: watch any domain
You can now watch domains on NamePros. We check each one and notify you when something changes. Search for a domain and press Watch on...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back