Giter VIP home page Giter VIP logo

elgg-profile_friendlyurl's Introduction

Profile Friendly URL

Kévin Dunglas [email protected] - http://lapin-blanc.net - 2010 - GPL v2

Creates friendly URLs for user's profiles as subdomains. Ie: http://example.com/pg/profile/user will become http://user.example.com

Requirements

  • Access to the configuration of your DNS server
  • The Apache web server (either, you need to port the rewriting rules from the .htaccess file to the syntax supported by your web server)
  • PHP installed as module (as CGI, or with some restricting Apache configurations, you need to set the session.cookie_domain param of the php.ini file to something like ".yourdomain.com")

Install

  1. Add a wildcard entry to your DNS server. Every should point to the web server hosting the Elgg application. You can add a Bind entry like: *.example.com. 3600 IN CNAME 10 www.example.com.
  2. If you are using Apache virtual hosts, add every subdomains to the Elgg vhost like this: <VirtualHost *> ServerName example.com ServerAlias *.punxrezo.net [...]
  3. Backup then replace the .htaccess file in the your root Elgg directory by the htaccess-dist file of the plugin directory. Edit this new .htaccess file and replace all occurrences of "example.com" by something like "yourdomain.com".
  4. Enable the profile_friendlyurl plugin from the Elgg administration.
  5. In the plugin settings form set the domain name to use.

elgg-profile_friendlyurl's People

Stargazers

Anirup Dutta avatar

Watchers

Anirup Dutta avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.