CodeLearner20
CodeLearner20

Reputation: 83

how to make clean url using htaccess for subdomain

for e.g. my domain is www.examples.com and subdomain is test2.examples.com I am using url variable to link pages. e.g.test2.examples.com/index.php?page=registers but I want clean url like test2.examples.com/page/registers

How can I do this using HTACCESS file. can I use HTACCESS for subdomain or it will not allow

Upvotes: 0

Views: 367

Answers (1)

Oussama Jilal
Oussama Jilal

Reputation: 7739

You are looking for URL Rewriting, it will answer all your needs., see this URL Rewriting Guide

Upvotes: -1

Related Questions