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
11
votes
1 answer

Internal Redirects with Rails 3

I am trying to implement a generic vanity url system in Rails 3. Generic in the sense that the vanity url isn't tied to a specific model. It is similar to the Vanities gem where I have a VanityUrlController that is hit from all the vanity urls. The…
HMCFletch
  • 1,046
  • 1
  • 10
  • 19
7
votes
1 answer

Sling:alias vs vanityUrl in AEM

what is the main difference between vanity url and sling:alias? as per docs : here sling:alias – The property may be set on any resource to indicate an alias name for the resource. For example the resource /content/visitors may have the sling:alias…
Manan Kapoor
  • 675
  • 1
  • 11
  • 28
4
votes
2 answers

Link App Profile Page With App

We recently accidently deleted the connection between the vanity URL page and our App Profile page; by doing so, the "Go To App" button was also removed from the App Profile page. Questions: Is there a way to display the "Go To App" Button on the…
3
votes
4 answers

Create vanity URLs in a LAMP configuration

What is the best way to create user vanity URLs under a LAMP configuration? For example, a user profile page could be accessed as follows: http://www.website.com/profile.php?id=1 Now, if a user enters a "vanity URL" for their profile I would want…
Tom
  • 4,467
  • 17
  • 59
  • 91
3
votes
1 answer

Rails url needing posts/:id/the-name-of-post

I would like my rails url to look like: /posts/345/the-great-concept when i use the following in my posts model, def to_param "#{id}/#{name.parameterize.downcase}" end the urls look great upon mousover in the browser. and function correctly.…
dnewman
  • 275
  • 3
  • 11
3
votes
2 answers

How can I create a persistent vanity URL in DotNetNuke?

I'm not aware of a solution for implementing custom persistent vanity URLs (my term, not sure if thats what they're really called) in DotNetNuke. Does anyone know of a solution? It can be configuring the core, using a third party module, or a…
Ian Robinson
  • 16,892
  • 8
  • 47
  • 61
3
votes
1 answer

Wildcard subdomain for some but not all values on DNSimple

I have an app that is roughly fractured between a server serving front end and one serving an API. We'd like to add a wildcard to catch usernames on the subdomain and direct those to the front end server. So my URLs map like so: Server that serves…
Tyler
  • 11,272
  • 9
  • 65
  • 105
3
votes
1 answer

Show and hide content from a vanity url

Ok I have a blog in php and mysql. I want to open the url in a div with show and hide javascript functions. Works fine with the rest of divs but the problem is when I click on a vanity url my web is always updated. I have a function that format this…
2
votes
1 answer

Rails Vanity URLs for multiple models

I need to setup vanity urls for some models in my application, basically it's a product catalogue and I have Store, Brand and Category models. What I need here is setting up username like URLs for all these 3 models, so the routes should appear like…
randika
  • 1,519
  • 3
  • 18
  • 39
2
votes
1 answer

What should I do to make the pretty URLs using .htaccess for my specific scenario?

Here's my full case: mvcframework directory inside /var/www/html/ dir. mvcframework contains a public dir with index.php acting as a frontloader. I am creating a .htaccess file inside public directory with following code:
2
votes
1 answer

How to implement vanity URLs in a legacy Flask app?

I'm facing a problem where I need to redirect or replace existing URLs in a legacy Flask app to a more "vanity" URL scheme. For instance: www.example.org/camp -> really points to https://example.org/connect/rally_camps/register While I managed to…
AlejandroVK
  • 7,373
  • 13
  • 54
  • 77
2
votes
4 answers

Vanity URLs without trailing slashes on Apache

The code below rewrites all URLs in the /profiles/ directory on our site from example.com/profiles/name/ to example.com/name/, but we'd also like to remove the trailing slashes to further simplify the resulting URLs to the prettier example.com/name…
haadaa
  • 87
  • 11
2
votes
2 answers

Issue in execution order with RewriteRules

Due to marketing reasons, I'm using some vanity URL's for friendlier access, and to track some campaigns. Unfortunately, I'm stuck on a managed dedicated server, with cPanel, and these were the steps I took to write my rules: First, I added xyz.com…
Alex
  • 7,538
  • 23
  • 84
  • 152
2
votes
1 answer

Check vanitygen generated addresses locally?

First of all, I'm aware of the vast, vast keyspace of bitcoin addresses. However, I've been experimenting with Vanitygen these days and I was wondering if all the generated addresses in it were directly ported to a local server running the compiled…
user4215685
2
votes
1 answer

.htaccess username url unless directory exists

I currently have the following code in place to give users their own URL for their username: RewriteEngine On RewriteRule ^([a-zA-Z0-9_-]+)$ profile.php?username=$1 RewriteRule ^([a-zA-Z0-9_-]+)/$ profile.php?username=$1 However, any existing…
Frank
  • 1,844
  • 8
  • 29
  • 44
1
2 3 4 5 6