Questions tagged [url-masking]
114 questions
-1
votes
1 answer
How to mask url in .htaccess file
I would like the following to happen:
When a visitor types an incorrect URL on my website, I would like it to redirect the visitor to a custom error page that I made. However I want the URL to show www.example.com while the error page itself might…

Venkat Krishnan
- 1
- 2
-1
votes
1 answer
Two different URLs pointing to the same page
Let say I have URL like http://www.example.com/pages/process-one.html, I want to add an entry in .htaccess that will let me visit the same page using the URL https://www.example.com/process/process-one.html - so people will use "process" instead of…

Eric Libay
- 101
- 8
-1
votes
1 answer
changing the short url into expanded url using html or javascript?
how the url masking is done through html and javascript?
I have the address like https://stackoverflow.com/ then how that address redirect to https://stackoverflow.com/question/ask.

user
- 1
- 4
-1
votes
3 answers
Can anyone suggest how to use OOP in PHP based on URL?
I am tired of making script based on pages and all. I do not want to do stuffs old ways. I want to learn OOP based on url. I know how to use .htacces for url masking and rewrite rule. But the thing is that when I forwarded all queries to a PHP page,…

viral4ever
- 285
- 3
- 15
-1
votes
1 answer
rewrite rule with .htaccess to mask url
My present url structure :
domain.com/items/view/5
domain.com/user/view/5
domain.com/user/edit/5
Now i don't want users to directly know the 'id' in the url, as they can directly fire a query from the address bar.
Hence i want to mask the url to…

Bhaumik Kothari
- 33
- 1
- 7
-2
votes
1 answer
How to mask external download links in all posts and restrict to members?
How to mask external download links as internal links and to be only accessible by logged-in users? And even logged-in members shouldn't see the external download site domain if they logged-in and looked at posts. It should be masked for everyone.…

maxwassim
- 9
- 7
-2
votes
1 answer
if a website URL does not contain any language code then do something
ASP.Net C# newbie here. I am looking for suggestions upon constructing a condition to validate if a website URL do not contain any ISO language code or regional sub-directory e.g. /us-en, /ae-en, /gb-en, etc. using regular expression.
Sample website…

hotcheesepotato
- 11
- 6
-2
votes
1 answer
How to mask url having many sub directories and files?
Am having an website with many directories and files. I just want to hide all the sub directories name and file names like https://example.com/folder_01/file.php to https://example.com. I could able to hide a single folder name using rewrite rule in…

Jebes Bless
- 21
- 2
-4
votes
3 answers
I've made a shorten url website. But the thing is not working that i can't include a file. It works and redirects if i go directly using url
I've made a shorten url website. But the thing is not working. I can't include a file. It works and redirects if I go directly using a url.
my handler page code is

viral4ever
- 285
- 3
- 15