Asif
Asif

Reputation: 99

removing sub directory from url, in socialengine

I have linux based server, my host is site.x64.me and I have installed socialengine in /www/social450 and in domain it shows like this site.x64.me/social450 I want to remove social450 sub directory name from URL please help.

Upvotes: 1

Views: 242

Answers (1)

anubhava
anubhava

Reputation: 785531

You can try this rule in your DOCUMENT_ROOT/.htaccess file:

RewriteEngine On

RewriteRule !^social450/ /social450%{REQUEST_URI} [L,NC]

Upvotes: 1

Related Questions