Funky Penguin Forums
  Thread Tools Linear ModeHybrid ModeThreaded Mode
davidy's Avatar
davidy
 
Join Date: Jul 2006
Send a message via MSN to davidy Send a message via Skype™ to davidy
Changing the domain / path in SEFURLs, Posted 07-27-2006, 03:41 PM Quote
This is in response to Prachait's request, duplicated here:

Kindly write about, from where we can change the url from www.domain.com to www.domain.com/online

Hi Prachait

I haven't tried this (since I no longer run a Tiki site), but the following should work for you:

First of all, add the "RewriteBase" command to the top of your .htaccess, just below the "RewriteEngine On" line:

Code:
RewriteEngine On
RewriteBase /online/
Then for every rule in .htaccess, change the path on the right hand side to reflect your new path, like so

/tiki-view_articles.php

Becomes:

/online/tiki-view_articles.php

That's it
Let me know if it works?

David
David Young
Solution Provider

Funky Penguin
Blog: The Raw Penguin
Thread Tools
Show Printable Version Show Printable Version   Email this Page Email this Page  
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off