Hi, i want to create alias link with symbolic link...
I want to add /superadmin link to the url to go to the admin page...
So, if someone go to www.mysite.com/superadmin... it will load the website from /public_html... it just give other template... for /superadmin... i have created php to check the link and give the template for the page /superadmin
But i am failed when creating symbolic link.. when i go to /superadmin.. it give my page not found :(
Please tell me the way :)
Thanks
Create Symbolic link
Started by cakka, Feb 21 2009 05:53 AM
2 replies to this topic
#1
Posted 21 February 2009 - 05:53 AM
|
|
|
#2
Posted 21 February 2009 - 07:02 AM
you need to add an .htaccess file to enable this behaviour, if you're using apache at least.
I'm not good at writing those though.
I'm not good at writing those though.
#3
Posted 24 February 2009 - 07:33 AM
edit your .htaccess file and add these lines.
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^superadmin$ /admin.php [L]
admin.php is the landing page, change it to where do you want your link to go
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^superadmin$ /admin.php [L]
admin.php is the landing page, change it to where do you want your link to go


Sign In
Create Account


Back to top









