python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to Rewrite urls if not ends with language id or country id in .htaccess
How to Rewrite urls if not ends with language id or country id in .htaccess
in my case i want redirect links not ends with
home/(en | fr| ar)/(us| ma |ae | sa )
for exemple :
https://exemple.com/hom...
jimi-del
Votes: 0
Answers: 1
htaccess don't use index.html to send everything else to wordpress
I had a site completely run in wordpress. Made a new site from scratch and saved it to index.html. I made the htaccess file work for sending all other urls to the wordpress. The only problem is that I...
Scot Nery
Votes: 0
Answers: 1
How to redirect to HTTPS in htaccess file in my framework setup?
I've built a php website working all fine with all the redirects except for http:// versions.
So I'm trying to edit my main .htaccess file to prevent http:// showing the error "NOT SECURE", ...
Omer
Votes: 0
Answers: 1
.htaccess check header and domain conditions as chain
Sorry this might be an easy one.
I'd like to check if both matches. The value of my header and the HTTP_REFERER
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?alloweddomain.com [NC]...
toni
Votes: 0
Answers: 1