Questions tagged [vanity-url]

Vanity urls generally refers to those which are devoid of characters like %,&, and extensions like .html,.php, .asp etc and are "human-readable". it normally helps to maintain a proper hierarchy separated by slashes. For example, www.sourcepoint.tk/articles/category/general/ is one such url. it makes any one understand what the page has - Articles categorised under General category.

76 questions
2
votes
1 answer

Vanity profile URL in ASP.net

I am creating an application in ASP.net where each user will have their own profile that they can share with others. the default address for their profile will be: www.domain.com/User/Profile/[UserID] when they specify a vanity URL, someone can…
Alex
  • 1,042
  • 3
  • 13
  • 32
1
vote
1 answer

How do I map path components into query parameters using mod_rewrite?

How would I change this: http://www.mattvisk.com/?page=portfolio&item=rae To this: http://www.mattvisk.com/portfolio/rae
Matt Visk
  • 11
  • 2
1
vote
2 answers

How-to? Vanity URL & ignore .PHP extension with .htaccess

I've got the following .htaccess working perfectly: RewriteEngine on RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule .* - [L] RewriteRule ^(.*)$ http://www.mysite.com/mypage.php?u=$1 [NC] This will allow me to…
Phobox
  • 143
  • 2
  • 11
1
vote
1 answer

Vanity URL for App profile

I really need your help here, I'm searching for soltion for so long. I have an App and I want its profile page to get a vanity URL: facebook.com/myappname . Now I navigate to https://www.facebook.com/username , but I can't see my App profiles on the…
ofirson
  • 31
  • 2
1
vote
1 answer

Rails 5 - Create vanity route for each instance of model

I know there has to be a cleaner way of doing this but I haven't written code in a while and am drawing a blank. I have a model called Link that has a Title, Slug and Destination. Destination is the location to redirect (mydomain.com/instagram…
Josiah Palmer
  • 151
  • 1
  • 17
1
vote
1 answer

Vanity URLs with Playframework

I would like to create Vanity URLs for web application built ontop of Playframework. I have tried to add a parameter for index method in main page Application, this will work if i call http://localhost:9000/?vanity_url and not for…
n002213f
  • 7,805
  • 13
  • 69
  • 105
1
vote
1 answer

Vanity URLs with .htaccess

I need to implement vanity urls and this is my .htaccess file # check if mod_rewrite is present #turns it on RewriteEngine on #if the requested url isn't a file or a dir RewriteCond %{REQUEST_FILENAME} !-f …
lubilis
  • 3,942
  • 4
  • 31
  • 54
1
vote
0 answers

How do sites like Facebook ensure vanity URLs don't conflict with internal pages/folders?

Sites like FB offer you a shallow "vanity" URL of your choice to give out to people like facebook.com/examplestore But because its so shallow in depth, it could easily conflict with internal pages. For example if I register the vanity URL of…
volume one
  • 6,800
  • 13
  • 67
  • 146
1
vote
1 answer

Can a multilingual Sitecore 6 web page have an alias for each language?

Can a multilingual Sitecore 6 content pagehave an alias for each language? It appears that I can only add one per content page. For instance, labour_market_survey.html has an english page and a french…
1
vote
1 answer

AEM - Dispatcher 4.1.9 vanity url feature not pulling Publisher vanity url package (VanityURLS-Components), list

I currently have a client that is using AEM 6.0. As they have some URL's that are lengthy they have been looking for a solution to shorten them without editing a virtual host file and adding redirects to the virtual host (they do not have the proper…
nabello
  • 716
  • 11
  • 29
1
vote
1 answer

How to create a vanity url

I would like to know how to create a vanity url for a website. Ideally I would like to be able to put this on a flyer: www.charity.org.uk/monthlydonation and when that is entered, it will go off…
Johnny
  • 553
  • 1
  • 10
  • 27
1
vote
2 answers

vanity profile urls in php mvc not working

I am making a social networking site where I have created my own PHP mvc but I am having problems in url rewriting. My mvc works this way. If this is the domain www.example.com/manage/posts/11111 , manage is the class, post is the method in that…
1
vote
1 answer

.htaccess vanity URLs - rewrite multiple GETs within subfolder

I've been trying to rewrite URLs within a subfolder, but without success. Nothing simply happens - no URL is rewritten at all. Please help! I want this: www.example.com/fruits/?fruitName=apples&mode=buy ...to become…
Marcus Edensky
  • 924
  • 3
  • 13
  • 33
1
vote
2 answers

How can I use more than ONE vanity URL?

So I already have a vanity URL on my site for average users profiles... basecentre.co.uk/user1 this redirects users to basecentre.co.uk/userprofile.php?username=user1 using the code below... RewriteEngine On RewriteCond…
BaseCentre
  • 11
  • 1
1
vote
0 answers

3 different vanity URL with php

I would like that my website to be able to use vanity URLs. There are 3 diffent types: 1) username - http://www.example.com/username --- it works fine 2) ignore php -extensionless url - it always works fine 3) vanity url 3) postal code and username…